lkml.org 
[lkml]   [2001]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
Subject[PATCH] MODULE_DEVICE_TABLE for zoran framegrabber drivers
From

Two MODULE_DEVICE_TABLE patches attached.
Please consider applying.

--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.ascdiff -u -X /usr/dontdiff /linux.vanilla/drivers/media/video/zr36067.c /linux/drivers/media/video/zr36067.c
--- /linux.vanilla/drivers/media/video/zr36067.c Wed Oct 17 11:26:26 2001
+++ /linux/drivers/media/video/zr36067.c Sat Oct 20 08:36:50 2001
@@ -245,6 +245,13 @@
MODULE_PARM(lml33dpath, "i");
MODULE_PARM(video_nr, "i");

+static struct pci_device_id zr36067_pci_tbl[] = {
+ { PCI_VENDOR_ID_ZORAN, PCI_DEVICE_ID_ZORAN_36057,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+ { 0 }
+};
+MODULE_DEVICE_TABLE(pci, zr36067_pci_tbl);
+
/* Anybody who uses more than four? */
#define BUZ_MAX 4
diff -u -X /usr/dontdiff /linux.vanilla/drivers/media/video/zr36120.c /linux/drivers/media/video/zr36120.c
--- /linux.vanilla/drivers/media/video/zr36120.c Wed Oct 17 11:26:25 2001
+++ /linux/drivers/media/video/zr36120.c Sat Oct 20 08:44:39 2001
@@ -60,6 +60,13 @@
static int video_nr = -1;
static int vbi_nr = -1;

+static struct pci_device_id zr36120_pci_tbl[] = {
+ { PCI_VENDOR_ID_ZORAN,PCI_DEVICE_ID_ZORAN_36120,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+ { 0 }
+};
+MODULE_DEVICE_TABLE(pci, zr36120_pci_tbl);
+
MODULE_AUTHOR("Pauline Middelink <middelin@polyware.nl>");
MODULE_DESCRIPTION("Zoran ZR36120 based framegrabber");
MODULE_LICENSE("GPL");[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:10    [W:0.026 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site