Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/pci/pci.c
Show First 20 Lines • Show All 335 Lines • ▼ Show 20 Lines | |||||
static int pci_enable_io_modes = 1; | static int pci_enable_io_modes = 1; | ||||
SYSCTL_INT(_hw_pci, OID_AUTO, enable_io_modes, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_pci, OID_AUTO, enable_io_modes, CTLFLAG_RWTUN, | ||||
&pci_enable_io_modes, 1, | &pci_enable_io_modes, 1, | ||||
"Enable I/O and memory bits in the config register. Some BIOSes do not" | "Enable I/O and memory bits in the config register. Some BIOSes do not" | ||||
" enable these bits correctly. We'd like to do this all the time, but" | " enable these bits correctly. We'd like to do this all the time, but" | ||||
" there are some peripherals that this causes problems with."); | " there are some peripherals that this causes problems with."); | ||||
static int pci_do_realloc_bars = 0; | static int pci_do_realloc_bars = 1; | ||||
SYSCTL_INT(_hw_pci, OID_AUTO, realloc_bars, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_pci, OID_AUTO, realloc_bars, CTLFLAG_RWTUN, | ||||
&pci_do_realloc_bars, 0, | &pci_do_realloc_bars, 0, | ||||
"Attempt to allocate a new range for any BARs whose original " | "Attempt to allocate a new range for any BARs whose original " | ||||
"firmware-assigned ranges fail to allocate during the initial device scan."); | "firmware-assigned ranges fail to allocate during the initial device scan."); | ||||
static int pci_do_power_nodriver = 0; | static int pci_do_power_nodriver = 0; | ||||
SYSCTL_INT(_hw_pci, OID_AUTO, do_power_nodriver, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_pci, OID_AUTO, do_power_nodriver, CTLFLAG_RWTUN, | ||||
&pci_do_power_nodriver, 0, | &pci_do_power_nodriver, 0, | ||||
▲ Show 20 Lines • Show All 6,175 Lines • Show Last 20 Lines |