Quirk out the first test in the beginning of wdcprobe(); the Vaio
CD-ROM drive doesn't like it for some reason.
This commit is contained in:
parent
f50fecdeaf
commit
58932a8415
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wdc.c,v 1.39 1998/11/11 19:38:27 bouyer Exp $ */
|
||||
/* $NetBSD: wdc.c,v 1.40 1998/11/18 19:12:08 kenh Exp $ */
|
||||
|
||||
|
||||
/*
|
||||
|
@ -181,6 +181,7 @@ wdcprobe(chp)
|
|||
* Sanity check to see if the wdc channel responds at all.
|
||||
*/
|
||||
|
||||
if ((chp->wdc->cap & WDC_CAPABILITY_NO_EXTRA_RESETS) == 0) {
|
||||
bus_space_write_1(chp->cmd_iot, chp->cmd_ioh, wd_sdh,
|
||||
WDSD_IBM);
|
||||
delay(1);
|
||||
|
@ -200,7 +201,7 @@ wdcprobe(chp)
|
|||
ret_value &= ~0x02;
|
||||
if (ret_value == 0)
|
||||
return 0;
|
||||
|
||||
}
|
||||
/* assert SRST, wait for reset to complete */
|
||||
bus_space_write_1(chp->cmd_iot, chp->cmd_ioh, wd_sdh,
|
||||
WDSD_IBM);
|
||||
|
|
Loading…
Reference in New Issue