]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5d3f19c9d7b06db655b0a67e91e54f200cce58a
tree0151abc3ec8068b8b5be80f9f8356d86305b7b06
parent980b547f74424b3fd2682bd4ebe4d945557e6db6
niu: Fix probing regression for maramba on-board chips.

Changeset 61bd7c4385faee46ee897a518564900a019573ec ("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