From 334090e93788356c92a8aa7097fb56c6dc9e8a97 Mon Sep 17 00:00:00 2001 From: joe Date: Sun, 26 May 2002 22:13:09 +0000 Subject: Correct the usage of DMAADDR in a piece of '#if 0'd code. (The compiler didn't pick it up.) --- sys/dev/usb/ohci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.1