diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-05-07 04:56:19 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-05-07 04:56:19 +0000 |
commit | 9eb2408102826882a44e5cbfcbd2745000cb4c60 (patch) | |
tree | 1251f1060de529774ac3bdda6da984bd6d254f75 /sys/dev/pci | |
parent | e2b6c95f298278ba6bded072c9b38f3f8fde34f7 (diff) | |
download | FreeBSD-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/dev/pci')
-rw-r--r-- | sys/dev/pci/pci.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 205fdfc..c3c506c 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/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; |