diff options
author | Arjan van de Ven <arjan@infradead.org> | 2006-03-03 21:33:57 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-03 21:33:57 -0500 |
commit | f71e130966ba429dbd24be08ddbcdf263df9a5ad (patch) | |
tree | 523f10c926012f520c47894811b94944a7793fd5 /drivers/net/natsemi.c | |
parent | c499ec24c31edf270e777a868ffd0daddcfe7ebd (diff) |
Massive net driver const-ification.
Diffstat (limited to 'drivers/net/natsemi.c')
-rw-r--r-- | drivers/net/natsemi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 9d6d2548c2d3..01920648fc38 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c | |||
@@ -189,7 +189,7 @@ static int mtu; | |||
189 | 189 | ||
190 | /* Maximum number of multicast addresses to filter (vs. rx-all-multicast). | 190 | /* Maximum number of multicast addresses to filter (vs. rx-all-multicast). |
191 | This chip uses a 512 element hash table based on the Ethernet CRC. */ | 191 | This chip uses a 512 element hash table based on the Ethernet CRC. */ |
192 | static int multicast_filter_limit = 100; | 192 | static const int multicast_filter_limit = 100; |
193 | 193 | ||
194 | /* Set the copy breakpoint for the copy-only-tiny-frames scheme. | 194 | /* Set the copy breakpoint for the copy-only-tiny-frames scheme. |
195 | Setting to > 1518 effectively disables this feature. */ | 195 | Setting to > 1518 effectively disables this feature. */ |
@@ -374,7 +374,7 @@ enum pcistuff { | |||
374 | 374 | ||
375 | 375 | ||
376 | /* array of board data directly indexed by pci_tbl[x].driver_data */ | 376 | /* array of board data directly indexed by pci_tbl[x].driver_data */ |
377 | static struct { | 377 | static const struct { |
378 | const char *name; | 378 | const char *name; |
379 | unsigned long flags; | 379 | unsigned long flags; |
380 | } natsemi_pci_info[] __devinitdata = { | 380 | } natsemi_pci_info[] __devinitdata = { |