s6gmac: xtensa s6000 on-chip ethernet driver
The s6000 on-chip MAC supports 10/100/1000Mbit and is connected to an external PHY via MII or RGMII interface. [jw@emlix.com: don't use device->bus_id directly] Signed-off-by: Oskar Schirmer <os@emlix.com> Signed-off-by: Daniel Glockner <dg@emlix.com> Acked-by: "David S. Miller" <davem@davemloft.net> Signed-off-by: Johannes Weiner <jw@emlix.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:
parent
0b3eb21b2f
commit
8b0215aa5b
3 changed files with 1085 additions and 0 deletions
|
@ -2443,6 +2443,17 @@ config JME
|
|||
To compile this driver as a module, choose M here. The module
|
||||
will be called jme.
|
||||
|
||||
config S6GMAC
|
||||
tristate "S6105 GMAC ethernet support"
|
||||
depends on XTENSA_VARIANT_S6000
|
||||
select PHYLIB
|
||||
help
|
||||
This driver supports the on chip ethernet device on the
|
||||
S6105 xtensa processor.
|
||||
|
||||
To compile this driver as a module, choose M here. The module
|
||||
will be called s6gmac.
|
||||
|
||||
endif # NETDEV_1000
|
||||
|
||||
#
|
||||
|
|
|
@ -245,6 +245,7 @@ obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o
|
|||
|
||||
obj-$(CONFIG_DNET) += dnet.o
|
||||
obj-$(CONFIG_MACB) += macb.o
|
||||
obj-$(CONFIG_S6GMAC) += s6gmac.o
|
||||
|
||||
obj-$(CONFIG_ARM) += arm/
|
||||
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
|
||||
|
|
1073
drivers/net/s6gmac.c
Normal file
1073
drivers/net/s6gmac.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue