Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2008 03:54:12 +0800
From:      "Jia-Shiun Li" <jiashiun@gmail.com>
To:        d@delphij.net
Cc:        freebsd-current@freebsd.org
Subject:   Re: ata(4): Call for ICH10 owners' test
Message-ID:  <1d6d20bc0809251254s2baa4c3dw75294069f1b492e3@mail.gmail.com>
In-Reply-To: <488C7744.2000207@delphij.net>
References:  <488C7744.2000207@delphij.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, Jul 27, 2008 at 9:25 PM, Xin LI <delphij@delphij.net> wrote:
> I have added ICH10 PCI IDs according to Intel's specification.  Testing
> appreciated.
>
> If possible please test 6 devices with IDE compatible, AHCI and RAID
> modes, thank you!

I tested it on G43/ICH10. AHCI and IDE mode work fine. But mine is not
ICH10R thus I am unable to test RAID mode.

IDE mode:

atapci1: <Intel ICH10 SATA300 controller> port
0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f,0xa080-0xa08f
irq 19 at device 31.2 on pci0
atapci2: <Intel ICH10 SATA300 controller> port
0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f,0xb080-0xb08f
irq 19 at device 31.5 on pci0

AHCI mode is actually ate by ata_ahci_* rather than ata_intel_*:

atapci1: <Intel (ID=3a228086) AHCI controller> port
0xb880-0xb887,0xb800-0xb803,0xb480-0xb487,0xb400-0xb403,0xb080-0xb09f
mem 0xfe3fa800-0xfe3fafff irq 19 at device 31.2 on pci0
atapci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0xb080
atapci1: Reserved 0x800 bytes for rid 0x24 type 3 at 0xfe3fa800
ioapic0: routing intpin 19 (PCI IRQ 19) to vector 50
atapci1: [MPSAFE]
atapci1: [ITHREAD]
atapci1: AHCI Version 01.20 controller with 6 ports PM supported

Intel has 'corporate' version of ICH10D/ICH10DO, so I updated the
patch to add these IDs.

Jia-Shiun.

[-- Attachment #2 --]
Index: sys/dev/ata/ata-chipset.c
===================================================================
--- sys/dev/ata/ata-chipset.c	(revision 183076)
+++ sys/dev/ata/ata-chipset.c	(working copy)
@@ -2139,6 +2139,14 @@
      { ATA_I82801IB_AH4, 0, AHCI, 0x00, ATA_SA300, "ICH9" },
      { ATA_I82801IB_AH6, 0, AHCI, 0x00, ATA_SA300, "ICH9" },
      { ATA_I82801IB_R1,  0, AHCI, 0x00, ATA_SA300, "ICH9" },
+     { ATA_I82801JIB_S1, 0,    0, 0x00, ATA_SA300, "ICH10" },
+     { ATA_I82801JIB_AH6,0, AHCI, 0x00, ATA_SA300, "ICH10" },
+     { ATA_I82801JIB_R1, 0, AHCI, 0x00, ATA_SA300, "ICH10" },
+     { ATA_I82801JIB_S2, 0,    0, 0x00, ATA_SA300, "ICH10" },
+     { ATA_I82801JD_S1,  0,    0, 0x00, ATA_SA300, "ICH10" },
+     { ATA_I82801JD_AH6, 0, AHCI, 0x00, ATA_SA300, "ICH10" },
+     { ATA_I82801JD_R1,  0, AHCI, 0x00, ATA_SA300, "ICH10" },
+     { ATA_I82801JD_S2,  0,    0, 0x00, ATA_SA300, "ICH10" },
      { ATA_I31244,       0,    0, 0x00, ATA_SA150, "31244" },
      { 0, 0, 0, 0, 0, 0}};
 
Index: sys/dev/ata/ata-pci.h
===================================================================
--- sys/dev/ata/ata-pci.h	(revision 183076)
+++ sys/dev/ata/ata-pci.h	(working copy)
@@ -183,6 +183,14 @@
 #define ATA_I82801IB_AH4        0x29238086
 #define ATA_I82801IB_R1         0x29258086
 #define ATA_I82801IB_S2         0x29268086
+#define ATA_I82801JIB_S1        0x3a208086
+#define ATA_I82801JIB_AH6       0x3a228086
+#define ATA_I82801JIB_R1        0x3a258086
+#define ATA_I82801JIB_S2        0x3a268086
+#define ATA_I82801JD_S1         0x3a008086
+#define ATA_I82801JD_AH6        0x3a028086
+#define ATA_I82801JD_R1         0x3a058086
+#define ATA_I82801JD_S2         0x3a068086
 #define ATA_I31244              0x32008086
 
 #define ATA_ITE_ID              0x1283
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d6d20bc0809251254s2baa4c3dw75294069f1b492e3>