--=_courier-22233-1052299391-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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.
--=_courier-22233-1052299391-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="patch-dvbdev.diff"
--- linux/drivers/media/dvb/dvb-core/dvbdev.c2 2003-05-05 01:53:07.000000000 +0200
+++ linux/drivers/media/dvb/dvb-core/dvbdev.c 2003-05-07 10:14:30.000000000 +0200
@@ -219,7 +219,7 @@
list_add_tail (&dvbdev->list_head, &adap->device_list);
- sprintf(name, "dvb/adapter%d%s%d", adap->num, dnames[type], id);
+ sprintf(name, "dvb/adapter%d/%s%d", adap->num, dnames[type], id);
devfs_register(NULL, name, 0, DVB_MAJOR, nums2minor(adap->num, type, id),
S_IFCHR | S_IRUSR | S_IWUSR, dvbdev->fops, dvbdev);
@@ -234,7 +234,7 @@
void dvb_unregister_device(struct dvb_device *dvbdev)
{
if (dvbdev) {
- devfs_remove("dvb/adapter%d%s%d", dvbdev->adapter->num,
+ devfs_remove("dvb/adapter%d/%s%d", dvbdev->adapter->num,
dnames[dvbdev->type], dvbdev->id);
list_del(&dvbdev->list_head);
kfree(dvbdev);
--=_courier-22233-1052299391-0001-2--