kern/97228: [patch] Support new ATA ICH7 controller
Gavin Atkinson
gavin at mod3.co.uk
Sat May 13 20:20:24 UTC 2006
>Number: 97228
>Category: kern
>Synopsis: [patch] Support new ATA ICH7 controller
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat May 13 20:20:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gavin Atkinson
>Release: FreeBSD 6.1-RC i386
>Organization:
http://www.mod3.co.uk/
>Environment:
System: FreeBSD buffy.york.ac.uk 6.1-RC FreeBSD 6.1-RC #8: Fri May 5 16:37:33 BST 2006 root at buffy.york.ac.uk:/usr/obj/usr/src/sys/BUFFY i386
>Description:
My new Toshiba M5L laptop has an ATA controller which is unrecognised
(and is therefore used as a generic UDMA33 chip). The attached patch adds
support for this. In adding it as ATA_I82801GB_M, I have renamed the existing
#define of the same name from ATA_I82801GB_M to ATA_I82801GB_AHM (as the
associated PCI ID is the AHCI version of the chip I have according to
page 18 of http://download.intel.com/design/chipsets/specupdt/30701412.pdf )
>How-To-Repeat:
N/A
>Fix:
Patch is against HEAD
--- ata-82801M.diff begins here ---
Index: src/sys/dev/ata/ata-chipset.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.162
diff -u -r1.162 ata-chipset.c
--- src/sys/dev/ata/ata-chipset.c 11 May 2006 10:43:08 -0000 1.162
+++ src/sys/dev/ata/ata-chipset.c 13 May 2006 19:33:36 -0000
@@ -1593,8 +1593,9 @@
{ ATA_I82801GB, 0, 0, 0x00, ATA_UDMA5, "ICH7" },
{ ATA_I82801GB_S1, 0, AHCI, 0x00, ATA_SA300, "ICH7" },
{ ATA_I82801GB_R1, 0, AHCI, 0x00, ATA_SA300, "ICH7" },
- { ATA_I82801GB_M, 0, AHCI, 0x00, ATA_SA300, "ICH7" },
+ { ATA_I82801GB_M, 0, 0, 0x00, ATA_SA300, "ICH7" },
{ ATA_I82801GB_AH, 0, AHCI, 0x00, ATA_SA300, "ICH7" },
+ { ATA_I82801GB_AHM,0, AHCI, 0x00, ATA_SA300, "ICH7" },
{ ATA_I31244, 0, 0, 0x00, ATA_SA150, "31244" },
{ 0, 0, 0, 0, 0, 0}};
char buffer[64];
Index: src/sys/dev/ata/ata-pci.h
===================================================================
RCS file: /usr/cvs/src/sys/dev/ata/ata-pci.h,v
retrieving revision 1.64
diff -u -r1.64 ata-pci.h
--- src/sys/dev/ata/ata-pci.h 13 Mar 2006 14:01:37 -0000 1.64
+++ src/sys/dev/ata/ata-pci.h 13 May 2006 19:33:36 -0000
@@ -152,7 +152,8 @@
#define ATA_I82801GB_S1 0x27c08086
#define ATA_I82801GB_R1 0x27c38086
#define ATA_I82801GB_AH 0x27c18086
-#define ATA_I82801GB_M 0x27c58086
+#define ATA_I82801GB_M 0x27c48086
+#define ATA_I82801GB_AHM 0x27c58086
#define ATA_I31244 0x32008086
#define ATA_ITE_ID 0x1283
--- ata-82801M.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list