f05957f7c6
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.
70 lines
2.7 KiB
Plaintext
70 lines
2.7 KiB
Plaintext
# $FreeBSD$
|
|
# Octeon Support Files
|
|
#
|
|
mips/cavium/asm_octeon.S optional smp
|
|
mips/cavium/ciu.c standard
|
|
mips/cavium/obio.c optional uart
|
|
mips/cavium/octeon_ds1337.c standard
|
|
mips/cavium/octeon_ebt3000_cf.c optional cf
|
|
mips/cavium/octeon_machdep.c standard
|
|
mips/cavium/octeon_mp.c optional smp
|
|
mips/cavium/octeon_rtc.c standard
|
|
mips/cavium/uart_bus_octeonusart.c optional uart
|
|
mips/cavium/uart_cpu_octeonusart.c optional uart
|
|
mips/cavium/uart_dev_oct16550.c optional uart
|
|
mips/mips/intr_machdep.c standard
|
|
mips/mips/tick.c standard
|
|
|
|
mips/cavium/octeon_rnd.c optional random
|
|
|
|
mips/cavium/cryptocteon/cavium_crypto.c optional cryptocteon
|
|
mips/cavium/cryptocteon/cryptocteon.c optional cryptocteon
|
|
|
|
mips/cavium/octe/ethernet.c optional octe
|
|
mips/cavium/octe/ethernet-mv88e61xx.c optional octe octeon_vendor_lanner
|
|
mips/cavium/octe/ethernet-common.c optional octe
|
|
mips/cavium/octe/ethernet-mdio.c optional octe
|
|
mips/cavium/octe/ethernet-mem.c optional octe
|
|
mips/cavium/octe/ethernet-rgmii.c optional octe
|
|
mips/cavium/octe/ethernet-rx.c optional octe
|
|
mips/cavium/octe/ethernet-sgmii.c optional octe
|
|
mips/cavium/octe/ethernet-spi.c optional octe
|
|
mips/cavium/octe/ethernet-tx.c optional octe
|
|
mips/cavium/octe/ethernet-xaui.c optional octe
|
|
mips/cavium/octe/mv88e61xxphy.c optional octe mv88e61xxphy
|
|
mips/cavium/octe/octe.c optional octe
|
|
mips/cavium/octe/octebus.c optional octe
|
|
|
|
mips/cavium/octopci.c optional pci
|
|
mips/cavium/octopci_bus_space.c optional pci
|
|
|
|
mips/cavium/usb/octusb.c optional usb octusb
|
|
mips/cavium/usb/octusb_octeon.c optional usb octusb
|
|
|
|
contrib/octeon-sdk/cvmx-usb.c optional octusb
|
|
|
|
# XXX Some files could be excluded in some configurations. Making them
|
|
# optional but on in the default config would seem reasonable.
|
|
contrib/octeon-sdk/cvmx-cmd-queue.c standard
|
|
contrib/octeon-sdk/cvmx-bootmem.c standard
|
|
contrib/octeon-sdk/cvmx-fpa.c standard
|
|
contrib/octeon-sdk/cvmx-helper.c standard
|
|
contrib/octeon-sdk/cvmx-helper-board.c standard
|
|
contrib/octeon-sdk/cvmx-helper-errata.c standard
|
|
contrib/octeon-sdk/cvmx-helper-fpa.c standard
|
|
contrib/octeon-sdk/cvmx-helper-loop.c standard
|
|
contrib/octeon-sdk/cvmx-helper-npi.c standard
|
|
contrib/octeon-sdk/cvmx-helper-rgmii.c standard
|
|
contrib/octeon-sdk/cvmx-helper-sgmii.c standard
|
|
contrib/octeon-sdk/cvmx-helper-spi.c standard
|
|
contrib/octeon-sdk/cvmx-helper-util.c standard
|
|
contrib/octeon-sdk/cvmx-helper-xaui.c standard
|
|
contrib/octeon-sdk/cvmx-pko.c standard
|
|
contrib/octeon-sdk/cvmx-spi.c standard
|
|
contrib/octeon-sdk/cvmx-spi4000.c standard
|
|
contrib/octeon-sdk/cvmx-sysinfo.c standard
|
|
contrib/octeon-sdk/cvmx-thunder.c standard
|
|
contrib/octeon-sdk/cvmx-twsi.c standard
|
|
contrib/octeon-sdk/cvmx-warn.c standard
|
|
contrib/octeon-sdk/octeon-model.c standard
|