freebsd-skq/sys/pci
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
..
alpm.c
amdpm.c - Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle 2008-06-06 18:29:56 +00:00
amdsmb.c - Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle 2008-06-06 18:29:56 +00:00
if_rl.c Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
if_rlreg.h Consistently use capital letters. 2010-04-09 23:00:24 +00:00
intpm.c intpm/sb700: force polling mode if configured interrupt is SMI 2009-09-19 08:56:28 +00:00
intpmreg.h intpm: add support for smbus controller found in AMD SB700 2009-09-12 18:24:31 +00:00
locate.pl
ncr.c Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
ncrreg.h
nfsmb.c Add support for four more nfsmb controllers, shipping on at least the 2010-01-24 14:57:54 +00:00
viapm.c The callback takes a void *, not a caddr_t * (sic). 2009-03-03 18:54:57 +00:00