Edward Cree 9fd3d3a430 sfc: don't BUG_ON efx->max_channels == 0 in probe
efx_ef10_probe() was BUGging out if the BAR2 size was 0.  This is
 unnecessarily violent; instead we should just fail to probe the device.
Kept a WARN_ON as this problem indicates a broken or misconfigured NIC.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-03 15:57:50 -05:00
..
2013-08-29 23:34:51 +01:00
2014-07-22 19:55:20 -07:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00
2013-12-12 22:06:54 +00:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00
2014-07-22 19:55:20 -07:00
2014-10-17 23:47:32 -04:00
2013-08-29 23:34:51 +01:00
2014-07-22 19:55:20 -07:00
2014-07-22 19:55:20 -07:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00