patch for review: ATI SB600 SATA AHCI

Jakub Siroky jakob at dev.citybikes.cz
Sun Jan 20 12:53:24 PST 2008


Just my info:

dmesg| grep ata
atapci0: <ATI AHCI controller> port
0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f
mem 0xfe02f000-0xfe02f3ff irq 22 at device 18.0 on pci0 atapci0:
[ITHREAD] atapci0: AHCI Version 01.10 controller with 4 ports detected
ata2: <ATA channel 0> on atapci0 ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
atapci1: <ATI IXP600 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf900-0xf90f at device 20.1 on
pci0 ata0: <ATA channel 0> on atapci1 ata0: [ITHREAD]
acd0: DVDR <LITE-ON DVDRW LH-18A1H/HL03> at ata0-master UDMA33
acd1: DVDROM <TOSHIBA DVD-ROM SDM2012C/TU01> at ata0-slave UDMA33
ad4: 381553MB <WDC WD4000YS-01MPB1 09.02E09> at ata2-master SATA300
ad8: 476940MB <WDC WD5000YS-01MPB1 09.02E09> at ata4-master SATA300

atacontrol mode ad4:
current mode = SATA300

uname -a:
FreeBSD dev.citybikes.cz 7.0-RC1 FreeBSD 7.0-RC1 #4: Sun Jan 20
01:33:16 CET 2008
root at dev.citybikes.cz:/usr/build/obj/usr/build/src_releng_7_0/sys/TWINSF
amd64

lshal:
system.product = 'GA-MA69G-S3H'
system.vendor = 'Gigabyte Technology Co., Ltd.'



On Sun, 20 Jan 2008 21:27:32 +0100
Torfinn Ingolfsen <torfinn.ingolfsen at broadpark.no> wrote:

> Hello,
> 
> On Sun, 20 Jan 2008 04:13:34 +0100
> Volker <volker at vwsoft.com> wrote:
> 
> > 6715b notebook using ATI SB-600 chipset. With stock kernel, the ATA
> 
> I have a machine with an Asus M2A-VM HDMI motherboard[1], which also
> have this chipset.
> 
> > My patch has been tested on RELENG_7 as of 2008-01-19. Please
> > review, check and test if possible. Should work on 8-CURRENT, too.
> 
> I had to hand apply part of the patch (probably a whitespace problem
> when I copied it from the mail), but it built fine.
> 
> From dmesg, before the patch:
> atapci0: <ATI ATA controller> port
> 0xfc00-0xfc07,0xf800-0xf803,0xf400-0xf407,0xf000-0xf003,0xec00-0xec0f
> mem 0xfe02f000-0xfe02f3ff irq 22 at device 18.0 on pci0 atapci0:
> [ITHREAD] ata2: <ATA channel 0> on atapci0 ata2: [ITHREAD]
> ata3: <ATA channel 1> on atapci0
> ata3: [ITHREAD]
> atapci1: <ATI IXP600 UDMA133 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe400-0xe40f at device 20.1 on
> pci0 ata0: <ATA channel 0> on atapci1 ata0: [ITHREAD]
> acd0: DVDR <Optiarc DVD RW AD-5170A/1.12> at ata0-master UDMA66
> ad4: 476940MB <SAMSUNG HD501LJ CR100-12> at ata2-master UDMA33
> 
> From dmesg, after the patch:
> tapci0: <ATI IXP600 SATA300 controller> port
> 0xfc00-0xfc07,0xf800-0xf803,0xf400-0xf407,0xf000-0xf003,0xec00-0xec0f
> mem 0xfe02f000-0xfe02f3ff irq 22 at device 18.0 on pci0 atapci0:
> [ITHREAD] atapci0: AHCI Version 01.10 controller with 4 ports
> detected ata2: <ATA channel 0> on atapci0 ata2: [ITHREAD]
> ata3: <ATA channel 1> on atapci0
> ata3: [ITHREAD]
> ata4: <ATA channel 2> on atapci0
> ata4: [ITHREAD]
> ata5: <ATA channel 3> on atapci0
> ata5: [ITHREAD]
> atapci1: <ATI IXP600 UDMA133 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe400-0xe40f at device 20.1 on
> pci0 ata0: <ATA channel 0> on atapci1 ata0: [ITHREAD]
> acd0: DVDR <Optiarc DVD RW AD-5170A/1.12> at ata0-master UDMA66
> ad4: 476940MB <SAMSUNG HD501LJ CR100-12> at ata2-master SATA300
> 
> I haven't done any tests to see if it changes performance in any way,
> at least it reports SATA 300: root at kg-vm# atacontrol mode ad4
> current mode = SATA300
> 
> This is on:
> root at kg-vm# uname -a
> FreeBSD kg-vm.kg4.no 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #4: Sun
> Jan 20 19:27:36 CET 2008
> root at kg-vm.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> 
> References:
> 1) info about my machine
> http://tingox.googlepages.com/asus_m2a-vm_hdmi


More information about the freebsd-stable mailing list