]> git.baikalelectronics.ru Git - kernel.git/commit
skge: FIFO Ram calculation error
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 26 Nov 2007 19:54:48 +0000 (11:54 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 1 Dec 2007 21:32:29 +0000 (16:32 -0500)
commit42de50bd70f96b951d42eecf04906d03060ad711
tree0a76ac1b18417d819eaa16066104876c16ef8545
parentc0c3d5c54c23fabf07e09283ccc742f2f03f6317
skge: FIFO Ram calculation error

The calculation of usable FIFO RAM is wrong in the skge driver.
First, is doesn't take into account the reserved area on the original
SysKonnect Genesis boards. Second it has an off-by-one error because
hw->ports is either 1 or 2.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c