summaryrefslogtreecommitdiff
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2004-05-23 14:22:11 +0000
committerDoug Rabson <dfr@FreeBSD.org>2004-05-23 14:22:11 +0000
commitc0e9efacfe9f21cf14777c90a4bdcb130b3f635e (patch)
treef14be0c396518806705b586f17b6f4beeb15bac5 /sys/dev/firewire
parentb113636e6805a65d9f1149479aaf7100a28ec1c9 (diff)
Notes
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/fwohci.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/firewire/fwohci.c b/sys/dev/firewire/fwohci.c
index 8915d72e1687..c6e58c55b360 100644
--- a/sys/dev/firewire/fwohci.c
+++ b/sys/dev/firewire/fwohci.c
@@ -2433,6 +2433,13 @@ fwohci_ibr(struct firewire_comm *fc)
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.
*/