diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-01-23 14:11:07 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-23 14:11:07 -0500 |
commit | 4d0dddb10723cee2b3048bd2389673703bc228e4 (patch) | |
tree | aea4b467e131d9c1080021840b9884629037d534 /drivers | |
parent | c835ac24e2e3d5de7fff0620949b61228048e27b (diff) |
V4L/DVB (3419): added some VBI macros and moved minor definitions to header file
- Moved some hardcoded minor numbers to videodev2.h
- Included more comments for sliced VBI standards
- Included some VBI macros to group similar standards
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/videodev.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c index 078880e4c8c0..908fbec776ac 100644 --- a/drivers/media/video/videodev.c +++ b/drivers/media/video/videodev.c | |||
@@ -279,23 +279,23 @@ int video_register_device(struct video_device *vfd, int type, int nr) | |||
279 | switch(type) | 279 | switch(type) |
280 | { | 280 | { |
281 | case VFL_TYPE_GRABBER: | 281 | case VFL_TYPE_GRABBER: |
282 | base=0; | 282 | base=MINOR_VFL_TYPE_GRABBER_MIN; |
283 | end=64; | 283 | end=MINOR_VFL_TYPE_GRABBER_MAX+1; |
284 | name_base = "video"; | 284 | name_base = "video"; |
285 | break; | 285 | break; |
286 | case VFL_TYPE_VTX: | 286 | case VFL_TYPE_VTX: |
287 | base=192; | 287 | base=MINOR_VFL_TYPE_VTX_MIN; |
288 | end=224; | 288 | end=MINOR_VFL_TYPE_VTX_MAX+1; |
289 | name_base = "vtx"; | 289 | name_base = "vtx"; |
290 | break; | 290 | break; |
291 | case VFL_TYPE_VBI: | 291 | case VFL_TYPE_VBI: |
292 | base=224; | 292 | base=MINOR_VFL_TYPE_VBI_MIN; |
293 | end=256; | 293 | end=MINOR_VFL_TYPE_VBI_MAX+1; |
294 | name_base = "vbi"; | 294 | name_base = "vbi"; |
295 | break; | 295 | break; |
296 | case VFL_TYPE_RADIO: | 296 | case VFL_TYPE_RADIO: |
297 | base=64; | 297 | base=MINOR_VFL_TYPE_RADIO_MIN; |
298 | end=128; | 298 | end=MINOR_VFL_TYPE_RADIO_MAX+1; |
299 | name_base = "radio"; | 299 | name_base = "radio"; |
300 | break; | 300 | break; |
301 | default: | 301 | default: |