mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
tilegx network driver: initial support
This change adds support for the tilegx network driver based on the GXIO IORPC support in the tilegx software stack, using the on-chip mPIPE packet processing engine. Signed-off-by: Chris Metcalf <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
b7abee6ef8
commit
e3d62d7e8e
3 changed files with 1902 additions and 2 deletions
|
|
@ -7,6 +7,8 @@ config TILE_NET
|
|||
depends on TILE
|
||||
default y
|
||||
select CRC32
|
||||
select TILE_GXIO_MPIPE if TILEGX
|
||||
select HIGH_RES_TIMERS if TILEGX
|
||||
---help---
|
||||
This is a standard Linux network device driver for the
|
||||
on-chip Tilera Gigabit Ethernet and XAUI interfaces.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
obj-$(CONFIG_TILE_NET) += tile_net.o
|
||||
ifdef CONFIG_TILEGX
|
||||
tile_net-objs := tilegx.o mpipe.o iorpc_mpipe.o dma_queue.o
|
||||
tile_net-y := tilegx.o
|
||||
else
|
||||
tile_net-objs := tilepro.o
|
||||
tile_net-y := tilepro.o
|
||||
endif
|
||||
|
|
|
|||
1898
drivers/net/ethernet/tile/tilegx.c
Normal file
1898
drivers/net/ethernet/tile/tilegx.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue