Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167556
b: refs/heads/master
c: 47dd7a5
h: refs/heads/master
v: v3
  • Loading branch information
Giuseppe Cavallaro authored and David S. Miller committed Oct 14, 2009
1 parent 409f208 commit 0e85c6f
Show file tree
Hide file tree
Showing 17 changed files with 5,179 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47a01a0c94a3ff1716adb5f37b83975550e1ebbb
refs/heads/master: 47dd7a540b8a0cdc028914b7351fca0cf0a1d305
2 changes: 2 additions & 0 deletions trunk/drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2483,6 +2483,8 @@ config S6GMAC
To compile this driver as a module, choose M here. The module
will be called s6gmac.

source "drivers/net/stmmac/Kconfig"

endif # NETDEV_1000

#
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ obj-$(CONFIG_VIA_VELOCITY) += via-velocity.o
obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o
obj-$(CONFIG_RIONET) += rionet.o
obj-$(CONFIG_SH_ETH) += sh_eth.o
obj-$(CONFIG_STMMAC_ETH) += stmmac/

#
# end link order section
Expand Down
53 changes: 53 additions & 0 deletions trunk/drivers/net/stmmac/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
config STMMAC_ETH
tristate "STMicroelectronics 10/100/1000 Ethernet driver"
select MII
select PHYLIB
depends on NETDEVICES && CPU_SUBTYPE_ST40
help
This is the driver for the ST MAC 10/100/1000 on-chip Ethernet
controllers. ST Ethernet IPs are built around a Synopsys IP Core.

if STMMAC_ETH

config STMMAC_DA
bool "STMMAC DMA arbitration scheme"
default n
help
Selecting this option, rx has priority over Tx (only for Giga
Ethernet device).
By default, the DMA arbitration scheme is based on Round-robin
(rx:tx priority is 1:1).

config STMMAC_DUAL_MAC
bool "STMMAC: dual mac support (EXPERIMENTAL)"
default n
depends on EXPERIMENTAL && STMMAC_ETH && !STMMAC_TIMER
help
Some ST SoCs (for example the stx7141 and stx7200c2) have two
Ethernet Controllers. This option turns on the second Ethernet
device on this kind of platforms.

config STMMAC_TIMER
bool "STMMAC Timer optimisation"
default n
help
Use an external timer for mitigating the number of network
interrupts.

choice
prompt "Select Timer device"
depends on STMMAC_TIMER

config STMMAC_TMU_TIMER
bool "TMU channel 2"
depends on CPU_SH4
help

config STMMAC_RTC_TIMER
bool "Real time clock"
depends on RTC_CLASS
help

endchoice

endif
4 changes: 4 additions & 0 deletions trunk/drivers/net/stmmac/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
obj-$(CONFIG_STMMAC_ETH) += stmmac.o
stmmac-$(CONFIG_STMMAC_TIMER) += stmmac_timer.o
stmmac-objs:= stmmac_main.o stmmac_ethtool.o stmmac_mdio.o \
mac100.o gmac.o $(stmmac-y)
Loading

0 comments on commit 0e85c6f

Please sign in to comment.