Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/dev/pci Pull up revision 1.80 (requested by bouyer):
details: https://anonhg.NetBSD.org/src/rev/e3c7252430f4
branches: netbsd-1-4
changeset: 470805:e3c7252430f4
user: he <he%NetBSD.org@localhost>
date: Thu Jul 27 17:36:40 2000 +0000
description:
Pull up revision 1.80 (requested by bouyer):
Make pciide compile with ``options PCIIDE_AMD756_ENABLEDMA.''
Fixes PR#10555.
diffstat:
sys/dev/pci/pciide.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 1d4654e2b67e -r e3c7252430f4 sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c Thu Jul 27 17:30:27 2000 +0000
+++ b/sys/dev/pci/pciide.c Thu Jul 27 17:36:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciide.c,v 1.33.2.7 2000/07/23 17:31:54 he Exp $ */
+/* $NetBSD: pciide.c,v 1.33.2.8 2000/07/27 17:36:40 he Exp $ */
/*
@@ -1779,8 +1779,10 @@
struct ata_drive_datas *drvp;
struct pciide_channel *cp = (struct pciide_channel*)chp;
struct pciide_softc *sc = (struct pciide_softc *)cp->wdc_channel.wdc;
+#ifndef PCIIDE_AMD756_ENABLEDMA
int rev = PCI_REVISION(
pci_conf_read(sc->sc_pc, sc->sc_tag, PCI_CLASS_REG));
+#endif
idedma_ctl = 0;
datatim_reg = pci_conf_read(sc->sc_pc, sc->sc_tag, AMD756_DATATIM);
Home |
Main Index |
Thread Index |
Old Index