Subject: Re: 'wdc0 at isa0...' panics in -current
To: Manuel Bouyer <>
From: Jared D. McNeill <>
List: current-users
Date: 01/14/2002 17:27:38
Manuel Bouyer wrote:

>This is really strange, chp->wdc isn't used at all in __wdcwait_reset()
>I'll compile a kernel on my box and see what happens.

Have a look at the top of the loop in __wdcwait_reset():

        /* wait for BSY to deassert */
        for (timeout = 0; timeout < WDCNDELAY_RST;timeout++) {
                if (chp->wdc->cap & WDC_CAPABILITY_SELECT)

Then, after a few bus_space_read's:

                if (chp->wdc->cap & WDC_CAPABILITY_SELECT)