Re: [PATCH] SX

From: Christoph Hellwig
Date: Wed Dec 08 2004 - 09:00:16 EST


> +/* Not used anymore??? - PVDL */
> +#if 1
> #ifdef CONFIG_PCI
> 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 },
> @@ -258,6 +260,7 @@
> };
> MODULE_DEVICE_TABLE(pci, sx_pci_tbl);
> #endif /* CONFIG_PCI */
> +#endif

this is nessecary for installers to autoprobe the driver. But you
should absolutely convert the driver to the pci_driver model so it's
used inside the driver aswell.

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