niu: Fix probing regression for maramba on-board chips.
authorDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2008 08:34:31 +0000 (01:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2008 08:34:31 +0000 (01:34 -0700)
commitbe0c007ac64f880a946995d6d1fc654acc81484d
tree0151abc3ec8068b8b5be80f9f8356d86305b7b06
parente544ff00da4b53069dbca3debbfb02d455f72467
niu: Fix probing regression for maramba on-board chips.

Changeset 7f7c4072ea552f97a0898331322f71986a97299c ("niu: Determine
the # of ports from the card's VPD data") caused maramba on-board
NIU ports to stop probing properly.

The old code had a fallback that would use a num_ports value of
4 if all the probing methods failed, but that was removed.

This restores the fallback of 4 ports, to get things working
again.

Bump driver version and release date.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c