skge: FIFO Ram calculation error
commit29816d9aa55c99d463bd5507a46535b5fe79c33a
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 26 Nov 2007 19:54:48 +0000 (26 11:54 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 1 Dec 2007 21:32:29 +0000 (1 16:32 -0500)
tree0a76ac1b18417d819eaa16066104876c16ef8545
parent1c1478859017452a1179dbbdf7b9eb5b48438746
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