summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorCasey Leedom <leedom@chelsio.com>2018-07-07 12:38:07 +0530
committerDavid S. Miller <davem@davemloft.net>2018-07-07 19:57:33 +0900
commit843789f6dd6ae1651a77ac99c13bcaf191ebe05c (patch)
tree15bf3d7537ffdfd30786676118e348a06dcca86b /net
parent7f978e859f41e4d95a3ea14794d2577f755d7924 (diff)
cxgb4: assume flash part size to be 4MB, if it can't be determined
t4_get_flash_params() fails in a fatal fashion if the FLASH part isn't one of the recognized parts. But this leads to desperate efforts to update drivers when various FLASH parts which we are using suddenly become unavailable and we need to substitute new FLASH parts. This has lead to more than one Customer Field Emergency when a Customer has an old driver and suddenly can't use newly shipped adapters. This commit fixes this by simply assuming that the FLASH part is 4MB in size if it can't be identified. Note that all Chelsio adapters will have flash parts which are at least 4MB in size. Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions