]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: systemport: Add support for SYSTEMPORT Lite
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 20 Jan 2017 19:08:27 +0000 (11:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2017 21:56:06 +0000 (16:56 -0500)
commit44a4524c54af2059bd7e967b0527fb7c6618672a
tree92ae6c8432da2afcf9547f08ea9e30ece6468a7d
parent7b78be48a8eb6c34e4e1b1581eceff4074bb4bf1
net: systemport: Add support for SYSTEMPORT Lite

Add supporf for the SYSTEMPORT Lite Ethernet controller, this piece of hardware
is largely based on the full-blown SYSTEMPORT and differs in the following:

- no full-blown UniMAC, instead we have the MagicPacket matching from UniMAC at
  same offset, and a GMII Interface Block (GIB) for the MAC-level stuff, since
  we are always interfaced to an Ethernet switch which is fully Ethernet compliant
  shortcuts could be made

- 16 transmit queues, whose interrupts are moved into the first Level-2 interrupt
  controller bank

- slight TDMA offset change (a register was inserted after TDMA_STATUS, *sigh*)

- 256 RX descriptors (512 words) and 256 TX descriptors (not visible)

As a consequence of these two things, update the code paths accordingly to
differentiate the full-blown from the light version.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/brcm,systemport.txt
drivers/net/ethernet/broadcom/bcmsysport.c
drivers/net/ethernet/broadcom/bcmsysport.h