rpms/kernel/devel linux-2.6.12-scsi-advansys-pcitable.patch, NONE, 1.1 kernel-2.6.spec, 1.1420, 1.1421

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jul 6 02:56:35 UTC 2005


Author: davej

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30681

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6.12-scsi-advansys-pcitable.patch 
Log Message:
Add pci table to advansys scsi driver. (#162431)



linux-2.6.12-scsi-advansys-pcitable.patch:
 advansys.c |   13 +++++++++++++
 1 files changed, 13 insertions(+)

--- NEW FILE linux-2.6.12-scsi-advansys-pcitable.patch ---
The advansys driver needs a lot of TLC. It does all its probing
for devices in a prehistoric way.  This patch at least allows
anaconda to recognise that the devices exist.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162431

--- linux-2.6.12/drivers/scsi/advansys.c~	2005-07-05 22:51:07.000000000 -0400
+++ linux-2.6.12/drivers/scsi/advansys.c	2005-07-05 22:53:09.000000000 -0400
@@ -18232,3 +18232,16 @@ AdvInquiryHandling(
     }
 }
 MODULE_LICENSE("Dual BSD/GPL");
+
+/* PCI Devices supported by this driver */
+static struct pci_device_id advansys_pci_tbl[] __devinitdata = {
+	{ ASC_PCI_VENDORID, ASC_PCI_DEVICEID_1200A,
+	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{ ASC_PCI_VENDORID, ASC_PCI_DEVICEID_1200B,
+	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{ ASC_PCI_VENDORID, ASC_PCI_DEVICEID_ULTRA,
+	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{ }
+};
+MODULE_DEVICE_TABLE(pci, advansys_pci_tbl);
+


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.1420
retrieving revision 1.1421
diff -u -r1.1420 -r1.1421
--- kernel-2.6.spec	5 Jul 2005 23:37:06 -0000	1.1420
+++ kernel-2.6.spec	6 Jul 2005 02:56:32 -0000	1.1421
@@ -302,6 +302,7 @@
 Patch1102: linux-2.6.9-scsi-megaraid-legacy.patch
 Patch1103: linux-2.6.12-scsi-blacklist.patch
 Patch1104: linux-2.6.12-scsicam-geom-fix.patch
+Patch1105: linux-2.6.12-scsi-advansys-pcitable.patch
 
 # NFS bits.
 Patch1200: linux-2.6.9-NFSD-non-null-getxattr.patch
@@ -704,6 +705,8 @@
 %patch1103 -p1
 # SCSI CAM geometry fix.
 %patch1104 -p1
+# Add a pci table to advansys driver.
+%patch1105 -p1
 
 #
 # Various upstream NFS/NFSD fixes.
@@ -1247,6 +1250,7 @@
 - 2.6.13-rc1-git7
 - Radeon power saving for another T41 (#159791)
 - Drop x86-64 SMP kernels, and make generic kernel use SMP.
+- Add pci table to advansys scsi driver. (#162431)
 
 * Mon Jul 04 2005 Dave Jones <davej at redhat.com>
 - 2.6.13-rc1-git6




More information about the fedora-cvs-commits mailing list