freebsd-dev/sys/dev
John Baldwin 0668724b99 Rework the _BBN handling for Host-PCI bridges. Previously we only trusted
a _BBN value of 0 if it was for the first bridge encountered since some
older systems returned _BBN of 0 for all bridges.  However, some newer
systems enumerate bridges with non-zero _BBN before bus 0 which is
perfectly valid.  Handle both cases by trusting the first bridge that has
a _BBN of 0 and falling back to reading from non-standard config registers
only for subsequent bridges with a _BBN of 0.  We also only perform this
check for segment (domain) 0.  We assume that _BBN is always correct
for segments other than 0.

Tested by:	Josef Moellers  josef.moellers at fujitsu
MFC after:	1 week
2009-06-09 13:44:17 +00:00
..
aac We no longer need to use d_thread_t, migrate to struct thread *. 2009-05-20 17:29:21 +00:00
acpi_support Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpica Rework the _BBN handling for Host-PCI bridges. Previously we only trusted 2009-06-09 13:44:17 +00:00
adb Use si_drv1 to hold the softc for the adb_mouse character device instead of 2009-01-29 16:18:49 +00:00
adlink
advansys
ae detach doesn't return an unsinged int, but returns an int. 2009-02-04 20:35:22 +00:00
age pci(4) handles PCIM_CMD_INTxDIS so there is no need to poke this 2009-05-20 03:33:27 +00:00
agp Use si_drv1 instead of dev2unit() inside agp(4). 2009-04-14 13:11:34 +00:00
aha
ahb
aic Snip redundant assignment. 2009-05-13 22:31:25 +00:00
aic7xxx Re-enable WARNS=6 after my universe test. 2009-06-02 17:27:54 +00:00
ale Now pci(4) handles PCIM_CMD_INTxDIS so there is no need to poke 2009-03-05 00:04:32 +00:00
amd
amdtemp Fix comment explaining where this driver came from. 2009-03-13 16:43:31 +00:00
amr We no longer need to use d_thread_t, migrate to struct thread *. 2009-05-20 17:29:21 +00:00
an Shutdown routine returns int. 2009-02-04 20:39:45 +00:00
arcmsr We no longer need to use d_thread_t, migrate to struct thread *. 2009-05-20 17:29:21 +00:00
asmc Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
asr Unmark the ASR Compat IOCTLs as BURN_BRIDGES, per scottl@ 2009-05-09 17:47:42 +00:00
ata Add another PCI id for Nvidia nForce MCP67, found in several Acer laptops. 2009-06-08 14:37:47 +00:00
ath treat IEEE80211_S_CSA as a "running state"; this fixes 2009-06-03 17:25:19 +00:00
atkbdc Prevent atkbd(4) interrupt handler from calling keyboard callback function 2009-04-17 00:30:56 +00:00
auxio
bce DMA synchronization fixes: 2009-05-18 01:51:52 +00:00
bfe
bge Fix return values appropriately. 2009-05-30 17:56:19 +00:00
bktr Unbreak bktr(4). 2009-05-26 12:01:37 +00:00
bm Fix bm_shutdown() KOBJ method to correspond to return int, as it should. 2009-02-04 22:16:27 +00:00
buslogic
bwi In bwi_newstate, only zero the bssid when we stop a STA. And only 2009-06-02 16:48:10 +00:00
cardbus Minorly improved debugging. Use the DEVPRINTF macro and report the 2009-03-13 05:31:27 +00:00
ce Use new spelling of the NG_*LEN constants. 2009-06-09 07:14:32 +00:00
cfe Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
cfi choose the size of the last region for d_stripsize instead of the first; 2009-03-10 22:29:42 +00:00
ciss We no longer need to use d_thread_t, migrate to struct thread *. 2009-05-20 17:29:21 +00:00
cm Remove unused ifaddr and ifreq local variables. 2009-02-12 23:55:35 +00:00
cmx
coretemp
cp Use new spelling of the NG_*LEN constants. 2009-06-09 07:14:32 +00:00
cpuctl
cpufreq
cs
ct
ctau Use new spelling of the NG_*LEN constants. 2009-06-09 07:14:32 +00:00
cx Use new spelling of the NG_*LEN constants. 2009-06-09 07:14:32 +00:00
cxgb After r193232 rt_tables in vnet.h are no longer indirectly dependent on 2009-06-08 19:57:35 +00:00
cy
dc When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
dcons Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
de tulip_busdma_cleanup: pass correct vaddr (2nd arg) to bus_dmamem_free() 2009-02-09 17:07:29 +00:00
digi Remove unused files from the digi(4) driver. 2009-01-16 14:45:48 +00:00
dpt
drm Don't try to setup interrupts for drivers that don't support them. 2009-04-19 16:54:33 +00:00
e1000 When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
ed ifp->if_softc is managed entirely by the driver. We never set it to 2009-05-13 14:43:26 +00:00
eisa
en
ep Add a missing break in a switch statement. 2009-05-15 21:06:28 +00:00
esp
et
ex
exca __LP64__ is what's defined, not _LP64_, according to the manual (and 2009-03-09 13:29:13 +00:00
fatm
fb - Change some softc members to be unsigned where more appropriate. 2009-04-28 20:49:47 +00:00
fdc Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
fe It appears that the TDK LAK CD011 works with fe driver. I don't have 2009-03-25 22:12:07 +00:00
firewire When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
flash - Remove nonexistent header file from includes list 2009-05-13 18:31:28 +00:00
fxp When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
gem
glxsb
hatm
hifn shutdown returns an int 2009-02-05 19:37:49 +00:00
hme
hptiop Use __packed from cdefs.h 2009-03-25 06:27:56 +00:00
hptmv Use DEVICE_SHUTDOWN(9) mechanism for shutdown handler. 2009-04-09 07:45:23 +00:00
hptrr
hwpmc - Add support for nehalem/corei7 cpus. This supports all of the core 2009-01-27 07:29:37 +00:00
ic
ichsmb - Change ichsmb(4) to follow the format of all the other smbus controllers 2009-02-03 16:14:37 +00:00
ichwd Rename two functions to make their purpose clearer. Add tons of comments. 2009-03-19 12:39:13 +00:00
ida
ie
ieee488
if_ndis Commit missed driver_info to driver_ivar change in usb_attach_args. 2009-06-08 19:56:23 +00:00
iicbus - Rename ds1672 and ds133x devices to "ds1672_rtc" and "ds133x_rtc" 2009-04-21 22:48:12 +00:00
iir Remove unused VM includes. 2009-06-03 20:25:13 +00:00
io
ipmi Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
ips
ipw Overhaul monitor mode handling: 2009-05-20 20:00:40 +00:00
iscsi/initiator This commit fixes the issue with alias_sctp.c. No 2009-02-14 11:34:57 +00:00
isp Change uses of the struct ccb_hdr timeout_ch missed when isp(4) was 2009-05-10 20:14:19 +00:00
ispfw
iwi rssi/nf data are now dbm, tag them accordingly 2009-05-21 15:30:59 +00:00
iwn validate tx rate(s) in the raw xmit path 2009-05-29 23:41:31 +00:00
ixgb When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
ixgbe Add missing file, sorry bout that :) 2009-04-10 02:45:00 +00:00
jme
joy Use si_drv1 to store joy(4)'s softc. 2009-04-14 11:23:09 +00:00
kbd Move buffer management into kbd and kbdmux drivers. 2009-06-05 15:19:05 +00:00
kbdmux Use proper types in kbdmux_kbd_getc(): 2009-06-08 20:24:29 +00:00
ksyms Remove another d_thread_t use that crept in. 2009-06-01 21:54:22 +00:00
le
led
lge Remove unused variable. 2009-05-12 19:33:36 +00:00
lmc Unbreak build. 2009-05-30 18:39:22 +00:00
malo Overhaul monitor mode handling: 2009-05-20 20:00:40 +00:00
mc146818
mca Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
mcd
md Add cpu_flush_dcache() for use after non-DMA based I/O so that a 2009-05-18 18:37:18 +00:00
mem
mfi We no longer need to use d_thread_t, migrate to struct thread *. 2009-05-20 17:29:21 +00:00
mge When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
mii Program LED registers for 88E1116/88E1149 PHYs. These PHYs are 2009-06-02 00:30:30 +00:00
mk48txx
mlx Convert mlx(4) and mly(4) to si_drv1 instead of dev2unit(). 2009-04-18 07:36:38 +00:00
mly Convert mlx(4) and mly(4) to si_drv1 instead of dev2unit(). 2009-04-18 07:36:38 +00:00
mmc read_ivar takes a uintptr_t * not a u_char *. 2009-03-12 06:36:44 +00:00
mn
mpt Largely revert the earlier change to use a single CCB for the RAID recovery 2009-05-21 12:36:40 +00:00
mse Make mse(4) use si_drv1, instead of using unit numbers. 2009-04-20 15:15:24 +00:00
msk Add Yukon Extreme device ids, 88E8071 and 88E8072. 2009-06-02 05:08:57 +00:00
mwl track HT flags move to iv_flags_ht 2009-06-07 22:03:07 +00:00
mxge Buf-ring fixes for mxge 2009-06-02 16:52:33 +00:00
my Release driver lock at the end of the watchdog routine instead of trying to 2009-03-23 17:51:07 +00:00
ncv
nfe When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
nge Unbreak build. 2009-05-30 18:39:22 +00:00
nmdm - Remove an unnecessary memory barrier from an atomic op. 2009-06-09 13:33:03 +00:00
nsp Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
null
nve Two ifnet misuse fixes for if_nve: 2009-04-23 19:29:45 +00:00
nvram
nxge
ofw Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
patm
pbio
pccard Another PC Card that needs the CIS strings for the Surecom EP-427X, 2009-04-24 17:27:45 +00:00
pccbb Revert r190676,190677 2009-04-10 04:08:34 +00:00
pcf
pci Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
pcn shutdown returns an int 2009-02-05 19:36:14 +00:00
pdq
powermac_nvram Use si_drv1 instead of dev2unit() in powermac_nvram. 2009-04-14 13:18:39 +00:00
ppbus Change if_output to take a struct route as its fourth argument in order 2009-04-16 20:30:28 +00:00
ppc Added entries for Lava SP-PCI (1 serial + 1 parallel) PCI card. The 2009-02-11 00:08:03 +00:00
pst
puc Add support for the four PUC serial interfaces found on IBM SurePOS 300 2009-06-02 09:58:17 +00:00
quicc
ral validate tx rate(s) in the raw xmit path 2009-05-29 23:41:31 +00:00
random There is rubbish here 2009-05-25 22:50:11 +00:00
rc
re When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
rndtest
rp Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
safe shutdown returns an int 2009-02-05 19:37:49 +00:00
sbni
scc Make iclear return int, since that matches all function definitions of it. 2009-02-05 19:32:34 +00:00
scd
sdhci Add support for interruptless kernel dumping. 2009-02-17 19:12:15 +00:00
sec Initial version of the sec(4) driver for the integrated security engine found 2009-06-06 09:37:55 +00:00
sf When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
si Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
siba
sio remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
sis When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
sk Separate multicast filtering of SysKonnect GENESIS and Marvell 2009-05-01 03:24:03 +00:00
smbus Make generic_intr routines match prototype. 2009-03-09 13:30:00 +00:00
smc When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
sn
snc
snp Keep this line shorter than 80 columns. 2009-05-13 19:29:50 +00:00
sound Fix compile time warning on sparc64, thanks to strict kobj signatures checking. 2009-06-08 23:24:01 +00:00
speaker Remove unneeded checks of device unit number from speaker(4). 2009-01-25 09:20:59 +00:00
spibus - Make SPI bus bridge be non-arch dependent by using more generic 2009-05-13 18:42:49 +00:00
ste When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
stg Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
stge When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
streams The streams ptm code is pretty awful and likely incorrect. I don't know 2009-02-16 20:12:28 +00:00
sym
syscons Restore support for bell pitch/duration. 2009-05-31 19:35:41 +00:00
tdfx Let tdfx(4) use si_drv1 instead of using dev2unit(). 2009-04-14 11:57:26 +00:00
ti
tl Fix shutdown prototypes. 2009-02-10 23:17:20 +00:00
trm
tsec When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
twa We no longer need to use d_thread_t, migrate to struct thread *. 2009-05-20 17:29:21 +00:00
twe We no longer need to use d_thread_t, migrate to struct thread *. 2009-05-20 17:29:21 +00:00
tx Fix shutdown prototypes. 2009-02-10 23:17:20 +00:00
txp bus_dma(9) conversion and make txp(4) work on all architectures. 2009-03-12 01:14:47 +00:00
uart Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
ubsec Add PCI IDs for the Broadcom 5825 incarnation. 2009-05-07 18:03:47 +00:00
usb unify zyd_tx_mgt() and zyd_tx_data() to simplify TX path and sorts 2009-06-09 04:17:08 +00:00
utopia
vge When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
vkbd
vr When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
vx
watchdog
wb
wds
wi force type match 2009-05-21 04:00:31 +00:00
wl
wpi Overhaul monitor mode handling: 2009-05-20 20:00:40 +00:00
xe
xen Fix compilation when compiled w/out WITNESS. 2009-06-07 05:52:22 +00:00
xl When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00