diff options
author | Michael Reiss <michael.f.reiss@freescale.com> | 2007-04-13 02:26:19 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 11:01:04 -0400 |
commit | d5b9049df25f38b3eaf3af48d494b0747aae4349 (patch) | |
tree | d2f99a2fc097a9e0c7752f681b7fadc13b2987d1 /include/asm-powerpc/ucc_fast.h | |
parent | 7563907eb8aad8f15b6a39fa6d863c091d83ef48 (diff) |
ucc_geth: Implement Transmit on Demand support
Transmit on Demand: Fix spelling in config option, and make it actually enable TOD.
Signed-off-by: Michael Reiss <michael.f.reiss@freescale.com>
Signed-off-by: Michael Barkowski <michael.barkowski@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-powerpc/ucc_fast.h')
-rw-r--r-- | include/asm-powerpc/ucc_fast.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/ucc_fast.h b/include/asm-powerpc/ucc_fast.h index 39d1c90fd2ca..f529f70b1d82 100644 --- a/include/asm-powerpc/ucc_fast.h +++ b/include/asm-powerpc/ucc_fast.h | |||
@@ -159,6 +159,9 @@ struct ucc_fast_private { | |||
159 | struct ucc_fast *uf_regs; /* a pointer to memory map of UCC regs. */ | 159 | struct ucc_fast *uf_regs; /* a pointer to memory map of UCC regs. */ |
160 | u32 *p_ucce; /* a pointer to the event register in memory. */ | 160 | u32 *p_ucce; /* a pointer to the event register in memory. */ |
161 | u32 *p_uccm; /* a pointer to the mask register in memory. */ | 161 | u32 *p_uccm; /* a pointer to the mask register in memory. */ |
162 | #ifdef CONFIG_UGETH_TX_ON_DEMAND | ||
163 | u16 *p_utodr; /* pointer to the transmit on demand register */ | ||
164 | #endif | ||
162 | int enabled_tx; /* Whether channel is enabled for Tx (ENT) */ | 165 | int enabled_tx; /* Whether channel is enabled for Tx (ENT) */ |
163 | int enabled_rx; /* Whether channel is enabled for Rx (ENR) */ | 166 | int enabled_rx; /* Whether channel is enabled for Rx (ENR) */ |
164 | int stopped_tx; /* Whether channel has been stopped for Tx | 167 | int stopped_tx; /* Whether channel has been stopped for Tx |