]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/natsemi.c
Massive net driver const-ification.
[net-next-2.6.git] / drivers / net / natsemi.c
index 9d6d2548c2d36a4a04f9dfb9e31dbccb2e7729e4..01920648fc389c3346fbdc217436530e207cacf9 100644 (file)
@@ -189,7 +189,7 @@ static int mtu;
 
 /* Maximum number of multicast addresses to filter (vs. rx-all-multicast).
    This chip uses a 512 element hash table based on the Ethernet CRC.  */
-static int multicast_filter_limit = 100;
+static const int multicast_filter_limit = 100;
 
 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
    Setting to > 1518 effectively disables this feature. */
@@ -374,7 +374,7 @@ enum pcistuff {
 
  
 /* array of board data directly indexed by pci_tbl[x].driver_data */
-static struct {
+static const struct {
        const char *name;
        unsigned long flags;
 } natsemi_pci_info[] __devinitdata = {