Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2008 15:59:01 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Arnaud Houdelette <arnaud.houdelette@tzim.net>
Cc:        koitsu@freebsd.org, freebsd-stable@freebsd.org, =?UTF-8?B?U8O4cmVuIFNj?= =?UTF-8?B?aG1pZHQ=?= <sos@FreeBSD.org>
Subject:   Re: ATI SB600 Sata controler isn't detected as such.
Message-ID:  <48073B85.3020509@yandex.ru>
In-Reply-To: <480722F4.9010600@tzim.net>
References:  <48061734.30509@tzim.net> <20080416152254.GA33816@eos.sc1.parodius.com> 9060000000211159472 <103161208360650@webmail30.yandex.ru> <480722F4.9010600@tzim.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090906050202000300000604
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Arnaud Houdelette wrote:
> I removed the jumpers, and drives are recognised as sata300.
> But I still get the "atacontrol: ioctl(IOCATADEVICES): Device not 
> configured" message.
> Thanks anyway. It doesn't really bothers me as long as the controler 
> works fine.

Try this patch.

-- 
WBR, Andrey V. Elsukov

--------------090906050202000300000604
Content-Type: text/plain;
 name="atacontrol_list_fix.diff.txt"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="atacontrol_list_fix.diff.txt"

SW5kZXg6IHNyYy9zYmluL2F0YWNvbnRyb2wvYXRhY29udHJvbC5jCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K
UkNTIGZpbGU6IC9uY3ZzL3NyYy9zYmluL2F0YWNvbnRyb2wvYXRhY29udHJvbC5jLHYKcmV0
cmlldmluZyByZXZpc2lvbiAxLjQ3CmRpZmYgLXUgLXAgLXIxLjQ3IGF0YWNvbnRyb2wuYwot
LS0gc3JjL3NiaW4vYXRhY29udHJvbC9hdGFjb250cm9sLmMJMTcgTWFyIDIwMDggMTA6M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KCFzdHJjbXAoYXJndlsxXSwg
ImNyZWF0ZSIpKSB7Cg==
--------------090906050202000300000604--



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