aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2000-05-07 04:56:19 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2000-05-07 04:56:19 +0000
commitec3da347ca6d993700b78a1c598b61e504691996 (patch)
tree3f0d15c7e02050b08f609825dc8575afb5ff5b02 /sys/dev/pci
parent34255ec5549a7adddc325c084fb5604a962901fa (diff)
downloadsrc-ec3da347ca6d993700b78a1c598b61e504691996.tar.gz
src-ec3da347ca6d993700b78a1c598b61e504691996.zip
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.
Notes
Notes: svn path=/head/; revision=60116
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 205fdfc8a975..c3c506c25def 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;