sky2: set VPD size
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 3 Feb 2009 11:27:30 +0000 (11:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2009 23:08:36 +0000 (15:08 -0800)
commit3834507d0c5480a0f05486c2fb57ed18fd179a83
tree2fe6502ac93a291ca698490f41a5504609e084f8
parente4c2abe29e1ec5d68908848ffa77b39f61a83f7c
sky2: set VPD size

Read configuration register during probe and use it to size the
available VPD. Move existing code using same register slightly
earlier in probe handling.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c