mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Correct the usage of DMAADDR in a piece of '#if 0'd code. (The compiler
didn't pick it up.)
This commit is contained in:
parent
cc12206976
commit
5908b50130
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97323
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user