Explicitly enable busmastering on PCI-PCI bridges. Transactions initiated
on the secondary side of a bridge will not be propagated to the primary bus unless this is enabled. Busmastering is not enabled by default (we have relied on firmware to set this bit to date). The OS needs to set it for any bridges not configured by system firmware. Tested by: Steve Polyack korvus comcast net MFC after: 2 weeks
This commit is contained in:
parent
daccbb811d
commit
ef8881526b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239103
@ -683,6 +683,13 @@ pcib_attach_common(device_t dev)
|
|||||||
* would be more widely routed than absolutely necessary. We could
|
* would be more widely routed than absolutely necessary. We could
|
||||||
* then do a walk of the tree later and fix it.
|
* then do a walk of the tree later and fix it.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Always enable busmastering on bridges so that transactions
|
||||||
|
* initiated on the secondary bus are passed through to the
|
||||||
|
* primary bus.
|
||||||
|
*/
|
||||||
|
pci_enable_busmaster(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user