summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-05-26 22:13:09 +0000
committerjoe <joe@FreeBSD.org>2002-05-26 22:13:09 +0000
commit334090e93788356c92a8aa7097fb56c6dc9e8a97 (patch)
tree5fe40caa93333b98b4dee10632299850cbf32ac9
parent514cd97aa3ef26bf53c44a29665eb406ca902ed8 (diff)
downloadFreeBSD-src-334090e93788356c92a8aa7097fb56c6dc9e8a97.zip
FreeBSD-src-334090e93788356c92a8aa7097fb56c6dc9e8a97.tar.gz
Correct the usage of DMAADDR in a piece of '#if 0'd code. (The compiler
didn't pick it up.)
-rw-r--r--sys/dev/usb/ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index dd312e5..c17fb75 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1025,7 +1025,7 @@ ohci_power(int why, void *v)
case PWR_RESUME:
sc->sc_bus.use_polling++;
/* Some broken BIOSes do not recover these values */
- OWRITE4(sc, OHCI_HCCA, DMAADDR(&sc->sc_hccadma));
+ OWRITE4(sc, OHCI_HCCA, DMAADDR(&sc->sc_hccadma, 0));
OWRITE4(sc, OHCI_CONTROL_HEAD_ED, sc->sc_ctrl_head->physaddr);
OWRITE4(sc, OHCI_BULK_HEAD_ED, sc->sc_bulk_head->physaddr);
if (sc->sc_intre)
OpenPOWER on IntegriCloud