public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MODULE_DEVICE_TABLE for zoran framegrabber drivers
@ 2001-10-25  7:03 Andrey Panin
  0 siblings, 0 replies; only message in thread
From: Andrey Panin @ 2001-10-25  7:03 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 220 bytes --]


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.asc

[-- Attachment #1.2: patch-zr36067 --]
[-- Type: text/plain, Size: 593 bytes --]

diff -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
 

[-- Attachment #1.3: patch-zr36120 --]
[-- Type: text/plain, Size: 660 bytes --]

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");

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-25  7:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-25  7:03 [PATCH] MODULE_DEVICE_TABLE for zoran framegrabber drivers Andrey Panin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox