Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10933
b: refs/heads/master
c: 37448f7
h: refs/heads/master
i:
  10931: 70bde6c
v: v3
  • Loading branch information
Eugene Surovegin authored and Jeff Garzik committed Oct 28, 2005
1 parent 9cf83c5 commit 84d5ab1
Show file tree
Hide file tree
Showing 18 changed files with 4,086 additions and 2,823 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b71b95efa5abca33e1bfb85d55162c7f99f54c23
refs/heads/master: 37448f7d39717db7c1098c1a88b9074694c69797
72 changes: 54 additions & 18 deletions trunk/drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1163,38 +1163,74 @@ config IBMVETH
be called ibmveth.

config IBM_EMAC
bool "IBM PPC4xx EMAC driver support"
tristate "PowerPC 4xx on-chip Ethernet support"
depends on 4xx
select CRC32
---help---
This driver supports the IBM PPC4xx EMAC family of on-chip
Ethernet controllers.

config IBM_EMAC_ERRMSG
bool "Verbose error messages"
depends on IBM_EMAC && BROKEN
help
This driver supports the PowerPC 4xx EMAC family of on-chip
Ethernet controllers.

config IBM_EMAC_RXB
int "Number of receive buffers"
depends on IBM_EMAC
default "128" if IBM_EMAC4
default "64"
default "128"

config IBM_EMAC_TXB
int "Number of transmit buffers"
depends on IBM_EMAC
default "128" if IBM_EMAC4
default "8"
default "64"

config IBM_EMAC_POLL_WEIGHT
int "MAL NAPI polling weight"
depends on IBM_EMAC
default "32"

config IBM_EMAC_FGAP
int "Frame gap"
config IBM_EMAC_RX_COPY_THRESHOLD
int "RX skb copy threshold (bytes)"
depends on IBM_EMAC
default "8"
default "256"

config IBM_EMAC_SKBRES
int "Skb reserve amount"
config IBM_EMAC_RX_SKB_HEADROOM
int "Additional RX skb headroom (bytes)"
depends on IBM_EMAC
default "0"
help
Additional receive skb headroom. Note, that driver
will always reserve at least 2 bytes to make IP header
aligned, so usualy there is no need to add any additional
headroom.

If unsure, set to 0.

config IBM_EMAC_PHY_RX_CLK_FIX
bool "PHY Rx clock workaround"
depends on IBM_EMAC && (405EP || 440GX || 440EP)
help
Enable this if EMAC attached to a PHY which doesn't generate
RX clock if there is no link, if this is the case, you will
see "TX disable timeout" or "RX disable timeout" in the system
log.

If unsure, say N.

config IBM_EMAC_DEBUG
bool "Debugging"
depends on IBM_EMAC
default n

config IBM_EMAC_ZMII
bool
depends on IBM_EMAC && (NP405H || NP405L || 44x)
default y

config IBM_EMAC_RGMII
bool
depends on IBM_EMAC && 440GX
default y

config IBM_EMAC_TAH
bool
depends on IBM_EMAC && 440GX
default y

config NET_PCI
bool "EISA, VLB, PCI and on board controllers"
Expand Down
13 changes: 6 additions & 7 deletions trunk/drivers/net/ibm_emac/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#
# Makefile for the IBM PPC4xx EMAC controllers
# Makefile for the PowerPC 4xx on-chip ethernet driver
#

obj-$(CONFIG_IBM_EMAC) += ibm_emac.o

ibm_emac-objs := ibm_emac_mal.o ibm_emac_core.o ibm_emac_phy.o

# Only need this if you want to see additional debug messages
ifeq ($(CONFIG_IBM_EMAC_ERRMSG), y)
ibm_emac-objs += ibm_emac_debug.o
endif
ibm_emac-objs := ibm_emac_mal.o ibm_emac_core.o ibm_emac_phy.o
ibm_emac-$(CONFIG_IBM_EMAC_ZMII) += ibm_emac_zmii.o
ibm_emac-$(CONFIG_IBM_EMAC_RGMII) += ibm_emac_rgmii.o
ibm_emac-$(CONFIG_IBM_EMAC_TAH) += ibm_emac_tah.o
ibm_emac-$(CONFIG_IBM_EMAC_DEBUG) += ibm_emac_debug.o
Loading

0 comments on commit 84d5ab1

Please sign in to comment.