* [PATCH] MODULE_DEVICE_TABLE for Specialix SX serial card driver
@ 2001-10-19 11:58 Andrey Panin
0 siblings, 0 replies; only message in thread
From: Andrey Panin @ 2001-10-19 11:58 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 170 bytes --]
Apply and enjoy :)
--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
[-- Attachment #1.2: patch-sx --]
[-- Type: text/plain, Size: 573 bytes --]
diff -urN -X /usr/dontdiff linux.vanilla/drivers/char/sx.c linux/drivers/char/sx.c
--- linux.vanilla/drivers/char/sx.c Wed Oct 17 11:25:41 2001
+++ linux/drivers/char/sx.c Fri Oct 19 11:40:24 2001
@@ -257,6 +257,11 @@
#define PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8 0x2000
#endif
+static struct pci_device_id sx_pci_tbl[] = {
+ { PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8, PCI_ANY_ID, PCI_ANY_ID },
+ { 0 }
+};
+MODULE_DEVICE_TABLE(pci, sx_pci_tbl);
/* Configurable options:
(Don't be too sure that it'll work if you toggle them) */
[-- 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-19 11:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-19 11:58 [PATCH] MODULE_DEVICE_TABLE for Specialix SX serial card driver Andrey Panin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox