[PATCH] MODULE_DEVICE_TABLE for Specialix SX serial card driver

Andrey Panin (pazke@orbita1.ru)
Fri, 19 Oct 2001 15:58:19 +0400


--WhfpMioaduB5tiZL
Content-Type: multipart/mixed; boundary="gBBFr7Ir9EOA20Yy"
Content-Disposition: inline

--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Apply and enjoy :)

--=20
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin=
.asc
--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-sx
Content-Transfer-Encoding: quoted-printable

diff -urN -X /usr/dontdiff linux.vanilla/drivers/char/sx.c linux/drivers/ch=
ar/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
=20
+static struct pci_device_id sx_pci_tbl[] =3D {
+ { 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);
=20
/* Configurable options:=20
(Don't be too sure that it'll work if you toggle them) */

--gBBFr7Ir9EOA20Yy--

--WhfpMioaduB5tiZL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE70BVbBm4rlNOo3YgRAj3fAJ9w4DtWOv5E1vxOnZeS5P0ggBkTIwCfaBJO
cBPTT/grxyCWV1jn+9H9cJs=
=EOfC
-----END PGP SIGNATURE-----

--WhfpMioaduB5tiZL--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/