]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:02:35 +0000 (15:02 -0700)
commit680e3fe449b3a78a95871bbc02398b2bb1a40174
tree42a29bc616cca4e59d4c3df69410cd53f993a451
parent068e5818f0d028cc0469ae7ae33368fd71024886
sfc: Change falcon_probe_board() to fail for unsupported boards

commit e41c11ee0cc602bcde68916be85fb97d1a484324 upstream.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sfc/falcon.c
drivers/net/sfc/falcon_boards.c
drivers/net/sfc/nic.h