1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/mips/cavium/octe
Juli Mallett f05957f7c6 o) Make it possible to attach a PHY directly to an octe device rather than
using miibus, since for some devices that use multiple addresses on the bus,
   going through miibus may be unclear, and for devices that are not standard
   MII PHYs, miibus may throw a fit, necessitating complicated interfaces to
   fake the interface that it expects during probe/attach.
o) Make the mv88e61xx SMI interface in octe attach a PHY directly and fix some
   mistakes in the code that resulted from trying too hard to present a nice
   interface to miibus.
o) Add a PHY driver for the mv88e61xx.  If attached (it is optional in kernel
   compiles so the default behavior of having a dumb switch is preserved) it
   will place the switch in a VLAN-tagging mode such that each physical port
   has a VLAN associated with it and interfaces for the VLANs can be created to
   address or bridge between them.
   XXX It would be nice for this to be part of a single module including the
       SMI interface, and for it to fit into a generic switch configuration
       framework and for it to use DSA rather than VLANs, but this is a start
       and gives some sense of the parameters of such frameworks that are not
       currently present in FreeBSD.  In lieu of a switch configuration
       interface, per-port media status and VLAN settings are in a sysctl tree.
   XXX There may be some minor nits remaining in the handling of broadcast,
       multicast and unknown destination traffic.  It would also be nice to go
       through and replace the few remaining magic numbers with macros at some
       point in the future.
   XXX This has only been tested with the MV88E6161, but it should work with
       minimal or no modification on related switches, so support for probing
       them was included.

Thanks to Pat Saavedra of TELoIP and Rafal Jaworowski of Semihalf for their
assistance in understanding the switch chipset.
2010-10-13 09:17:44 +00:00
..
cavium-ethernet.h o) Make it possible to attach a PHY directly to an octe device rather than 2010-10-13 09:17:44 +00:00
ethernet-common.c o) Allow devices to override the MDIO read and write functions presented to 2010-10-02 05:43:17 +00:00
ethernet-common.h
ethernet-defines.h
ethernet-headers.h o) Allow devices to override the MDIO read and write functions presented to 2010-10-02 05:43:17 +00:00
ethernet-mdio.c o) Make it possible to attach a PHY directly to an octe device rather than 2010-10-13 09:17:44 +00:00
ethernet-mdio.h
ethernet-mem.c
ethernet-mem.h
ethernet-mv88e61xx.c o) Make it possible to attach a PHY directly to an octe device rather than 2010-10-13 09:17:44 +00:00
ethernet-mv88e61xx.h o) Allow devices to override the MDIO read and write functions presented to 2010-10-02 05:43:17 +00:00
ethernet-rgmii.c
ethernet-rx.c o) Send mbufs to BPF listeners from within cvm_oct_xmit(). 2010-09-25 04:39:12 +00:00
ethernet-rx.h
ethernet-sgmii.c
ethernet-spi.c
ethernet-tx.c o) Send mbufs to BPF listeners from within cvm_oct_xmit(). 2010-09-25 04:39:12 +00:00
ethernet-tx.h
ethernet-util.h
ethernet-xaui.c
ethernet.c
mv88e61xxphy.c o) Make it possible to attach a PHY directly to an octe device rather than 2010-10-13 09:17:44 +00:00
mv88e61xxphyreg.h o) Make it possible to attach a PHY directly to an octe device rather than 2010-10-13 09:17:44 +00:00
octe.c o) Make it possible to attach a PHY directly to an octe device rather than 2010-10-13 09:17:44 +00:00
octebus.c
octebusvar.h
wrapper-cvmx-includes.h