mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 22:04:40 +00:00
Initialise OHCI_CROMHDR and OHCI_BUS_OPT in fwohci_ibr to make sure that
they have the right values at the first bus reset.
This commit is contained in:
parent
b113636e68
commit
c0e9efacfe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129611
|
@ -2432,6 +2432,13 @@ fwohci_ibr(struct firewire_comm *fc)
|
|||
device_printf(fc->dev, "Initiate bus reset\n");
|
||||
sc = (struct fwohci_softc *)fc;
|
||||
|
||||
/*
|
||||
* Make sure our cached values from the config rom are
|
||||
* initialised.
|
||||
*/
|
||||
OWRITE(sc, OHCI_CROMHDR, ntohl(sc->fc.config_rom[0]));
|
||||
OWRITE(sc, OHCI_BUS_OPT, ntohl(sc->fc.config_rom[2]));
|
||||
|
||||
/*
|
||||
* Set root hold-off bit so that non cyclemaster capable node
|
||||
* shouldn't became the root node.
|
||||
|
|
Loading…
Reference in a new issue