summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-05-07 04:56:19 +0000
committermjacob <mjacob@FreeBSD.org>2000-05-07 04:56:19 +0000
commit9eb2408102826882a44e5cbfcbd2745000cb4c60 (patch)
tree1251f1060de529774ac3bdda6da984bd6d254f75 /sys/pci/pci.c
parente2b6c95f298278ba6bded072c9b38f3f8fde34f7 (diff)
downloadFreeBSD-src-9eb2408102826882a44e5cbfcbd2745000cb4c60.zip
FreeBSD-src-9eb2408102826882a44e5cbfcbd2745000cb4c60.tar.gz
Update 'hose' (actually, MCPCIA instance #) for Alpha Rawhide systems.
We have *got* to fix this bogosity of trying to steal part of the PCI address space for this stuff.
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