linux/arch/mips/bcm63xx
Maxime Bizon 6f00a02296 bcm63xx_enet: add support for Broadcom BCM63xx integrated gigabit switch
Newer Broadcom BCM63xx SoCs: 6328, 6362 and 6368 have an integrated switch
which needs to be driven slightly differently from the traditional
external switches. This patch introduces changes in arch/mips/bcm63xx in order
to:

- register a bcm63xx_enetsw driver instead of bcm63xx_enet driver
- update DMA channels configuration & state RAM base addresses
- add a new platform data configuration knob to define the number of
  ports per switch/device and force link on some ports
- define the required switch registers

On the driver side, the following changes are required:

- the switch ports need to be polled to ensure the link is up and
  running and RX/TX can properly work
- basic switch configuration needs to be performed for the switch to
  forward packets to the CPU
- update the MIB counters since the integrated

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-10 14:28:28 -07:00
..
boards bcm63xx_enet: add support for Broadcom BCM63xx integrated gigabit switch 2013-06-10 14:28:28 -07:00
clk.c MIPS: BCM63XX: add missing clocks for BCM6328 and BCM6362 2013-05-08 01:19:12 +02:00
cpu.c MIPS: BCM63XX: add basic BCM6362 support 2013-05-08 01:19:03 +02:00
cs.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
dev-dsp.c MIPS: BCM63XX: Fix platform_devices id 2012-07-24 16:33:09 +02:00
dev-enet.c bcm63xx_enet: add support for Broadcom BCM63xx integrated gigabit switch 2013-06-10 14:28:28 -07:00
dev-flash.c MIPS: BCM63XX: add flash detection for BCM6362 2013-05-08 01:19:03 +02:00
dev-pcmcia.c mips: mark const init data with __initconst instead of __initdata 2012-07-19 11:23:43 +02:00
dev-rng.c MIPS: BCM63XX: add RNG driver platform_device stub 2012-07-24 16:33:10 +02:00
dev-spi.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2013-05-10 07:48:05 -07:00
dev-uart.c MIPS: BCM63XX: Add support for bcm6368 CPU. 2011-12-07 22:03:04 +00:00
dev-usb-usbd.c MIPS: BCM63XX: Create platform_device for USBD 2012-08-30 20:15:52 +02:00
dev-wdt.c MIPS: BCM63XX: Fix platform_devices id 2012-07-24 16:33:09 +02:00
early_printk.c MIPS: early_printk: drop __init annotations 2013-02-19 09:36:37 +01:00
gpio.c MIPS: BCM63xx: Fix GPIO set/get for BCM6345 2011-12-07 22:03:04 +00:00
irq.c MIPS: BCM63XX: add basic BCM6362 support 2013-05-08 01:19:03 +02:00
Kconfig MIPS: BCM63XX: add basic BCM6362 support 2013-05-08 01:19:03 +02:00
Makefile MIPS: BCM63XX: move nvram functions into their own file 2012-11-09 11:37:18 +01:00
nvram.c MIPS: BCM63XX: Make nvram checksum failure non fatal 2013-03-19 19:15:40 +01:00
Platform MIPS: BCM63xx: Migrate to new platform makefile style. 2010-08-05 13:25:54 +01:00
prom.c MIPS: BCM63XX: add basic BCM6362 support 2013-05-08 01:19:03 +02:00
reset.c MIPS: BCM63XX: add basic BCM6362 support 2013-05-08 01:19:03 +02:00
setup.c MIPS: BCM63XX: add basic BCM6362 support 2013-05-08 01:19:03 +02:00
timer.c MIPS: BCM63xx: Convert timer locks to raw spinlocks. 2010-02-27 12:53:35 +01:00