aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcm43xx/bcm43xx_main.c
diff options
context:
space:
mode:
authorMichael Buesch <mbuesch@freenet.de>2006-01-31 14:11:38 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-03-27 11:18:26 -0500
commit65f3f19120cf32233f537562e69893b88727b634 (patch)
tree1e220d79294ff13116be5589efaf6ab1e4fdbd5a /drivers/net/wireless/bcm43xx/bcm43xx_main.c
parent6f3e2045cabd952a86bc819181d8a190cd0689c3 (diff)
[PATCH] bcm43xx: Fix makefile. Remove all the "out-of-tree" stuff.
Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_main.c')
-rw-r--r--drivers/net/wireless/bcm43xx/bcm43xx_main.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
index 4b4e60a22c0b..cfb0f0a485a7 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -2471,7 +2471,7 @@ static int bcm43xx_initialize_irq(struct bcm43xx_private *bcm)
2471 } 2471 }
2472#endif 2472#endif
2473 res = request_irq(bcm->irq, bcm43xx_interrupt_handler, 2473 res = request_irq(bcm->irq, bcm43xx_interrupt_handler,
2474 SA_SHIRQ, DRV_NAME, bcm); 2474 SA_SHIRQ, KBUILD_MODNAME, bcm);
2475 if (res) { 2475 if (res) {
2476 printk(KERN_ERR PFX "Cannot register IRQ%d\n", bcm->irq); 2476 printk(KERN_ERR PFX "Cannot register IRQ%d\n", bcm->irq);
2477 return -EFAULT; 2477 return -EFAULT;
@@ -3809,7 +3809,7 @@ static int bcm43xx_attach_board(struct bcm43xx_private *bcm)
3809 } 3809 }
3810#endif 3810#endif
3811 3811
3812 err = pci_request_regions(pci_dev, DRV_NAME); 3812 err = pci_request_regions(pci_dev, KBUILD_MODNAME);
3813 if (err) { 3813 if (err) {
3814 printk(KERN_ERR PFX 3814 printk(KERN_ERR PFX
3815 "could not access PCI resources (%i)\n", err); 3815 "could not access PCI resources (%i)\n", err);
@@ -4389,12 +4389,11 @@ static int __devinit bcm43xx_init_one(struct pci_dev *pdev,
4389#endif 4389#endif
4390 net_dev->wireless_handlers = &bcm43xx_wx_handlers_def; 4390 net_dev->wireless_handlers = &bcm43xx_wx_handlers_def;
4391 net_dev->irq = pdev->irq; 4391 net_dev->irq = pdev->irq;
4392 net_dev->watchdog_timeo = BCM43xx_TX_TIMEOUT;
4393 4392
4394 /* initialize the bcm43xx_private struct */ 4393 /* initialize the bcm43xx_private struct */
4395 bcm = bcm43xx_priv(net_dev); 4394 bcm = bcm43xx_priv(net_dev);
4396 memset(bcm, 0, sizeof(*bcm)); 4395 memset(bcm, 0, sizeof(*bcm));
4397 wq = create_workqueue(DRV_NAME "_wq"); 4396 wq = create_workqueue(KBUILD_MODNAME "_wq");
4398 if (!wq) { 4397 if (!wq) {
4399 err = -ENOMEM; 4398 err = -ENOMEM;
4400 goto err_free_netdev; 4399 goto err_free_netdev;
@@ -4567,7 +4566,7 @@ static int bcm43xx_resume(struct pci_dev *pdev)
4567#endif /* CONFIG_PM */ 4566#endif /* CONFIG_PM */
4568 4567
4569static struct pci_driver bcm43xx_pci_driver = { 4568static struct pci_driver bcm43xx_pci_driver = {
4570 .name = BCM43xx_DRIVER_NAME, 4569 .name = KBUILD_MODNAME,
4571 .id_table = bcm43xx_pci_tbl, 4570 .id_table = bcm43xx_pci_tbl,
4572 .probe = bcm43xx_init_one, 4571 .probe = bcm43xx_init_one,
4573 .remove = __devexit_p(bcm43xx_remove_one), 4572 .remove = __devexit_p(bcm43xx_remove_one),
@@ -4579,7 +4578,7 @@ static struct pci_driver bcm43xx_pci_driver = {
4579 4578
4580static int __init bcm43xx_init(void) 4579static int __init bcm43xx_init(void)
4581{ 4580{
4582 printk(KERN_INFO BCM43xx_DRIVER_NAME "\n"); 4581 printk(KERN_INFO KBUILD_MODNAME " driver\n");
4583 bcm43xx_debugfs_init(); 4582 bcm43xx_debugfs_init();
4584 return pci_register_driver(&bcm43xx_pci_driver); 4583 return pci_register_driver(&bcm43xx_pci_driver);
4585} 4584}