freebsd-skq/sys
marius 385153aa98 Convert the PHY drivers to honor the mii_flags passed down and convert
the NIC drivers as well as the PHY drivers to take advantage of the
mii_attach() introduced in r213878 to get rid of certain hacks. For
the most part these were:
- Artificially limiting miibus_{read,write}reg methods to certain PHY
  addresses; we now let mii_attach() only probe the PHY at the desired
  address(es) instead.
- PHY drivers setting MIIF_* flags based on the NIC driver they hang
  off from, partly even based on grabbing and using the softc of the
  parent; we now pass these flags down from the NIC to the PHY drivers
  via mii_attach(). This got us rid of all such hacks except those of
  brgphy() in combination with bce(4) and bge(4), which is way beyond
  what can be expressed with simple flags.

While at it, I took the opportunity to change the NIC drivers to pass
up the error returned by mii_attach() (previously by mii_phy_probe())
and unify the error message used in this case where and as appropriate
as mii_attach() actually can fail for a number of reasons, not just
because of no PHY(s) being present at the expected address(es).

Reviewed by:	jhb, yongari
2010-10-15 14:52:11 +00:00
..
amd64 Remove trailing ", " from `sysctl machdep.idle_available' output. 2010-10-12 20:53:12 +00:00
arm Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
boot mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
bsm
cam Decrease poll interval from 1000 to 100us. This significantly reduces 2010-09-22 05:17:18 +00:00
cddl Pass a format string to panic() and to taskqueue_start_threads(). 2010-10-13 17:13:43 +00:00
compat Remove stale comment. 2010-10-14 19:30:44 +00:00
conf Stop hard coding nm(1) and make it overridable. 2010-10-14 23:31:58 +00:00
contrib Merge ACPICA 20101013. 2010-10-13 21:37:02 +00:00
crypto Change two missed instances of 'retq' in aeskeys_i386.S to 'retl', which 2010-10-13 17:55:53 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
fs Ignore the return value of DE_INTERNALIZE(). 2010-10-13 11:37:39 +00:00
gdb there must be only one SYSINIT with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order 2010-09-30 17:05:23 +00:00
geom The canonical way to print __func__ when using KASSERT() is to write 2010-10-13 11:35:59 +00:00
gnu The r184588 changed the layout of struct export_args, causing an ABI 2010-10-10 07:05:47 +00:00
i386 Remove trailing ", " from `sysctl machdep.idle_available' output. 2010-10-12 20:53:12 +00:00
ia64 Fix bogus error message from bus_dmamem_alloc() about incorrect alignment. 2010-09-29 21:53:11 +00:00
isa bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
kern In kern_sigtimedwait(), move initialization code out of process lock, 2010-10-14 08:01:33 +00:00
kgssapi
libkern Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
mips Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
modules Stop hard coding nm(1) and make it overridable. 2010-10-14 23:31:58 +00:00
net Only hide the ifa and not the tp under #ifdef INET as the tp is needed 2010-10-01 15:14:14 +00:00
net80211 Fix background roaming to actually work in AUTO roaming mode. 2010-10-01 09:18:30 +00:00
netatalk
netgraph When calling panic(), always pass a format string. 2010-10-13 17:21:21 +00:00
netinet Use ifa_ifwithaddr_check() rather than ifa_ifwithaddr() as we are not 2010-10-14 12:32:49 +00:00
netinet6 Purposely tell the compiler that we ignore the return value of ADDCARRY() 2010-10-13 10:45:22 +00:00
netipsec Remove dead code: 2010-10-14 15:15:22 +00:00
netipx
netnatm
netncp
netsmb
nfs Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfsclient Do not fork nfsiod directly from the vop methods. This causes LORs between 2010-09-12 19:06:08 +00:00
nfsserver - When VFS_VGET() is not supported, switch to VOP_LOOKUP(). 2010-08-26 23:41:40 +00:00
nlm Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
opencrypto Add support for AES-XTS. 2010-09-23 11:52:32 +00:00
pc98 Remove trailing ", " from `sysctl machdep.idle_available' output. 2010-10-12 20:53:12 +00:00
pci Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
powerpc Handle vector assist traps without a kernel panic, by setting denormalized 2010-10-05 18:08:07 +00:00
rpc Fix the krpc so that it can handle NFSv3,UDP mounts with a read/write 2010-10-13 00:57:14 +00:00
security Replace sbuf_overflowed() with sbuf_error(), which returns any error 2010-09-10 16:42:16 +00:00
sparc64 Explicitly lower the PIL to 0 as part of enabling interrupts, similar to 2010-10-14 21:46:53 +00:00
sun4v Just use the sparc64 version of this header rather than duplicating it. 2010-10-08 14:50:58 +00:00
sys Use a safer mechanism for determining if a task is currently running, 2010-10-13 22:59:04 +00:00
teken Make ^L with cons25 and origin mode bit more sane. 2010-08-09 18:07:15 +00:00
tools Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
ufs The r184588 changed the layout of struct export_args, causing an ABI 2010-10-10 07:05:47 +00:00
vm If vm_map_find() is asked to allocate a superpage-aligned region of virtual 2010-10-04 16:49:40 +00:00
x86 Restore pre-r212778 optimization, skipping timer reprogramming when it is 2010-09-18 07:36:43 +00:00
xdr
xen
Makefile