diff options
| author | bouyer <bouyer@NetBSD.org> | 1999-02-22 10:12:00 +0000 |
|---|---|---|
| committer | bouyer <bouyer@NetBSD.org> | 1999-02-22 10:12:00 +0000 |
| commit | 71036465a5a606f60b795340a55755d8bfba4f0c (patch) | |
| tree | bbe1fa8fb37b57226726bc2bb8e952a4864c717c /sys/dev | |
| parent | e7d831fa314716afc38506a7ae3295bd88470f48 (diff) | |
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.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/pciide.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index a5b14118337..5e3f3a37e3e 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -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); |
