dvbdev fixes ( /dev/dvb/adapter0demux0 -> /dev/dvb/adapter0/demux0

dvbdev fixes ( /dev/dvb/adapter0demux0 -> /dev/dvb/adapter0/demux0

Post by Monchi Abba » Thu, 08 May 2003 11:30:17



I found a mistake in the dvbdev.c file when creating the dvb /devfs files, it created /dev/dvb/adapter0device0 instead of /dev/dvb/adapter0/device0. But here is a simple fix.

Monchi.

  patch-dvbdev.diff
< 1K Download
 
 
 

dvbdev fixes ( /dev/dvb/adapter0demux0 -> /dev/dvb/adapter0/demux0

Post by Christoph Hellwi » Thu, 08 May 2003 11:40:21



> I found a mistake in the dvbdev.c file when creating the dvb /devfs files, it created /dev/dvb/adapter0device0 instead of /dev/dvb/adapter0/device0. But here is a simple fix.

Ooops, that was my typo.  Fix looks good, thanks a lot for spotting this.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. compile fix for drivers/media/dvb/dvb-core/dvbdev.c

Patch below fixes following compile breakage:

  gcc -Wp,-MD,drivers/media/dvb/dvb-core/.dvbdev.o.d -D__KERNEL__
-Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix
include    -DKBUILD_BASENAME=dvbdev -DKBUILD_MODNAME=dvb_core -c -o
drivers/media/dvb/dvb-core/.tmp_dvbdev.o
drivers/media/dvb/dvb-core/dvbdev.c
drivers/media/dvb/dvb-core/dvbdev.c:114:2: #endif without #if
make[4]: *** [drivers/media/dvb/dvb-core/dvbdev.o] Error 1
make[3]: *** [drivers/media/dvb/dvb-core] Error 2
make[2]: *** [drivers/media/dvb] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

John Kim

diff -Nau linux-2.5.65-bk3/drivers/media/dvb/dvb-core/dvbdev.c
linux-2.5.65-bk3-new/drivers/media/dvb/dvb-core/dvbdev.c
--- linux-2.5.65-bk3/drivers/media/dvb/dvb-core/dvbdev.c        2003-03-22 08:21:27.000000000 -0500

        .owner =        THIS_MODULE,
        .open =         dvb_device_open,
 };
-#endif /* CONFIG_DVB_DEVFS_ONLY */
-

 int dvb_generic_open(struct inode *inode, struct file *file)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Programmable clocks on S3 video cards

3. [0-11] Update dvb-subsystem, dvb-drivers

4. Ghostscript driver for Canon LBP-4i printer ?

5. >/dev/msglog 2<>/dev/msglog </dev/console

6. boot problems

7. Decent Font Support?

8. HELP: 2>&1 > /dev/null != 2>&- > /dev/null ???

9. What is the difference between /dev/sg0, /dev/scd0 /dev/hdd and /dev/cdrom ?

10. /dev/dsp, /dev/audio, /dev/midi., /dev/sndsta

11. dev_tint, dev->family, dev->pa_* removed when?

12. What is the difference between /dev/ttyS3, /dev/cua3, and /dev/ttys3 ?