From: Andrey Panin <pazke@orbita1.ru>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] MODULE_DEVICE_TABLE for zoran framegrabber drivers
Date: Thu, 25 Oct 2001 11:03:40 +0400 [thread overview]
Message-ID: <20011025110340.A16717@orbita1.ru> (raw)
[-- 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 --]
reply other threads:[~2001-10-25 7:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011025110340.A16717@orbita1.ru \
--to=pazke@orbita1.ru \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.