aic94xx: Supermicro motherboards support (PCI id)
PATCH 1/2 aic94xx: Supermicro motherboards support (PCI id)
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),--
Sergey Kononenko
Quoted 25 lines · --- Sergey Kononenko
Add PCI id.
Signed-off-by Sergey Kononenko <[email protected]>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(quoted diff) +1
-0@@ -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 0x43Ediff -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.c2006-10-14 \ 02:15:16.000000000 +0000
Review line 821
Quoted 8 lines
(quoted diff) +2
-0@@ -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),
Here is the commit, dated last year, 19 October 2005:
commit 63769e8c801e5247dde0b897811d86b4c7885485
Author: Luben Tuikov <[email protected]> Date: Wed Oct 19 14:06:50 2005 -0400
Re-add 0x41F PCI device ID for Razor on mainboards. Currently SuperMicro X6DHR-3G2 and X6DH3-G2. (As noted by Mark Rustad.)
Luben