diff options
-rw-r--r-- | drivers/net/3c59x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 78f90eb02b9c..0139d4b061ed 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -903,11 +903,11 @@ static void set_8021q_mode(struct net_device *dev, int enable); | |||
903 | /* This driver uses 'options' to pass the media type, full-duplex flag, etc. */ | 903 | /* This driver uses 'options' to pass the media type, full-duplex flag, etc. */ |
904 | /* Option count limit only -- unlimited interfaces are supported. */ | 904 | /* Option count limit only -- unlimited interfaces are supported. */ |
905 | #define MAX_UNITS 8 | 905 | #define MAX_UNITS 8 |
906 | static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1,}; | 906 | static int options[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 }; |
907 | static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; | 907 | static int full_duplex[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; |
908 | static int hw_checksums[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; | 908 | static int hw_checksums[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; |
909 | static int flow_ctrl[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; | 909 | static int flow_ctrl[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; |
910 | static int enable_wol[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; | 910 | static int enable_wol[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; |
911 | static int global_options = -1; | 911 | static int global_options = -1; |
912 | static int global_full_duplex = -1; | 912 | static int global_full_duplex = -1; |
913 | static int global_enable_wol = -1; | 913 | static int global_enable_wol = -1; |