mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
MFamd64: 1.109 of pci_cfgreg.c which changes pci_cfgdisable() into a nop
for type #1 similar to what other OS's do. MFC after: 3 days
This commit is contained in:
parent
85d18774de
commit
3f7f26e990
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174052
@ -280,11 +280,15 @@ pci_cfgdisable(void)
|
||||
{
|
||||
switch (cfgmech) {
|
||||
case CFGMECH_1:
|
||||
outl(CONF1_ADDR_PORT, 0);
|
||||
/*
|
||||
* Do nothing for the config mechanism 1 case.
|
||||
* Writing a 0 to the address port can apparently
|
||||
* confuse some bridges and cause spurious
|
||||
* access failures.
|
||||
*/
|
||||
break;
|
||||
case CFGMECH_2:
|
||||
outb(CONF2_ENABLE_PORT, 0);
|
||||
outb(CONF2_FORWARD_PORT, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user