Commit 62bd0774 authored by François Romieu's avatar François Romieu Committed by Jeff Garzik

[PATCH] via-velocity: comment fixes

Comment fixes.
Signed-off-by: default avatarTejun Heo <tj@home-tj.org>
parent 204b3de7
...@@ -464,7 +464,7 @@ static void velocity_init_cam_filter(struct velocity_info *vptr) ...@@ -464,7 +464,7 @@ static void velocity_init_cam_filter(struct velocity_info *vptr)
{ {
struct mac_regs * regs = vptr->mac_regs; struct mac_regs * regs = vptr->mac_regs;
/* T urn on MCFG_PQEN, turn off MCFG_RTGOPT */ /* Turn on MCFG_PQEN, turn off MCFG_RTGOPT */
WORD_REG_BITS_SET(MCFG_PQEN, MCFG_RTGOPT, &regs->MCFG); WORD_REG_BITS_SET(MCFG_PQEN, MCFG_RTGOPT, &regs->MCFG);
WORD_REG_BITS_ON(MCFG_VIDFR, &regs->MCFG); WORD_REG_BITS_ON(MCFG_VIDFR, &regs->MCFG);
...@@ -587,7 +587,7 @@ static void velocity_init_registers(struct velocity_info *vptr, ...@@ -587,7 +587,7 @@ static void velocity_init_registers(struct velocity_info *vptr,
writeb(WOLCFG_SAM | WOLCFG_SAB, &regs->WOLCFGSet); writeb(WOLCFG_SAM | WOLCFG_SAB, &regs->WOLCFGSet);
/* /*
* Bback off algorithm use original IEEE standard * Back off algorithm use original IEEE standard
*/ */
BYTE_REG_BITS_SET(CFGB_OFSET, (CFGB_CRANDOM | CFGB_CAP | CFGB_MBA | CFGB_BAKOPT), &regs->CFGB); BYTE_REG_BITS_SET(CFGB_OFSET, (CFGB_CRANDOM | CFGB_CAP | CFGB_MBA | CFGB_BAKOPT), &regs->CFGB);
...@@ -1091,7 +1091,7 @@ static int velocity_init_rd_ring(struct velocity_info *vptr) ...@@ -1091,7 +1091,7 @@ static int velocity_init_rd_ring(struct velocity_info *vptr)
} }
/** /**
* velocity_free_rd_ring - set up receive ring * velocity_free_rd_ring - free receive ring
* @vptr: velocity to clean up * @vptr: velocity to clean up
* *
* Free the receive buffers for each ring slot and any * Free the receive buffers for each ring slot and any
......
...@@ -1319,7 +1319,7 @@ static inline void mac_set_cam_mask(struct mac_regs * regs, u8 * mask, enum velo ...@@ -1319,7 +1319,7 @@ static inline void mac_set_cam_mask(struct mac_regs * regs, u8 * mask, enum velo
/* disable CAMEN */ /* disable CAMEN */
writeb(0, &regs->CAMADDR); writeb(0, &regs->CAMADDR);
/* Select CAM mask */ /* Select mar */
BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR); BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
} }
...@@ -1360,7 +1360,7 @@ static inline void mac_set_cam(struct mac_regs * regs, int idx, u8 *addr, enum v ...@@ -1360,7 +1360,7 @@ static inline void mac_set_cam(struct mac_regs * regs, int idx, u8 *addr, enum v
writeb(0, &regs->CAMADDR); writeb(0, &regs->CAMADDR);
/* Select CAM mask */ /* Select mar */
BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR); BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
} }
...@@ -1401,7 +1401,7 @@ static inline void mac_get_cam(struct mac_regs * regs, int idx, u8 *addr, enum v ...@@ -1401,7 +1401,7 @@ static inline void mac_get_cam(struct mac_regs * regs, int idx, u8 *addr, enum v
writeb(0, &regs->CAMADDR); writeb(0, &regs->CAMADDR);
/* Select CAM mask */ /* Select mar */
BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR); BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment