summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/dpt/dpt_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c
index 3bb3ee6..ee2116c 100644
--- a/sys/dev/dpt/dpt_pci.c
+++ b/sys/dev/dpt/dpt_pci.c
@@ -126,7 +126,8 @@ dpt_pci_attach (device_t dev)
goto bad;
}
- dpt = dpt_alloc(dev, rman_get_bustag(io), rman_get_bushandle(io));
+ /* Device registers are offset 0x10 into the register window. FEH */
+ dpt = dpt_alloc(dev, rman_get_bustag(io), rman_get_bushandle(io) + 0x10);
if (dpt == NULL) {
error = ENXIO;
goto bad;
OpenPOWER on IntegriCloud