diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index a065beb229f1..f944c6b97dd6 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -11866,6 +11866,8 @@ static void __devinit tg3_get_5717_nvram_info(struct tg3 *tp) | |||
11866 | 11866 | ||
11867 | switch (nvcfg1 & NVRAM_CFG1_5752VENDOR_MASK) { | 11867 | switch (nvcfg1 & NVRAM_CFG1_5752VENDOR_MASK) { |
11868 | case FLASH_5717VENDOR_ATMEL_MDB021D: | 11868 | case FLASH_5717VENDOR_ATMEL_MDB021D: |
11869 | /* Detect size with tg3_nvram_get_size() */ | ||
11870 | break; | ||
11869 | case FLASH_5717VENDOR_ATMEL_ADB021B: | 11871 | case FLASH_5717VENDOR_ATMEL_ADB021B: |
11870 | case FLASH_5717VENDOR_ATMEL_ADB021D: | 11872 | case FLASH_5717VENDOR_ATMEL_ADB021D: |
11871 | tp->nvram_size = TG3_NVRAM_SIZE_256KB; | 11873 | tp->nvram_size = TG3_NVRAM_SIZE_256KB; |
@@ -11891,8 +11893,10 @@ static void __devinit tg3_get_5717_nvram_info(struct tg3 *tp) | |||
11891 | 11893 | ||
11892 | switch (nvcfg1 & NVRAM_CFG1_5752VENDOR_MASK) { | 11894 | switch (nvcfg1 & NVRAM_CFG1_5752VENDOR_MASK) { |
11893 | case FLASH_5717VENDOR_ST_M_M25PE20: | 11895 | case FLASH_5717VENDOR_ST_M_M25PE20: |
11894 | case FLASH_5717VENDOR_ST_A_M25PE20: | ||
11895 | case FLASH_5717VENDOR_ST_M_M45PE20: | 11896 | case FLASH_5717VENDOR_ST_M_M45PE20: |
11897 | /* Detect size with tg3_nvram_get_size() */ | ||
11898 | break; | ||
11899 | case FLASH_5717VENDOR_ST_A_M25PE20: | ||
11896 | case FLASH_5717VENDOR_ST_A_M45PE20: | 11900 | case FLASH_5717VENDOR_ST_A_M45PE20: |
11897 | tp->nvram_size = TG3_NVRAM_SIZE_256KB; | 11901 | tp->nvram_size = TG3_NVRAM_SIZE_256KB; |
11898 | break; | 11902 | break; |