In cy693_setup_channel(), setup timings for IOR too (they were left to 0,
which is a way too higth timing for some devices). Thanks to Ken Wellsch for trying the multiple debug kernels until the problem was located.
This commit is contained in:
parent
e7d831fa31
commit
71036465a5
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pciide.c,v 1.32 1999/02/16 18:11:52 bouyer Exp $ */
|
||||
/* $NetBSD: pciide.c,v 1.33 1999/02/22 10:12:00 bouyer Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1998 Christopher G. Demetriou. All rights reserved.
|
||||
|
@ -1900,6 +1900,10 @@ cy693_setup_channel(chp)
|
|||
CY_CMD_CTRL_IOW_PULSE_OFF(drive));
|
||||
cy_cmd_ctrl |= (cy_pio_rec[drvp->PIO_mode] <<
|
||||
CY_CMD_CTRL_IOW_REC_OFF(drive));
|
||||
cy_cmd_ctrl |= (cy_pio_pulse[drvp->PIO_mode] <<
|
||||
CY_CMD_CTRL_IOR_PULSE_OFF(drive));
|
||||
cy_cmd_ctrl |= (cy_pio_rec[drvp->PIO_mode] <<
|
||||
CY_CMD_CTRL_IOR_REC_OFF(drive));
|
||||
}
|
||||
pci_conf_write(sc->sc_pc, sc->sc_tag, CY_CMD_CTRL, cy_cmd_ctrl);
|
||||
pciide_print_modes(cp);
|
||||
|
|
Loading…
Reference in New Issue