Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 14:40:52 +0900 (JST)
From:      FUJITA Kazutoshi <fujita@soum.co.jp>
To:        freebsd-mobile@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   82801FBM(?) ATA controller
Message-ID:  <20050312.144052.23007628.fujita@soum.co.jp>

next in thread | raw e-mail | index | archive | help
----Next_Part(Sat_Mar_12_14_40_52_2005_246)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi folks, (especially sos ;-)


One more patch for ThinkPad T43.
-current probes as

atapci0: <GENERIC ATA controller> port 0x18c0-0x18cf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.2 on pci0
<..snip..>
ad0: 76319MB <FUJITSU MHT2080AH/8471> [155061/16/63] at ata0-master UDMA33
acd0: DVDR <MATSHITADVD-RAM UJ-822S/1.03> at ata1-master UDMA33


pciconf reports as

atapci0@pci0:31:2:      class=0x010180 card=0x056a1014 chip=0x26538086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FBM ICH6M SATA Controller'
    class    = mass storage
    subclass = ATA

(but I think it is not SATA controller.)


The disk ad0 supports UDMA100(and atapci0 too, maybe),
but it falls down to UDMA33.

It needs new device-id entry in ata-chipset.


Thanks,

----Next_Part(Sat_Mar_12_14_40_52_2005_246)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="ata.patch"

diff -u sys.orig/dev/ata/ata-chipset.c sys/dev/ata/ata-chipset.c
--- sys.orig/dev/ata/ata-chipset.c	Sun Jan  2 04:24:25 2005
+++ sys/dev/ata/ata-chipset.c	Sat Mar 12 14:16:21 2005
@@ -836,6 +836,7 @@
      { ATA_I6300ESB_S1,0, 0, 0x00, ATA_SA150, "Intel 6300ESB" },
      { ATA_I6300ESB_R1,0, 0, 0x00, ATA_SA150, "Intel 6300ESB" },
      { ATA_I82801FB,   0, 0, 0x00, ATA_UDMA5, "Intel ICH6" },
+     { ATA_I82801FB_1, 0, 0, 0x00, ATA_UDMA5, "Intel ICH6" },
      { ATA_I82801FB_S1,0, 0, 0x00, ATA_SA150, "Intel ICH6" },
      { ATA_I82801FB_R1,0, 0, 0x00, ATA_SA150, "Intel ICH6" },
      { 0, 0, 0, 0, 0, 0}};
diff -u sys.orig/dev/ata/ata-pci.h sys/dev/ata/ata-pci.h
--- sys.orig/dev/ata/ata-pci.h	Wed Dec  8 20:17:38 2004
+++ sys/dev/ata/ata-pci.h	Sat Mar 12 14:17:03 2005
@@ -125,6 +125,7 @@
 #define ATA_I6300ESB_S1		0x25a38086
 #define ATA_I6300ESB_R1		0x25b08086
 #define ATA_I82801FB		0x266f8086
+#define ATA_I82801FB_1		0x26538086
 #define ATA_I82801FB_S1		0x26518086
 #define ATA_I82801FB_R1		0x26528086
 

----Next_Part(Sat_Mar_12_14_40_52_2005_246)----



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