1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys
Warner Losh 8e5f761422 On my Lenovo T400, a Atheros 2413 has a problem powering up
sometimes. It will power up wrong and identify itself badly:

cardbus0: <network, ethernet> at device 0.0 (no driver attached)
cardbus0: <simple comms, UART> at device 0.1 (no driver attached)
cardbus0: <old, non-VGA display device> at device 0.2 (no driver attached)
cardbus0: <old, non-VGA display device> at device 0.3 (no driver attached)
cardbus0: <old, non-VGA display device> at device 0.4 (no driver attached)
cardbus0: <old, non-VGA display device> at device 0.5 (no driver attached)
cardbus0: <old, non-VGA display device> at device 0.6 (no driver attached)
cardbus0: <old, non-VGA display device> at device 0.7 (no driver attached)

All the higher numbered functions (.2 and above) have a config space
of all 0's. This smells a bit like a special debug mode, but the
current atheros driver doesn't cope. It is unclear if this card is
just a flake, or if we're doing something wrong in the power-up
sequence.

Put a work around into the code that tests for this rather unusual
condition. If we power a CardBus device up, and the device says it is
multi-function, and any of the functions have a 0 device ID, try the
power-up sequence again.
2015-02-18 05:53:04 +00:00
..
amd64 Initialize x2APIC mode on the resume path before accessing LAPIC. 2015-02-16 21:56:19 +00:00
arm Make use of the newly introduced macros. 2015-02-17 20:37:21 +00:00
boot Set the #address-cells and #size-cells properties on I2C controllers of 2015-02-17 19:38:16 +00:00
bsm
cam Teach CTL to ask GEOM devices about BIO_DELETE support. 2015-02-13 13:26:23 +00:00
cddl Clean up machine dependent code for DTrace on ARM. 2015-02-11 17:27:37 +00:00
compat Run make sysent. 2015-01-23 21:08:24 +00:00
conf Globally enable -fms-extensions when building kernel with gcc, and remove 2015-02-17 19:27:14 +00:00
contrib Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
crypto
ddb
dev On my Lenovo T400, a Atheros 2413 has a problem powering up 2015-02-18 05:53:04 +00:00
fs ext2fs: Plug small memory leak 2015-02-15 14:25:00 +00:00
gdb
geom Add devd(8) notifications for creation and destruction of GEOM devices. 2015-01-14 11:15:57 +00:00
gnu
i386 Initialize x2APIC mode on the resume path before accessing LAPIC. 2015-02-16 21:56:19 +00:00
isa
kern filedesc: simplify fget_unlocked & friends 2015-02-17 23:54:06 +00:00
kgssapi
libkern Similar to r277901, fix more -Wcast-qual warnings in libkern's strtoq(), 2015-01-29 21:54:01 +00:00
mips Remove this - I made it all work again a looong time ago. 2015-02-16 02:05:34 +00:00
modules Globally enable -fms-extensions when building kernel with gcc, and remove 2015-02-17 19:27:14 +00:00
net - Improve INET/INET6 scope. 2015-02-16 23:50:53 +00:00
net80211 Switch around the order of static inline to be in line with how it's 2015-01-11 18:43:45 +00:00
netgraph Revise default limit for maximum of netgraph data items. 2015-02-12 22:20:34 +00:00
netinet This fixes a bug in the way that the LLE timers for nd6 2015-02-09 19:28:11 +00:00
netinet6 Factor out ip6_fragment() function, to be used in IPv6 stack and pf(4). 2015-02-16 06:30:27 +00:00
netipsec key_spdget uses key_setdumpsp() without SPTREE_RLOCK held (it uses 2015-01-27 17:46:55 +00:00
netnatm
netpfil Even more fixes to !INET and !INET6 kernels. 2015-02-17 22:33:22 +00:00
netsmb
nfs Remove the old NFS client and server from head, 2014-12-23 00:47:46 +00:00
nfsclient Remove the old NFS client and server from head, 2014-12-23 00:47:46 +00:00
nfsserver Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro 2015-01-07 17:22:56 +00:00
nlm
ofed filedesc: simplify fget_unlocked & friends 2015-02-17 23:54:06 +00:00
opencrypto
pc98 Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
powerpc Having the TOC pointer in kernel dbeugger printouts is useful. 2015-02-17 01:23:38 +00:00
rpc rpc: Uninitialized pointer read 2015-02-02 16:07:07 +00:00
security
sparc64 Unbreak sparc64 after r276630 by calling __sparc_sigtramp_setup signal 2015-02-16 22:13:03 +00:00
sys filedesc: simplify fget_unlocked & friends 2015-02-17 23:54:06 +00:00
teken mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
tools
ufs Partially revert r277922, avoid sleeping and do flush if we a awaken, 2015-02-05 13:00:27 +00:00
vm Some minor style(9) fixes (whitespace + comment) 2015-02-17 08:50:26 +00:00
x86 Initialize x2APIC mode on the resume path before accessing LAPIC. 2015-02-16 21:56:19 +00:00
xdr
xen Pacify clang 3.3 by ending the file with a newline. This is common 2015-01-06 21:26:35 +00:00
Makefile