linux/arch/mips/include/asm/mach-bcm63xx
Florian Fainelli 3dc6475c0c bcm63xx_enet: add support Broadcom BCM6345 Ethernet
This patch adds support for the Broadcom BCM6345 SoC Ethernet. BCM6345
has a slightly different and older DMA engine which requires the
following modifications:

- the width of the DMA channels on BCM6345 is 64 bytes vs 16 bytes,
  which means that the helpers enet_dma{c,s} need to account for this
  channel width and we can no longer use macros

- BCM6345 DMA engine does not have any internal SRAM for transfering
  buffers

- BCM6345 buffer allocation and flow control is not per-channel but
  global (done in RSET_ENETDMA)

- the DMA engine bits are right-shifted by 3 compared to other DMA
  generations

- the DMA enable/interrupt masks are a little different (we need to
  enabled more bits for 6345)

- some register have the same meaning but are offsetted in the ENET_DMAC
  space so a lookup table is required to return the proper offset

The MAC itself is identical and requires no modifications to work.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-13 17:22:08 -07:00
..
bcm63xx_board.h
bcm63xx_cpu.h bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
bcm63xx_cs.h
bcm63xx_dev_dsp.h
bcm63xx_dev_enet.h bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
bcm63xx_dev_flash.h MIPS: BCM63XX: Add flash type detection 2012-07-24 16:33:11 +02:00
bcm63xx_dev_pci.h
bcm63xx_dev_pcmcia.h
bcm63xx_dev_spi.h Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2013-05-10 07:48:05 -07:00
bcm63xx_dev_uart.h
bcm63xx_dev_usb_usbd.h MIPS: BCM63XX: Create platform_device for USBD 2012-08-30 20:15:52 +02:00
bcm63xx_gpio.h MIPS: BCM63XX: add basic BCM6362 support 2013-05-08 01:19:03 +02:00
bcm63xx_io.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
bcm63xx_irq.h MIPS: BCM63XX: Prepare irq code to handle different external irq hardware implementation. 2011-12-07 22:03:03 +00:00
bcm63xx_iudma.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
bcm63xx_nvram.h MIPS: BCM63XX: Make nvram checksum failure non fatal 2013-03-19 19:15:40 +01:00
bcm63xx_regs.h bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
bcm63xx_reset.h MIPS: BCM63XX: add core reset helper 2012-11-09 11:37:18 +01:00
bcm63xx_timer.h
bcm963xx_tag.h MIPS: BCM63XX: bcm963xx_tag.h: make crc fields integers 2012-01-09 18:23:30 +00:00
board_bcm963xx.h bcm63xx_enet: add support for Broadcom BCM63xx integrated gigabit switch 2013-06-10 14:28:28 -07:00
cpu-feature-overrides.h MIPS: Hardwire detection of DSP ASE Rev 2 for systems, as required. 2012-10-11 11:10:43 +02:00
gpio.h
ioremap.h MIPS: BCM63XX: add basic BCM6362 support 2013-05-08 01:19:03 +02:00
irq.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
spaces.h MIPS: Move FIXADDR_TOP into spaces.h 2011-07-25 17:26:53 +01:00
war.h MIPS: PMC-Sierra Yosemite: Remove support. 2012-12-13 18:15:30 +01:00