Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32880
b: refs/heads/master
c: 187ff3b
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Jul 29, 2006
1 parent c2812d0 commit 9a35c34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 9a71db721a2cbb9921b929b2699ab181f5a3c6c0
refs/heads/master: 187ff3b8575569668cde9021b9fe70386a4131fb
5 changes: 1 addition & 4 deletions trunk/drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,10 +516,7 @@ static int skge_set_pauseparam(struct net_device *dev,
/* Chip internal frequency for clock calculations */
static inline u32 hwkhz(const struct skge_hw *hw)
{
if (hw->chip_id == CHIP_ID_GENESIS)
return 53215; /* or: 53.125 MHz */
else
return 78215; /* or: 78.125 MHz */
return (hw->chip_id == CHIP_ID_GENESIS) ? 53125 : 78125;
}

/* Chip HZ to microseconds */
Expand Down

0 comments on commit 9a35c34

Please sign in to comment.