mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
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:
parent
34255ec554
commit
ec3da347ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60116
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user