sfc: Change falcon_probe_board() to fail for unsupported boards
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Apr 2010 09:01:50 +0000 (09:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:18:27 +0000 (12:18 -0700)
commite41c11ee0cc602bcde68916be85fb97d1a484324
tree0c88c7bad9062dfe35aedd9fca21108608ad12a0
parentf49a4589e9e25ef525da449b1ce5597cb659bbb5
sfc: Change falcon_probe_board() to fail for unsupported boards

The driver needs specific PHY and board support code for each SFC4000
board; there is no point trying to continue if it is missing.
Currently unsupported boards can trigger an 'oops'.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Cc: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon.c
drivers/net/sfc/falcon_boards.c
drivers/net/sfc/nic.h