[PATCH] aic94xx: Supermicro motherboards support (fixed patches)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, patches in previous messages was with broken tabs,
this ones would be correct:

Add PCI id.

Signed-off-by: Sergey Kononenko <sergk@xxxxxxxxxxxx>

diff -urN linux-2.6.19-rc2/drivers/scsi/aic94xx/aic94xx_hwi.h \
	linux-2.6.19-rc2.patched/drivers/scsi/aic94xx/aic94xx_hwi.h
--- linux-2.6.19-rc2/drivers/scsi/aic94xx/aic94xx_hwi.h	2006-10-14 \
	21:11:59.000000000 +0000
+++ linux-2.6.19-rc2.patched/drivers/scsi/aic94xx/aic94xx_hwi.h	\
	2006-10-14 02:15:16.000000000 +0000
@@ -46,6 +46,7 @@
 #define PCI_DEVICE_ID_ADAPTEC2_RAZOR10 0x410
 #define PCI_DEVICE_ID_ADAPTEC2_RAZOR12 0x412
 #define PCI_DEVICE_ID_ADAPTEC2_RAZOR1E 0x41E
+#define PCI_DEVICE_ID_ADAPTEC2_RAZOR1F 0x41F
 #define PCI_DEVICE_ID_ADAPTEC2_RAZOR30 0x430
 #define PCI_DEVICE_ID_ADAPTEC2_RAZOR32 0x432
 #define PCI_DEVICE_ID_ADAPTEC2_RAZOR3E 0x43E
diff -urN linux-2.6.19-rc2/drivers/scsi/aic94xx/aic94xx_init.c \
	linux-2.6.19-rc2.patched/drivers/scsi/aic94xx/aic94xx_init.c
--- linux-2.6.19-rc2/drivers/scsi/aic94xx/aic94xx_init.c 2006-10-14 \
	21:11:59.000000000 +0000
+++ linux-2.6.19-rc2.patched/drivers/scsi/aic94xx/aic94xx_init.c 2006-10-14 \
	02:15:16.000000000 +0000
@@ -814,6 +814,8 @@
 	 0, 0, 1},
 	{PCI_DEVICE(PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_RAZOR1E),
 	 0, 0, 1},
+	{PCI_DEVICE(PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_RAZOR1F),
+	 0, 0, 1},
 	{PCI_DEVICE(PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_RAZOR30),
 	 0, 0, 2},
 	{PCI_DEVICE(PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_RAZOR32),

--
Remove FLASHEX check.

Signed-off-by: Sergey Kononenko <sergk@xxxxxxxxxxxx>

diff -urN linux-2.6.19-rc2/drivers/scsi/aic94xx/aic94xx_sds.c \
	linux-2.6.19-rc2.patched/drivers/scsi/aic94xx/aic94xx_sds.c
--- linux-2.6.19-rc2/drivers/scsi/aic94xx/aic94xx_sds.c	2006-10-14 \
	21:11:59.000000000 +0000
+++ linux-2.6.19-rc2.patched/drivers/scsi/aic94xx/aic94xx_sds.c	\
	2006-10-14 02:16:08.000000000 +0000
@@ -630,10 +630,6 @@
 
 	reg = asd_read_reg_dword(asd_ha, EXSICNFGR);
 
-	if (!(reg & FLASHEX)) {
-		ASD_DPRINTK("flash doesn't exist\n");
-		return -ENOENT;
-	}
 	if (pci_read_config_dword(asd_ha->pcidev, PCI_CONF_FLSH_BAR,
 				  &asd_ha->hw_prof.flash.bar)) {
 		asd_printk("couldn't read PCI_CONF_FLSH_BAR of %s\n",

--
Sergey Kononenko
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux