sfc: Work around unreliable strap pins
authorBen Hutchings <bhutchings@solarflare.com>
Sat, 13 Dec 2008 05:34:25 +0000 (21:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 05:57:43 +0000 (21:57 -0800)
commit2f7f573095132240916a8780cd5ef648c0ad7281
tree6994bfecab96c9336a1b0855231fd020c2039dea
parentbe4ea89c8df06f48d0d64cf1d9d20009e83c77c8
sfc: Work around unreliable strap pins

The SFC4000 has strap pins indicating the presence of SPI flash and/or
EEPROM.  These pins are also used for GPIO, and in some cases they may
be read wrongly at reset.  However, on production boards it must boot
from one or the other device, so we can assume the boot device is
present and read the board config from there.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon.c