Skip to content

Commit

Permalink
Merge branch 'netdev-2.6.20' of master.kernel.org:/pub/scm/linux/kern…
Browse files Browse the repository at this point in the history
…el/git/viro/bird into tmp
  • Loading branch information
Jeff Garzik committed Dec 4, 2006
2 parents ff51a98 + c69fda4 commit 2ad657c
Show file tree
Hide file tree
Showing 41 changed files with 139 additions and 131 deletions.
2 changes: 1 addition & 1 deletion drivers/net/3c501.c
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ int __init init_module(void)
* and then free up the resources we took when the card was found.
*/

void cleanup_module(void)
void __exit cleanup_module(void)
{
struct net_device *dev = dev_3c501;
unregister_netdev(dev);
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/3c503.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ static void cleanup_card(struct net_device *dev)
iounmap(ei_status.mem);
}

void
void __exit
cleanup_module(void)
{
int this_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/3c505.c
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ int __init init_module(void)
return 0;
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
int this_dev;

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/3c507.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ int __init init_module(void)
return IS_ERR(dev_3c507) ? PTR_ERR(dev_3c507) : 0;
}

void
void __exit
cleanup_module(void)
{
struct net_device *dev = dev_3c507;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/3c523.c
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ int __init init_module(void)
} else return 0;
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
int this_dev;
for (this_dev=0; this_dev<MAX_3C523_CARDS; this_dev++) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/3c527.c
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ int __init init_module(void)
* transmit operations are allowed to start scribbling into memory.
*/

void cleanup_module(void)
void __exit cleanup_module(void)
{
unregister_netdev(this_device);
cleanup_card(this_device);
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ac3200.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ static void cleanup_card(struct net_device *dev)
iounmap(ei_status.mem);
}

void
void __exit
cleanup_module(void)
{
int this_dev;
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/apne.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,15 +568,15 @@ static irqreturn_t apne_interrupt(int irq, void *dev_id)
#ifdef MODULE
static struct net_device *apne_dev;

int init_module(void)
int __init init_module(void)
{
apne_dev = apne_probe(-1);
if (IS_ERR(apne_dev))
return PTR_ERR(apne_dev);
return 0;
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
unregister_netdev(apne_dev);

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/appletalk/cops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ int __init init_module(void)
return 0;
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
unregister_netdev(cops_dev);
cleanup_card(cops_dev);
Expand Down
6 changes: 3 additions & 3 deletions drivers/net/arm/ether1.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ ether1_readbuffer (struct net_device *dev, void *data, unsigned int start, unsig
} while (thislen);
}

static int __init
static int __devinit
ether1_ramtest(struct net_device *dev, unsigned char byte)
{
unsigned char *buffer = kmalloc (BUFFER_SIZE, GFP_KERNEL);
Expand Down Expand Up @@ -308,7 +308,7 @@ ether1_reset (struct net_device *dev)
return BUS_16;
}

static int __init
static int __devinit
ether1_init_2(struct net_device *dev)
{
int i;
Expand Down Expand Up @@ -986,7 +986,7 @@ ether1_setmulticastlist (struct net_device *dev)

/* ------------------------------------------------------------------------- */

static void __init ether1_banner(void)
static void __devinit ether1_banner(void)
{
static unsigned int version_printed = 0;

Expand Down
8 changes: 4 additions & 4 deletions drivers/net/arm/ether3.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static inline void ether3_ledon(struct net_device *dev)
* Read the ethernet address string from the on board rom.
* This is an ascii string!!!
*/
static int __init
static int __devinit
ether3_addr(char *addr, struct expansion_card *ec)
{
struct in_chunk_dir cd;
Expand All @@ -223,7 +223,7 @@ ether3_addr(char *addr, struct expansion_card *ec)

/* --------------------------------------------------------------------------- */

static int __init
static int __devinit
ether3_ramtest(struct net_device *dev, unsigned char byte)
{
unsigned char *buffer = kmalloc(RX_END, GFP_KERNEL);
Expand Down Expand Up @@ -272,7 +272,7 @@ ether3_ramtest(struct net_device *dev, unsigned char byte)

/* ------------------------------------------------------------------------------- */

static int __init ether3_init_2(struct net_device *dev)
static int __devinit ether3_init_2(struct net_device *dev)
{
int i;

Expand Down Expand Up @@ -765,7 +765,7 @@ static void ether3_tx(struct net_device *dev)
}
}

static void __init ether3_banner(void)
static void __devinit ether3_banner(void)
{
static unsigned version_printed = 0;

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/at1700.c
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ int __init init_module(void)
return 0;
}

void
void __exit
cleanup_module(void)
{
unregister_netdev(dev_at1700);
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/atarilance.c
Original file line number Diff line number Diff line change
Expand Up @@ -1179,15 +1179,15 @@ static int lance_set_mac_address( struct net_device *dev, void *addr )
#ifdef MODULE
static struct net_device *atarilance_dev;

int init_module(void)
int __init init_module(void)
{
atarilance_dev = atarilance_probe(-1);
if (IS_ERR(atarilance_dev))
return PTR_ERR(atarilance_dev);
return 0;
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
unregister_netdev(atarilance_dev);
free_irq(atarilance_dev->irq, atarilance_dev);
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/cs89x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@ int __init init_module(void)
return ret;
}

void
void __exit
cleanup_module(void)
{
unregister_netdev(dev_cs89x0);
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/e2100.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ static void cleanup_card(struct net_device *dev)
release_region(dev->base_addr, E21_IO_EXTENT);
}

void
void __exit
cleanup_module(void)
{
int this_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/eepro.c
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,7 @@ int __init init_module(void)
return n_eepro ? 0 : -ENODEV;
}

void
void __exit
cleanup_module(void)
{
int i;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/eexpress.c
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@ int __init init_module(void)
return -ENXIO;
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
int this_dev;

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/es3210.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ static void cleanup_card(struct net_device *dev)
iounmap(ei_status.mem);
}

void
void __exit
cleanup_module(void)
{
int this_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/eth16i.c
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ int __init init_module(void)
return -ENXIO;
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
int this_dev;

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hp-plus.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ static void cleanup_card(struct net_device *dev)
release_region(dev->base_addr - NIC_OFFSET, HP_IO_EXTENT);
}

void
void __exit
cleanup_module(void)
{
int this_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hp.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static void cleanup_card(struct net_device *dev)
release_region(dev->base_addr - NIC_OFFSET, HP_IO_EXTENT);
}

void
void __exit
cleanup_module(void)
{
int this_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/lance.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ static void cleanup_card(struct net_device *dev)
kfree(lp);
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
int this_dev;

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/lne390.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ static void cleanup_card(struct net_device *dev)
iounmap(ei_status.mem);
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
int this_dev;

Expand Down
4 changes: 2 additions & 2 deletions drivers/net/mv643xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ static void eth_tx_fill_frag_descs(struct mv643xx_private *mp,
ETH_TX_ENABLE_INTERRUPT;
mp->tx_skb[tx_index] = skb;
} else
mp->tx_skb[tx_index] = 0;
mp->tx_skb[tx_index] = NULL;

desc = &mp->p_tx_desc_area[tx_index];
desc->l4i_chk = 0;
Expand Down Expand Up @@ -1134,7 +1134,7 @@ static void eth_tx_submit_descs_for_skb(struct mv643xx_private *mp,
eth_tx_fill_frag_descs(mp, skb);

length = skb_headlen(skb);
mp->tx_skb[tx_index] = 0;
mp->tx_skb[tx_index] = NULL;
} else {
cmd_sts |= ETH_ZERO_PADDING |
ETH_TX_LAST_DESC |
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/mvme147.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,15 @@ static int m147lance_close(struct net_device *dev)
MODULE_LICENSE("GPL");

static struct net_device *dev_mvme147_lance;
int init_module(void)
int __init init_module(void)
{
dev_mvme147_lance = mvme147lance_probe(-1);
if (IS_ERR(dev_mvme147_lance))
return PTR_ERR(dev_mvme147_lance);
return 0;
}

void cleanup_module(void)
void __exit cleanup_module(void)
{
struct m147lance_private *lp = dev_mvme147_lance->priv;
unregister_netdev(dev_mvme147_lance);
Expand Down
Loading

0 comments on commit 2ad657c

Please sign in to comment.