public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* aic7xxx patches?
@ 2001-05-22 13:39 Marcus Meissner
  0 siblings, 0 replies; only message in thread
From: Marcus Meissner @ 2001-05-22 13:39 UTC (permalink / raw)
  To: gibbs; +Cc: Alan Cox, linux-kernel

Hi Justin, Alan, linux-kernel,

I do not know who is the right contact for AIC7xxx patches, so I am just
ccing everone ;)

This patch just exports the PCI id table from aic7xxx so autoprobing and
hotplugging can find it.

Whoever maintains aic7xxx, please consider applying :)

Ciao, Marcus

Index: drivers/scsi/aic7xxx/aic7xxx_linux_pci.c
===================================================================
RCS file: /build/mm/work/repository/linux-mm/drivers/scsi/aic7xxx/aic7xxx_linux_pci.c,v
retrieving revision 1.7
diff -u -r1.7 aic7xxx_linux_pci.c
--- drivers/scsi/aic7xxx/aic7xxx_linux_pci.c	2001/05/03 13:16:24	1.7
+++ drivers/scsi/aic7xxx/aic7xxx_linux_pci.c	2001/05/22 13:26:28
@@ -42,9 +42,13 @@
 static int	ahc_linux_pci_dev_probe(struct pci_dev *pdev,
 					const struct pci_device_id *ent);
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
+#include <linux/module.h>
+
 static void	ahc_linux_pci_dev_remove(struct pci_dev *pdev);
 
-/* We do our own ID filtering.  So, grab all SCSI storage class devices. */
+/* We do our own ID filtering.  So we grab all Adaptec SCSI storage class
+ * devices here.
+ */
 static struct pci_device_id ahc_linux_pci_id_table[] = {
 	{
 		0x9004, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
@@ -56,6 +60,7 @@
 	},
 	{ 0 }
 };
+MODULE_DEVICE_TABLE(pci,ahc_linux_pci_id_table);
 
 struct pci_driver aic7xxx_pci_driver = {
 	name:		"aic7xxx",

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

only message in thread, other threads:[~2001-05-22 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-22 13:39 aic7xxx patches? Marcus Meissner

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