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.
This commit is contained in:
mjacob 2000-05-07 04:56:19 +00:00
parent e2b6c95f29
commit 9eb2408102
2 changed files with 10 additions and 2 deletions

View File

@ -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;

View File

@ -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;