Skip to contentSkip to conversation

aic94xx: Supermicro motherboards support (fixed patches)

PATCH New Sergey Kononenko 1 participant 1 message Oct 15, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 aic94xx: Supermicro motherboards support (fixed patches)

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

Add PCI id.

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.

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