freebsd-skq/sys/mips/rmi
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
..
dev Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
board.c Network driver support for more XLR/XLS chip versions. 2010-10-05 07:41:59 +00:00
board.h PCI fix for XLR C revision chips, limit DMA address to the first 2GB 2010-10-06 15:37:55 +00:00
bus_space_rmi_pci.c Fix another fo-pa of mine... duplicate patches should 2010-02-21 17:27:20 +00:00
bus_space_rmi.c Cleanups for sys/mips/rmi/bus_space_rmi.c 2010-02-20 16:32:33 +00:00
files.xlr New driver nlge for XLR/XLS Network Accelerator. This will support the XGMAC 2010-08-28 19:02:51 +00:00
fmn.c Fix n64 compile. 2010-10-06 08:09:39 +00:00
interrupt.h Clean up header files in RMI platform code (sys/mips/rmi), and remove 2010-08-30 13:05:21 +00:00
intr_machdep.c Updates for the RMI MIPS platform code 2010-09-01 17:35:31 +00:00
iodi.c RMI security accelerator driver update. 2010-09-16 20:23:22 +00:00
iomap.h Clean up header files in RMI platform code (sys/mips/rmi), and remove 2010-08-30 13:05:21 +00:00
Makefile.msgring
mpwait.S Adds the file I forgot to add... that handles 2010-05-18 04:08:58 +00:00
msgring_xls.c White space changes 2009-10-29 21:14:10 +00:00
msgring_xls.cfg
msgring.c White space changes 2009-10-29 21:14:10 +00:00
msgring.cfg
msgring.h Update message ring handling code for XLR/XLS 2010-10-03 04:33:58 +00:00
pcibus.h Changes for pci and pci-e support 2010-02-20 17:19:16 +00:00
pic.h XLS B0 revision PCI support and related changes. 2010-09-27 14:50:51 +00:00
rmi_boot_info.h Clean up header files in RMI platform code (sys/mips/rmi), and remove 2010-08-30 13:05:21 +00:00
rmi_mips_exts.h Fix asm for XKPHYS read for o32, constriants needed for input registers 2010-10-05 05:49:38 +00:00
rootfs_list.txt This is a list of the files for RMI's md_root 2009-12-23 14:48:26 +00:00
std.xlr Rename TARGET_XLR_XLS to CPU_RMI to match other CPU_xxx definitions. 2010-08-13 12:56:00 +00:00
tick.c Sync up XLR tick.c with the new MIPS tick.c 2010-08-25 07:33:35 +00:00
uart_bus_xlr_iodi.c Place proper svn:keywords tag on all these files. They were created 2010-01-12 21:17:36 +00:00
uart_cpu_mips_xlr.c ok we now get so that the uart init's and we can print. We 2009-11-05 18:14:25 +00:00
xlr_csum_nocopy.S
xlr_i2c.c Place proper svn:keywords tag on all these files. They were created 2010-01-12 21:17:36 +00:00
xlr_machdep.c Update message ring handling code for XLR/XLS 2010-10-03 04:33:58 +00:00
xlr_pci.c PCI fix for XLR C revision chips, limit DMA address to the first 2GB 2010-10-06 15:37:55 +00:00
xlr_pcmcia.c Initial code for XLR CompactFlash driver. 2010-08-28 07:58:10 +00:00
xls_ehci.c The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00