Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 22:14:20 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        sos@freebsd.org
Cc:        des@des.no, src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/ata ata-all.h ata-raid.c
Message-ID:  <191931208196860@webmail28.yandex.ru>
In-Reply-To: 9060000000209253504
References:  <200804131605.m3DG5Z9P041647@repoman.freebsd.org> <86k5j01r1f.fsf@ds4.des.no> 9060000000209253504

next in thread | previous in thread | raw e-mail | index | archive | help
14.04.08, 18:10, "Søren Schmidt" <sos@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



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