be2net: use eq-id to calculate cev-isr reg offset
authorSathya Perla <sathyap@serverengines.com>
Tue, 2 Feb 2010 15:48:40 +0000 (07:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Feb 2010 15:48:40 +0000 (07:48 -0800)
commit55bdeed9f67a92f184e1ddcdd722e622d9dd10c6
tree2eb034830274c6e2be764dc511fea61772e39147
parent1e98cadb0d2b9f945f35beee4a0ce667f3c6dbe4
be2net: use eq-id to calculate cev-isr reg offset

cev-isr reg offset for each function is better calculated using (any) eq-id
alloted to that function instead of using pci-func number(which
does not work in some configurations...)

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c