Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] skge: chip clock rate typo

Okay, Fix both typo's in one patch .The impact is that the incorrect value
was being computed for blinking LED and interrupt moderation values.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

authored by

Stephen Hemminger and committed by
Jeff Garzik
187ff3b8 9a71db72

+1 -4
+1 -4
drivers/net/skge.c
··· 516 516 /* Chip internal frequency for clock calculations */ 517 517 static inline u32 hwkhz(const struct skge_hw *hw) 518 518 { 519 - if (hw->chip_id == CHIP_ID_GENESIS) 520 - return 53215; /* or: 53.125 MHz */ 521 - else 522 - return 78215; /* or: 78.125 MHz */ 519 + return (hw->chip_id == CHIP_ID_GENESIS) ? 53125 : 78125; 523 520 } 524 521 525 522 /* Chip HZ to microseconds */