lkml.org 
[lkml]   [2001]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectaic7xxx patches?
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",
-
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/
\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.032 / U:1.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site