aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorMichael Reiss <michael.f.reiss@freescale.com>2007-04-13 02:26:19 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-28 11:01:04 -0400
commitd5b9049df25f38b3eaf3af48d494b0747aae4349 (patch)
treed2f99a2fc097a9e0c7752f681b7fadc13b2987d1 /arch/powerpc/sysdev
parent7563907eb8aad8f15b6a39fa6d863c091d83ef48 (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 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/qe_lib/ucc_fast.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/qe_lib/ucc_fast.c b/arch/powerpc/sysdev/qe_lib/ucc_fast.c
index a457ac1c6639..66137bf2dfb0 100644
--- a/arch/powerpc/sysdev/qe_lib/ucc_fast.c
+++ b/arch/powerpc/sysdev/qe_lib/ucc_fast.c
@@ -210,6 +210,9 @@ int ucc_fast_init(struct ucc_fast_info * uf_info, struct ucc_fast_private ** ucc
210 uf_regs = uccf->uf_regs; 210 uf_regs = uccf->uf_regs;
211 uccf->p_ucce = (u32 *) & (uf_regs->ucce); 211 uccf->p_ucce = (u32 *) & (uf_regs->ucce);
212 uccf->p_uccm = (u32 *) & (uf_regs->uccm); 212 uccf->p_uccm = (u32 *) & (uf_regs->uccm);
213#ifdef CONFIG_UGETH_TX_ON_DEMAND
214 uccf->p_utodr = (u16 *) & (uf_regs->utodr);
215#endif
213#ifdef STATISTICS 216#ifdef STATISTICS
214 uccf->tx_frames = 0; 217 uccf->tx_frames = 0;
215 uccf->rx_frames = 0; 218 uccf->rx_frames = 0;