MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pci_cfgdisable

Function pci_cfgdisable

freebsd/amd64/pci/pci_cfgreg.c:154–162  ·  view source on GitHub ↗

disable configuration space accesses */

Source from the content-addressed store, hash-verified

152
153/* disable configuration space accesses */
154static void
155pci_cfgdisable(void)
156{
157
158 /*
159 * Do nothing. Writing a 0 to the address port can apparently
160 * confuse some bridges and cause spurious access failures.
161 */
162}
163
164static int
165pcireg_cfgread(int bus, int slot, int func, int reg, int bytes)

Callers 2

pcireg_cfgreadFunction · 0.70
pcireg_cfgwriteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected