commit | f9af857489cc19ee3acd0d5248dca7d243e353a5 | [log] [tgz] |
---|---|---|
author | Matheos Worku <matheos.worku@sun.com> | Mon May 12 03:10:59 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 12 03:10:59 2008 -0700 |
tree | f3e57dd73eac47a651027182c823d9203000df64 | |
parent | 36ca34cc3b8335eb1fe8bd9a1d0a2592980c3f02 [diff] |
niu: Determine the # of ports from the card's VPD data Determine the number of physical ports from the card's VPD data. Previous fix failed on Maramba platform which doesn't have the "board-model" property. This fix uses the "model" property which exists on all cards and Neptune based motherboards. cstyle cleanup included. Signed-off-by: Matheos Worku <matheos.worku@sun.com> Signed-off-by: David S. Miller <davem@davemloft.net>