Subject: Re: accessing IDE hard drive via pcmcia card
To: Steven M. Bellovin <smb@research.att.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 05/18/2004 23:28:18
On Tue, May 18, 2004 at 11:58:54AM -0400, Steven M. Bellovin wrote:
> a test 2.0 kernel with a delay/retry loop in the initialization; that
> got a bit further than the stock kernel, but still no joy:
>
> wdc2 at pcmcia1 function 0
> atabus2 at wdc2 channel 0
> wdc2:0: before reset, st0=0x80 (10), st1=0x0 (0)
> wdc2:0:0: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
> wdc2:0:1: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
> wdc2:0: wdcwait_reset() end, st0=0x50 st1=0x0
> wdc2:0: after reset, ret_value=0x2
At this point it thinks there's only a slave device, no master.
My guess is that the 0x1 is cleared from ret_value in __wdcwait_reset().
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--