Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * |
| 3 | * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 18 | */ |
| 19 | |
| 20 | #include <linux/init.h> |
| 21 | #include <linux/list.h> |
| 22 | #include <linux/module.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | #include <linux/kernel.h> |
| 24 | #include <linux/slab.h> |
| 25 | #include <linux/delay.h> |
| 26 | |
| 27 | #include "saa7134-reg.h" |
| 28 | #include "saa7134.h" |
| 29 | |
| 30 | #include <media/saa6752hs.h> |
Michael Krufky | 5e453dc | 2006-01-09 15:32:31 -0200 | [diff] [blame] | 31 | #include <media/v4l2-common.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | |
| 33 | /* ------------------------------------------------------------------ */ |
| 34 | |
| 35 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
| 36 | MODULE_LICENSE("GPL"); |
| 37 | |
| 38 | static unsigned int empress_nr[] = {[0 ... (SAA7134_MAXBOARDS - 1)] = UNSET }; |
Mauro Carvalho Chehab | 674434c | 2005-12-12 00:37:28 -0800 | [diff] [blame] | 39 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | module_param_array(empress_nr, int, NULL, 0444); |
| 41 | MODULE_PARM_DESC(empress_nr,"ts device number"); |
| 42 | |
| 43 | static unsigned int debug = 0; |
| 44 | module_param(debug, int, 0644); |
| 45 | MODULE_PARM_DESC(debug,"enable debug messages"); |
| 46 | |
| 47 | #define dprintk(fmt, arg...) if (debug) \ |
| 48 | printk(KERN_DEBUG "%s/empress: " fmt, dev->name , ## arg) |
| 49 | |
| 50 | /* ------------------------------------------------------------------ */ |
| 51 | |
| 52 | static void ts_reset_encoder(struct saa7134_dev* dev) |
| 53 | { |
| 54 | if (!dev->empress_started) |
| 55 | return; |
| 56 | |
| 57 | saa_writeb(SAA7134_SPECIAL_MODE, 0x00); |
| 58 | msleep(10); |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 59 | saa_writeb(SAA7134_SPECIAL_MODE, 0x01); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | msleep(100); |
| 61 | dev->empress_started = 0; |
| 62 | } |
| 63 | |
| 64 | static int ts_init_encoder(struct saa7134_dev* dev) |
| 65 | { |
Hans Verkuil | 86b79d66 | 2006-06-18 16:40:10 -0300 | [diff] [blame] | 66 | struct v4l2_ext_controls ctrls = { V4L2_CTRL_CLASS_MPEG, 0 }; |
| 67 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 68 | ts_reset_encoder(dev); |
Hans Verkuil | 86b79d66 | 2006-06-18 16:40:10 -0300 | [diff] [blame] | 69 | saa7134_i2c_call_clients(dev, VIDIOC_S_EXT_CTRLS, &ctrls); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 70 | dev->empress_started = 1; |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 71 | return 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | /* ------------------------------------------------------------------ */ |
| 75 | |
| 76 | static int ts_open(struct inode *inode, struct file *file) |
| 77 | { |
| 78 | int minor = iminor(inode); |
Trent Piepho | 6d28e98 | 2007-10-10 05:37:42 -0300 | [diff] [blame] | 79 | struct saa7134_dev *dev; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | int err; |
| 81 | |
Trent Piepho | 6d28e98 | 2007-10-10 05:37:42 -0300 | [diff] [blame] | 82 | list_for_each_entry(dev, &saa7134_devlist, devlist) |
| 83 | if (dev->empress_dev && dev->empress_dev->minor == minor) |
| 84 | goto found; |
| 85 | return -ENODEV; |
| 86 | found: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 87 | |
| 88 | dprintk("open minor=%d\n",minor); |
| 89 | err = -EBUSY; |
Ingo Molnar | 3593cab | 2006-02-07 06:49:14 -0200 | [diff] [blame] | 90 | if (!mutex_trylock(&dev->empress_tsq.lock)) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 91 | goto done; |
| 92 | if (dev->empress_users) |
| 93 | goto done_up; |
| 94 | |
Rafael Bilski | b784e52 | 2007-06-20 05:37:27 -0300 | [diff] [blame] | 95 | /* Unmute audio */ |
| 96 | saa_writeb(SAA7134_AUDIO_MUTE_CTRL, |
| 97 | saa_readb(SAA7134_AUDIO_MUTE_CTRL) & ~(1 << 6)); |
| 98 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 99 | dev->empress_users++; |
| 100 | file->private_data = dev; |
| 101 | err = 0; |
| 102 | |
| 103 | done_up: |
Ingo Molnar | 3593cab | 2006-02-07 06:49:14 -0200 | [diff] [blame] | 104 | mutex_unlock(&dev->empress_tsq.lock); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 105 | done: |
| 106 | return err; |
| 107 | } |
| 108 | |
| 109 | static int ts_release(struct inode *inode, struct file *file) |
| 110 | { |
| 111 | struct saa7134_dev *dev = file->private_data; |
| 112 | |
Ingo Molnar | 3593cab | 2006-02-07 06:49:14 -0200 | [diff] [blame] | 113 | mutex_lock(&dev->empress_tsq.lock); |
Brandon Philips | 053fcb6 | 2007-11-13 20:11:26 -0300 | [diff] [blame^] | 114 | videobuf_stop(&dev->empress_tsq); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 115 | videobuf_mmap_free(&dev->empress_tsq); |
| 116 | dev->empress_users--; |
| 117 | |
| 118 | /* stop the encoder */ |
| 119 | ts_reset_encoder(dev); |
| 120 | |
Rafael Bilski | b784e52 | 2007-06-20 05:37:27 -0300 | [diff] [blame] | 121 | /* Mute audio */ |
| 122 | saa_writeb(SAA7134_AUDIO_MUTE_CTRL, |
| 123 | saa_readb(SAA7134_AUDIO_MUTE_CTRL) | (1 << 6)); |
| 124 | |
Ingo Molnar | 3593cab | 2006-02-07 06:49:14 -0200 | [diff] [blame] | 125 | mutex_unlock(&dev->empress_tsq.lock); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 126 | return 0; |
| 127 | } |
| 128 | |
| 129 | static ssize_t |
| 130 | ts_read(struct file *file, char __user *data, size_t count, loff_t *ppos) |
| 131 | { |
| 132 | struct saa7134_dev *dev = file->private_data; |
| 133 | |
| 134 | if (!dev->empress_started) |
| 135 | ts_init_encoder(dev); |
| 136 | |
| 137 | return videobuf_read_stream(&dev->empress_tsq, |
| 138 | data, count, ppos, 0, |
| 139 | file->f_flags & O_NONBLOCK); |
| 140 | } |
| 141 | |
| 142 | static unsigned int |
| 143 | ts_poll(struct file *file, struct poll_table_struct *wait) |
| 144 | { |
| 145 | struct saa7134_dev *dev = file->private_data; |
| 146 | |
| 147 | return videobuf_poll_stream(file, &dev->empress_tsq, wait); |
| 148 | } |
| 149 | |
| 150 | |
| 151 | static int |
| 152 | ts_mmap(struct file *file, struct vm_area_struct * vma) |
| 153 | { |
| 154 | struct saa7134_dev *dev = file->private_data; |
| 155 | |
| 156 | return videobuf_mmap_mapper(&dev->empress_tsq, vma); |
| 157 | } |
| 158 | |
| 159 | /* |
| 160 | * This function is _not_ called directly, but from |
| 161 | * video_generic_ioctl (and maybe others). userspace |
| 162 | * copying is done already, arg is a kernel pointer. |
| 163 | */ |
| 164 | static int ts_do_ioctl(struct inode *inode, struct file *file, |
| 165 | unsigned int cmd, void *arg) |
| 166 | { |
| 167 | struct saa7134_dev *dev = file->private_data; |
Hans Verkuil | 86b79d66 | 2006-06-18 16:40:10 -0300 | [diff] [blame] | 168 | struct v4l2_ext_controls *ctrls = arg; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 169 | |
| 170 | if (debug > 1) |
Michael Krufky | 5e453dc | 2006-01-09 15:32:31 -0200 | [diff] [blame] | 171 | v4l_print_ioctl(dev->name,cmd); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 172 | switch (cmd) { |
| 173 | case VIDIOC_QUERYCAP: |
| 174 | { |
| 175 | struct v4l2_capability *cap = arg; |
| 176 | |
| 177 | memset(cap,0,sizeof(*cap)); |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 178 | strcpy(cap->driver, "saa7134"); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 179 | strlcpy(cap->card, saa7134_boards[dev->board].name, |
| 180 | sizeof(cap->card)); |
| 181 | sprintf(cap->bus_info,"PCI:%s",pci_name(dev->pci)); |
| 182 | cap->version = SAA7134_VERSION_CODE; |
| 183 | cap->capabilities = |
| 184 | V4L2_CAP_VIDEO_CAPTURE | |
| 185 | V4L2_CAP_READWRITE | |
| 186 | V4L2_CAP_STREAMING; |
| 187 | return 0; |
| 188 | } |
| 189 | |
| 190 | /* --- input switching --------------------------------------- */ |
| 191 | case VIDIOC_ENUMINPUT: |
| 192 | { |
| 193 | struct v4l2_input *i = arg; |
| 194 | |
| 195 | if (i->index != 0) |
| 196 | return -EINVAL; |
| 197 | i->type = V4L2_INPUT_TYPE_CAMERA; |
| 198 | strcpy(i->name,"CCIR656"); |
| 199 | return 0; |
| 200 | } |
| 201 | case VIDIOC_G_INPUT: |
| 202 | { |
| 203 | int *i = arg; |
| 204 | *i = 0; |
| 205 | return 0; |
| 206 | } |
| 207 | case VIDIOC_S_INPUT: |
| 208 | { |
| 209 | int *i = arg; |
| 210 | |
| 211 | if (*i != 0) |
| 212 | return -EINVAL; |
| 213 | return 0; |
| 214 | } |
| 215 | /* --- capture ioctls ---------------------------------------- */ |
| 216 | |
| 217 | case VIDIOC_ENUM_FMT: |
| 218 | { |
| 219 | struct v4l2_fmtdesc *f = arg; |
| 220 | int index; |
| 221 | |
| 222 | index = f->index; |
| 223 | if (index != 0) |
| 224 | return -EINVAL; |
| 225 | |
| 226 | memset(f,0,sizeof(*f)); |
| 227 | f->index = index; |
| 228 | strlcpy(f->description, "MPEG TS", sizeof(f->description)); |
| 229 | f->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; |
| 230 | f->pixelformat = V4L2_PIX_FMT_MPEG; |
| 231 | return 0; |
| 232 | } |
| 233 | |
| 234 | case VIDIOC_G_FMT: |
| 235 | { |
| 236 | struct v4l2_format *f = arg; |
| 237 | |
| 238 | memset(f,0,sizeof(*f)); |
| 239 | f->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; |
| 240 | |
Frederic CAND | 0a4c9c9 | 2005-05-05 16:15:52 -0700 | [diff] [blame] | 241 | saa7134_i2c_call_clients(dev, cmd, arg); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 242 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; |
| 243 | f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; |
| 244 | return 0; |
| 245 | } |
| 246 | |
| 247 | case VIDIOC_S_FMT: |
| 248 | { |
| 249 | struct v4l2_format *f = arg; |
| 250 | |
| 251 | if (f->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) |
| 252 | return -EINVAL; |
| 253 | |
Frederic CAND | 0a4c9c9 | 2005-05-05 16:15:52 -0700 | [diff] [blame] | 254 | saa7134_i2c_call_clients(dev, cmd, arg); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 255 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; |
| 256 | f->fmt.pix.sizeimage = TS_PACKET_SIZE* dev->ts.nr_packets; |
| 257 | return 0; |
| 258 | } |
| 259 | |
| 260 | case VIDIOC_REQBUFS: |
| 261 | return videobuf_reqbufs(&dev->empress_tsq,arg); |
| 262 | |
| 263 | case VIDIOC_QUERYBUF: |
| 264 | return videobuf_querybuf(&dev->empress_tsq,arg); |
| 265 | |
| 266 | case VIDIOC_QBUF: |
| 267 | return videobuf_qbuf(&dev->empress_tsq,arg); |
| 268 | |
| 269 | case VIDIOC_DQBUF: |
| 270 | return videobuf_dqbuf(&dev->empress_tsq,arg, |
| 271 | file->f_flags & O_NONBLOCK); |
| 272 | |
| 273 | case VIDIOC_STREAMON: |
| 274 | return videobuf_streamon(&dev->empress_tsq); |
| 275 | |
| 276 | case VIDIOC_STREAMOFF: |
| 277 | return videobuf_streamoff(&dev->empress_tsq); |
| 278 | |
| 279 | case VIDIOC_QUERYCTRL: |
| 280 | case VIDIOC_G_CTRL: |
| 281 | case VIDIOC_S_CTRL: |
| 282 | return saa7134_common_ioctl(dev, cmd, arg); |
| 283 | |
Hans Verkuil | 86b79d66 | 2006-06-18 16:40:10 -0300 | [diff] [blame] | 284 | case VIDIOC_S_EXT_CTRLS: |
| 285 | /* count == 0 is abused in saa6752hs.c, so that special |
| 286 | case is handled here explicitly. */ |
| 287 | if (ctrls->count == 0) |
| 288 | return 0; |
| 289 | if (ctrls->ctrl_class != V4L2_CTRL_CLASS_MPEG) |
| 290 | return -EINVAL; |
| 291 | saa7134_i2c_call_clients(dev, VIDIOC_S_EXT_CTRLS, arg); |
| 292 | ts_init_encoder(dev); |
| 293 | return 0; |
| 294 | case VIDIOC_G_EXT_CTRLS: |
| 295 | if (ctrls->ctrl_class != V4L2_CTRL_CLASS_MPEG) |
| 296 | return -EINVAL; |
| 297 | saa7134_i2c_call_clients(dev, VIDIOC_G_EXT_CTRLS, arg); |
| 298 | return 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 299 | |
| 300 | default: |
| 301 | return -ENOIOCTLCMD; |
| 302 | } |
| 303 | return 0; |
| 304 | } |
| 305 | |
| 306 | static int ts_ioctl(struct inode *inode, struct file *file, |
| 307 | unsigned int cmd, unsigned long arg) |
| 308 | { |
| 309 | return video_usercopy(inode, file, cmd, arg, ts_do_ioctl); |
| 310 | } |
| 311 | |
Arjan van de Ven | fa027c2 | 2007-02-12 00:55:33 -0800 | [diff] [blame] | 312 | static const struct file_operations ts_fops = |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 313 | { |
| 314 | .owner = THIS_MODULE, |
| 315 | .open = ts_open, |
| 316 | .release = ts_release, |
| 317 | .read = ts_read, |
| 318 | .poll = ts_poll, |
| 319 | .mmap = ts_mmap, |
| 320 | .ioctl = ts_ioctl, |
| 321 | .llseek = no_llseek, |
| 322 | }; |
| 323 | |
| 324 | /* ----------------------------------------------------------- */ |
| 325 | |
| 326 | static struct video_device saa7134_empress_template = |
| 327 | { |
| 328 | .name = "saa7134-empress", |
| 329 | .type = 0 /* FIXME */, |
| 330 | .type2 = 0 /* FIXME */, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 331 | .fops = &ts_fops, |
| 332 | .minor = -1, |
| 333 | }; |
| 334 | |
David Howells | c402895 | 2006-11-22 14:57:56 +0000 | [diff] [blame] | 335 | static void empress_signal_update(struct work_struct *work) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 336 | { |
David Howells | c402895 | 2006-11-22 14:57:56 +0000 | [diff] [blame] | 337 | struct saa7134_dev* dev = |
| 338 | container_of(work, struct saa7134_dev, empress_workqueue); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 339 | |
| 340 | if (dev->nosignal) { |
| 341 | dprintk("no video signal\n"); |
| 342 | ts_reset_encoder(dev); |
| 343 | } else { |
| 344 | dprintk("video signal acquired\n"); |
| 345 | if (dev->empress_users) |
| 346 | ts_init_encoder(dev); |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | static void empress_signal_change(struct saa7134_dev *dev) |
| 351 | { |
| 352 | schedule_work(&dev->empress_workqueue); |
| 353 | } |
| 354 | |
| 355 | |
| 356 | static int empress_init(struct saa7134_dev *dev) |
| 357 | { |
| 358 | int err; |
| 359 | |
| 360 | dprintk("%s: %s\n",dev->name,__FUNCTION__); |
| 361 | dev->empress_dev = video_device_alloc(); |
| 362 | if (NULL == dev->empress_dev) |
| 363 | return -ENOMEM; |
| 364 | *(dev->empress_dev) = saa7134_empress_template; |
| 365 | dev->empress_dev->dev = &dev->pci->dev; |
| 366 | dev->empress_dev->release = video_device_release; |
| 367 | snprintf(dev->empress_dev->name, sizeof(dev->empress_dev->name), |
| 368 | "%s empress (%s)", dev->name, |
| 369 | saa7134_boards[dev->board].name); |
| 370 | |
David Howells | c402895 | 2006-11-22 14:57:56 +0000 | [diff] [blame] | 371 | INIT_WORK(&dev->empress_workqueue, empress_signal_update); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 372 | |
| 373 | err = video_register_device(dev->empress_dev,VFL_TYPE_GRABBER, |
| 374 | empress_nr[dev->nr]); |
| 375 | if (err < 0) { |
| 376 | printk(KERN_INFO "%s: can't register video device\n", |
| 377 | dev->name); |
| 378 | video_device_release(dev->empress_dev); |
| 379 | dev->empress_dev = NULL; |
| 380 | return err; |
| 381 | } |
| 382 | printk(KERN_INFO "%s: registered device video%d [mpeg]\n", |
| 383 | dev->name,dev->empress_dev->minor & 0x1f); |
| 384 | |
Mauro Carvalho Chehab | c1accaa | 2007-08-23 16:37:49 -0300 | [diff] [blame] | 385 | videobuf_queue_pci_init(&dev->empress_tsq, &saa7134_ts_qops, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 386 | dev->pci, &dev->slock, |
| 387 | V4L2_BUF_TYPE_VIDEO_CAPTURE, |
| 388 | V4L2_FIELD_ALTERNATE, |
| 389 | sizeof(struct saa7134_buf), |
| 390 | dev); |
| 391 | |
David Howells | c402895 | 2006-11-22 14:57:56 +0000 | [diff] [blame] | 392 | empress_signal_update(&dev->empress_workqueue); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 393 | return 0; |
| 394 | } |
| 395 | |
| 396 | static int empress_fini(struct saa7134_dev *dev) |
| 397 | { |
| 398 | dprintk("%s: %s\n",dev->name,__FUNCTION__); |
| 399 | |
| 400 | if (NULL == dev->empress_dev) |
| 401 | return 0; |
| 402 | flush_scheduled_work(); |
| 403 | video_unregister_device(dev->empress_dev); |
| 404 | dev->empress_dev = NULL; |
| 405 | return 0; |
| 406 | } |
| 407 | |
| 408 | static struct saa7134_mpeg_ops empress_ops = { |
| 409 | .type = SAA7134_MPEG_EMPRESS, |
| 410 | .init = empress_init, |
| 411 | .fini = empress_fini, |
| 412 | .signal_change = empress_signal_change, |
| 413 | }; |
| 414 | |
| 415 | static int __init empress_register(void) |
| 416 | { |
| 417 | return saa7134_ts_register(&empress_ops); |
| 418 | } |
| 419 | |
| 420 | static void __exit empress_unregister(void) |
| 421 | { |
| 422 | saa7134_ts_unregister(&empress_ops); |
| 423 | } |
| 424 | |
| 425 | module_init(empress_register); |
| 426 | module_exit(empress_unregister); |
| 427 | |
| 428 | /* ----------------------------------------------------------- */ |
| 429 | /* |
| 430 | * Local variables: |
| 431 | * c-basic-offset: 8 |
| 432 | * End: |
| 433 | */ |