diff options
author | Zang Roy-r61911 <tie-fei.zang@freescale.com> | 2006-11-08 22:49:13 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-02 00:12:03 -0500 |
commit | 5e123b844a1cbd4ec258cd37847ce4d57fa308c1 (patch) | |
tree | 82400847ed495ecac9521406d34fcdbdcbf15213 /drivers/net/Kconfig | |
parent | 31f817e9d6f325b10a316bb84237cae3739487ed (diff) |
[PATCH] Add tsi108/9 On Chip Ethernet device driver support
Add tsi108/9 on chip Ethernet controller driver support.
The driver code collects the feedback of previous posting form the mailing
list and gives the update.
MPC7448HPC2 platform in arch/powerpc uses tsi108 bridge.
The following is a brief description of the Ethernet controller:
The Tsi108/9 Ethernet Controller connects Switch Fabric to two independent
Gigabit Ethernet ports,E0 and E1. It uses a single Management interface to
manage the two physical connection devices (PHYs). Each Ethernet port has
its own statistics monitor that tracks and reports key interface
statistics. Each port supports a 256-entry hash table for address
filtering. In addition, each port is bridged to the Switch Fabric through
a 2-Kbyte transmit FIFO and a 4-Kbyte Receive FIFO.
Each Ethernet port also has a pair of internal Ethernet DMA channels to
support the transmit and receive data flows. The Ethernet DMA channels use
descriptors set up in memory, the memory map of the device, and access via
the Switch Fabric. The Ethernet Controller’s DMA arbiter handles
arbitration for the Switch Fabric. The Controller also has a register bus
interface for register accesses and status monitor control.
The PMD (Physical Media Device) interface operates in MII, GMII, or TBI
modes. The MII mode is used for connecting with 10 or 100 Mbit/s PMDs.
The GMII and TBI modes are used to connect with Gigabit PMDs. Internal
data flows to and from the Ethernet Controller through the Switch Fabric.
Each
Ethernet port uses its transmit and receive DMA channels to manage data
flows through buffer descriptors that are predefined by the system (the
descriptors can exist anywhere in the system memory map). These
descriptors are data structures that point to buffers filled with data
ready to transmit over Ethernet, or they point to empty buffers ready to
receive data from Ethernet.
Signed-off-by: Alexandre Bounine <Alexandre.Bounine@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 112d4cd5c66..05167253b25 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -2251,6 +2251,14 @@ config SPIDER_NET | |||
2251 | This driver supports the Gigabit Ethernet chips present on the | 2251 | This driver supports the Gigabit Ethernet chips present on the |
2252 | Cell Processor-Based Blades from IBM. | 2252 | Cell Processor-Based Blades from IBM. |
2253 | 2253 | ||
2254 | config TSI108_ETH | ||
2255 | tristate "Tundra TSI108 gigabit Ethernet support" | ||
2256 | depends on TSI108_BRIDGE | ||
2257 | help | ||
2258 | This driver supports Tundra TSI108 gigabit Ethernet ports. | ||
2259 | To compile this driver as a module, choose M here: the module | ||
2260 | will be called tsi108_eth. | ||
2261 | |||
2254 | config GIANFAR | 2262 | config GIANFAR |
2255 | tristate "Gianfar Ethernet" | 2263 | tristate "Gianfar Ethernet" |
2256 | depends on 85xx || 83xx || PPC_86xx | 2264 | depends on 85xx || 83xx || PPC_86xx |