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

Andrey V. Elsukov bu7cher at yandex.ru
Mon Apr 14 18:14:25 UTC 2008


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

I see problem here. ata(4) uses atadev->unit==ATA_SLAVE to determine
which device is slave, but it never sets atadev->unit to ATA_SLAVE.
So, now we have broken `atacontrol list` command.
On my old system it doesn't show any of slave devices. Also, it shows 
"Device not configured" error at the end of its output.

--
WBR, Andrey V. Elsukov


More information about the cvs-src mailing list