summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index 205fdfc..c3c506c 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -1044,8 +1044,12 @@ pci_add_map(device_t dev, pcicfgregs* cfg, int reg)
u_int32_t mask, shift, maxh;
switch (hwrpb->rpb_type) {
- case ST_DEC_21000:
case ST_DEC_4100:
+ mask = 0xc0000000;
+ shift = 30;
+ maxh = 4; /* not a hose. MCPCIA instance # */
+ break;
+ case ST_DEC_21000:
mask = 0xf8000000;
shift = 27;
maxh = 32;
OpenPOWER on IntegriCloud