freebsd-dev/sys/arm/xscale/ixp425
Marius Strobl 8e5d93dbb4 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
..
avila_ata.c Now that we have UARTs running with fast interrupt handlers the ata 2009-06-23 19:29:23 +00:00
avila_led.c strict kobj signatures: number of fixes for arm architecture 2009-06-11 17:05:13 +00:00
avila_machdep.c Implement a facility for dynamic per-cpu variables. 2009-06-23 22:42:39 +00:00
cambria_exp_space.c Now that we have UARTs running with fast interrupt handlers the ata 2009-06-23 19:29:23 +00:00
cambria_fled.c Pass the correct pointer to fled_cb(). 2010-03-26 18:49:43 +00:00
cambria_led.c strict kobj signatures: number of fixes for arm architecture 2009-06-11 17:05:13 +00:00
files.avila o add a bus space tag that forces a 2usec delay between r/w ops; this is 2009-06-22 22:54:13 +00:00
files.ixp425 Intel XScale hwpmc(4) support. 2009-12-23 23:16:54 +00:00
if_npe.c Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
if_npereg.h kill NPE_PORTS_MAX, it's not used and likely will not be 2008-12-23 04:49:01 +00:00
ixdp425_pci.c No need to remove the same flag multiple times. 2009-08-23 19:54:36 +00:00
ixdp425reg.h Better i2c bit definitions. 2006-11-30 06:30:01 +00:00
ixp425_a4x_io.S
ixp425_a4x_space.c Refactor certain ARM bus space methods: instead of having multiple copies of 2008-04-03 18:22:08 +00:00
ixp425_iic.c strict kobj signatures: number of fixes for arm architecture 2009-06-11 17:05:13 +00:00
ixp425_intr.h Merge WIP from p4: 2008-12-13 01:21:37 +00:00
ixp425_mem.c Merge WIP from p4: 2008-12-13 01:21:37 +00:00
ixp425_npe.c Add workaround to get IXP435 NPE-A working: reseting NPE-A after NPE-C 2009-06-17 17:57:52 +00:00
ixp425_npereg.h remove IAL vestige for defining the max data/instruction memory size; 2009-06-17 02:55:53 +00:00
ixp425_npevar.h NPE cleanups needed for ancillary drivers (e.g. crypto acceleration): 2008-12-23 04:51:46 +00:00
ixp425_pci_asm.S
ixp425_pci_space.c
ixp425_pci.c catch up with r189306; handle delayed activation of resources 2009-03-10 16:42:49 +00:00
ixp425_qmgr.c When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
ixp425_qmgr.h When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
ixp425_space.c Refactor certain ARM bus space methods: instead of having multiple copies of 2008-04-03 18:22:08 +00:00
ixp425_timer.c Merge WIP from p4: 2008-12-13 01:21:37 +00:00
ixp425_wdog.c Merge WIP from p4: 2008-12-13 01:21:37 +00:00
ixp425.c bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
ixp425reg.h map the optional GPS and RS485 uart's on the Gateworks Cambria board 2009-06-22 20:41:02 +00:00
ixp425var.h o add a bus space tag that forces a 2usec delay between r/w ops; this is 2009-06-22 22:54:13 +00:00
std.avila Merge WIP from p4: 2008-12-13 01:21:37 +00:00
std.ixp425
std.ixp435 Merge WIP from p4: 2008-12-13 01:21:37 +00:00
uart_bus_ixp425.c o remove hack to write UUE+RTOIE in the uart's IER; force them with hints 2009-06-22 22:46:37 +00:00
uart_cpu_ixp425.c Remove the hardcoded IXP425_UART?_VBASE values in the 2007-05-29 18:10:42 +00:00