82801FBM(?) ATA controller

FUJITA Kazutoshi fujita at soum.co.jp
Fri Mar 11 21:40:56 PST 2005


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 at 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 --------------
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
 


More information about the freebsd-mobile mailing list