X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fstarfire.c;h=35b18057fbdd4607481b2e5a2245976dc71fcb1a;hb=f360ce3be466d50de153b001b24561ca7593042b;hp=ed5458c45446930a8baadc4a63860b5f5f4b8edd;hpb=ef6f63a4aafcf6c79ac371f3c78a96b76c0f0596;p=linux-2.6-omap-h63xx.git diff --git a/drivers/net/starfire.c b/drivers/net/starfire.c index ed5458c4544..35b18057fbd 100644 --- a/drivers/net/starfire.c +++ b/drivers/net/starfire.c @@ -201,7 +201,7 @@ static int max_interrupt_work = 20; static int mtu; /* Maximum number of multicast addresses to filter (vs. rx-all-multicast). The Starfire has a 512 element hash table based on the Ethernet CRC. */ -static int multicast_filter_limit = 512; +static const int multicast_filter_limit = 512; /* Whether to do TCP/UDP checksums in hardware */ static int enable_hw_cksum = 1; @@ -463,7 +463,7 @@ static struct pci_device_id starfire_pci_tbl[] = { MODULE_DEVICE_TABLE(pci, starfire_pci_tbl); /* A chip capabilities table, matching the CH_xxx entries in xxx_pci_tbl[] above. */ -static struct chip_info { +static const struct chip_info { const char *name; int drv_flags; } netdrv_tbl[] __devinitdata = {