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/starfire.c | |
parent | c499ec24c31edf270e777a868ffd0daddcfe7ebd (diff) | |
download | linux-f71e130966ba429dbd24be08ddbcdf263df9a5ad.tar.bz2 |
Massive net driver const-ification.
Diffstat (limited to 'drivers/net/starfire.c')
-rw-r--r-- | drivers/net/starfire.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/starfire.c b/drivers/net/starfire.c index d167deda9a53..a6bf5728fed1 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 = { |