cvs commit: src/sys/dev/ata ata-all.h ata-raid.c

Dag-Erling Smørgrav des at des.no
Mon Apr 14 15:31:56 UTC 2008


Søren Schmidt <sos at FreeBSD.ORG> writes:
> They arent, unless your HW runs in legacy emulation mode, then some
> chipsets emulates master/slave pairs.

Hmm, isn't that a matter of software more than hardware, i.e. the driver
switches to "native" mode when FreeBSD boots?

Or perhaps I should double-check that the BIOS is set to "AHCI mode"?

The hardware is ICH8, except for the DVDR drive which is on a POS
JMicron controller:

des at ds4 ~% grep \^ata /var/run/dmesg.boot
atapci0: <JMicron AHCI controller> mem 0xf9000000-0xf9001fff irq 17 at device 0.0 on pci4
atapci0: [ITHREAD]
atapci0: AHCI Version 01.00 controller with 2 ports detected
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
atapci1: <JMicron JMB363 UDMA133 controller> port 0xa000-0xa007,0xa400-0xa403,0xa800-0xa807,0xac00-0xac03,0xb000-0xb00f irq 18 at device 0.1 on pci4
atapci1: [ITHREAD]
ata4: <ATA channel 0> on atapci1
ata4: [ITHREAD]
atapci2: <Intel ICH8 SATA300 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f,0xfc00-0xfc0f at device 31.2 on pci0
ata0: <ATA channel 0> on atapci2
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci2
ata1: [ITHREAD]
atapci3: <Intel ICH8 SATA300 controller> port 0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe007,0xe400-0xe403,0xe800-0xe80f,0xec00-0xec0f irq 19 at device 31.5 on pci0
atapci3: [ITHREAD]
ata5: <ATA channel 0> on atapci3
ata5: [ITHREAD]
ata6: <ATA channel 1> on atapci3
ata6: [ITHREAD]
des at ds4 ~% sudo atacontrol list          
ATA channel 0:
    Master:  ad0 <Maxtor 6B300S0/BANC1B10> Serial ATA v1.0
    Slave:   ad1 <WDC WD4000AAKS-00TMA0/12.01C01> Serial ATA II
ATA channel 1:
    Master:  ad2 <WDC WD5000AAKS-00YGA0/12.01C02> Serial ATA II
    Slave:   ad3 <WDC WD4000AAKS-00TMA0/12.01C01> Serial ATA II
ATA channel 2:
    Master:      no device present
    Slave:       no device present
ATA channel 3:
    Master:      no device present
    Slave:       no device present
ATA channel 4:
    Master: acd0 <PLEXTOR DVDR PX-716AL/1.00> ATA/ATAPI revision 6
    Slave:       no device present
ATA channel 5:
    Master: ad10 <WDC WD4000AAKS-00TMA0/12.01C01> Serial ATA II
    Slave:       no device present
ATA channel 6:
    Master: ad12 <WDC WD5000AAKS-00TMA0/12.01C01> Serial ATA II
    Slave:       no device present

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list