aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-02-14 03:33:16 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 11:09:54 -0500
commit38515e908ba3a9c467ad3bf347b9bce69216df94 (patch)
tree3bb0287ad4ea18d61cb3cad74337343ef5034b5d /drivers/net
parent3159f06dc2303630c02d1ad2eeaeaf341414c9df (diff)
[PATCH] Scheduled removal of SA_xxx interrupt flags fixups
The obsolete SA_xxx interrupt flags have been used despite the scheduled removal. Fixup the remaining users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@elte.hu> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Jeff Garzik <jeff@garzik.org> Cc: Wim Van Sebroeck <wim@iguana.be> Cc: Roland Dreier <rolandd@cisco.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: James Bottomley <James.Bottomley@steeleye.com> Cc: Greg KH <greg@kroah.com> Cc: Dave Airlie <airlied@linux.ie> Cc: James Simmons <jsimmons@infradead.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/7990.c2
-rw-r--r--drivers/net/ehea/ehea_main.c8
-rw-r--r--drivers/net/macb.c2
-rw-r--r--drivers/net/netxen/netxen_nic_main.c4
-rwxr-xr-xdrivers/net/qla3xxx.c4
-rw-r--r--drivers/net/ucc_geth.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/7990.c b/drivers/net/7990.c
index 2d5ba076471c..1b3d11ed6cff 100644
--- a/drivers/net/7990.c
+++ b/drivers/net/7990.c
@@ -500,7 +500,7 @@ int lance_open (struct net_device *dev)
500 int res; 500 int res;
501 501
502 /* Install the Interrupt handler. Or we could shunt this out to specific drivers? */ 502 /* Install the Interrupt handler. Or we could shunt this out to specific drivers? */
503 if (request_irq(lp->irq, lance_interrupt, SA_SHIRQ, lp->name, dev)) 503 if (request_irq(lp->irq, lance_interrupt, IRQF_SHARED, lp->name, dev))
504 return -EAGAIN; 504 return -EAGAIN;
505 505
506 res = lance_reset(dev); 506 res = lance_reset(dev);
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c
index 9de2d38a5321..38b2fa424b2d 100644
--- a/drivers/net/ehea/ehea_main.c
+++ b/drivers/net/ehea/ehea_main.c
@@ -882,7 +882,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
882 , "%s-recv%d", dev->name, i); 882 , "%s-recv%d", dev->name, i);
883 ret = ibmebus_request_irq(NULL, pr->recv_eq->attr.ist1, 883 ret = ibmebus_request_irq(NULL, pr->recv_eq->attr.ist1,
884 ehea_recv_irq_handler, 884 ehea_recv_irq_handler,
885 SA_INTERRUPT, pr->int_recv_name, pr); 885 IRQF_DISABLED, pr->int_recv_name, pr);
886 if (ret) { 886 if (ret) {
887 ehea_error("failed registering irq for ehea_recv_int:" 887 ehea_error("failed registering irq for ehea_recv_int:"
888 "port_res_nr:%d, ist=%X", i, 888 "port_res_nr:%d, ist=%X", i,
@@ -899,7 +899,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
899 899
900 ret = ibmebus_request_irq(NULL, port->qp_eq->attr.ist1, 900 ret = ibmebus_request_irq(NULL, port->qp_eq->attr.ist1,
901 ehea_qp_aff_irq_handler, 901 ehea_qp_aff_irq_handler,
902 SA_INTERRUPT, port->int_aff_name, port); 902 IRQF_DISABLED, port->int_aff_name, port);
903 if (ret) { 903 if (ret) {
904 ehea_error("failed registering irq for qp_aff_irq_handler:" 904 ehea_error("failed registering irq for qp_aff_irq_handler:"
905 "ist=%X", port->qp_eq->attr.ist1); 905 "ist=%X", port->qp_eq->attr.ist1);
@@ -916,7 +916,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
916 "%s-send%d", dev->name, i); 916 "%s-send%d", dev->name, i);
917 ret = ibmebus_request_irq(NULL, pr->send_eq->attr.ist1, 917 ret = ibmebus_request_irq(NULL, pr->send_eq->attr.ist1,
918 ehea_send_irq_handler, 918 ehea_send_irq_handler,
919 SA_INTERRUPT, pr->int_send_name, 919 IRQF_DISABLED, pr->int_send_name,
920 pr); 920 pr);
921 if (ret) { 921 if (ret) {
922 ehea_error("failed registering irq for ehea_send " 922 ehea_error("failed registering irq for ehea_send "
@@ -2539,7 +2539,7 @@ static int __devinit ehea_probe(struct ibmebus_dev *dev,
2539 (unsigned long)adapter); 2539 (unsigned long)adapter);
2540 2540
2541 ret = ibmebus_request_irq(NULL, adapter->neq->attr.ist1, 2541 ret = ibmebus_request_irq(NULL, adapter->neq->attr.ist1,
2542 ehea_interrupt_neq, SA_INTERRUPT, 2542 ehea_interrupt_neq, IRQF_DISABLED,
2543 "ehea_neq", adapter); 2543 "ehea_neq", adapter);
2544 if (ret) { 2544 if (ret) {
2545 dev_err(&dev->ofdev.dev, "requesting NEQ IRQ failed"); 2545 dev_err(&dev->ofdev.dev, "requesting NEQ IRQ failed");
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index e67361e2bf5d..a41418b3c518 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -1077,7 +1077,7 @@ static int __devinit macb_probe(struct platform_device *pdev)
1077 } 1077 }
1078 1078
1079 dev->irq = platform_get_irq(pdev, 0); 1079 dev->irq = platform_get_irq(pdev, 0);
1080 err = request_irq(dev->irq, macb_interrupt, SA_SAMPLE_RANDOM, 1080 err = request_irq(dev->irq, macb_interrupt, IRQF_SAMPLE_RANDOM,
1081 dev->name, dev); 1081 dev->name, dev);
1082 if (err) { 1082 if (err) {
1083 printk(KERN_ERR 1083 printk(KERN_ERR
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 69c1b9d23a1a..36ba6a1aa363 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -619,8 +619,8 @@ static int netxen_nic_open(struct net_device *netdev)
619 } 619 }
620 adapter->irq = adapter->ahw.pdev->irq; 620 adapter->irq = adapter->ahw.pdev->irq;
621 err = request_irq(adapter->ahw.pdev->irq, &netxen_intr, 621 err = request_irq(adapter->ahw.pdev->irq, &netxen_intr,
622 SA_SHIRQ | SA_SAMPLE_RANDOM, netdev->name, 622 IRQF_SHARED | IRQF_SAMPLE_RANDOM,
623 adapter); 623 netdev->name, adapter);
624 if (err) { 624 if (err) {
625 printk(KERN_ERR "request_irq failed with: %d\n", err); 625 printk(KERN_ERR "request_irq failed with: %d\n", err);
626 netxen_free_hw_resources(adapter); 626 netxen_free_hw_resources(adapter);
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index 2429b274f0b0..a142cdfd947b 100755
--- a/drivers/net/qla3xxx.c
+++ b/drivers/net/qla3xxx.c
@@ -3228,7 +3228,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)
3228{ 3228{
3229 struct net_device *ndev = qdev->ndev; 3229 struct net_device *ndev = qdev->ndev;
3230 int err; 3230 int err;
3231 unsigned long irq_flags = SA_SAMPLE_RANDOM | SA_SHIRQ; 3231 unsigned long irq_flags = IRQF_SAMPLE_RANDOM | IRQF_SHARED;
3232 unsigned long hw_flags; 3232 unsigned long hw_flags;
3233 3233
3234 if (ql_alloc_mem_resources(qdev)) { 3234 if (ql_alloc_mem_resources(qdev)) {
@@ -3247,7 +3247,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)
3247 } else { 3247 } else {
3248 printk(KERN_INFO PFX "%s: MSI Enabled...\n", qdev->ndev->name); 3248 printk(KERN_INFO PFX "%s: MSI Enabled...\n", qdev->ndev->name);
3249 set_bit(QL_MSI_ENABLED,&qdev->flags); 3249 set_bit(QL_MSI_ENABLED,&qdev->flags);
3250 irq_flags &= ~SA_SHIRQ; 3250 irq_flags &= ~IRQF_SHARED;
3251 } 3251 }
3252 } 3252 }
3253 3253
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 31c97a6591a4..a2fc2bbcf97f 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3939,8 +3939,8 @@ static void ugeth_phy_startup_timer(unsigned long data)
3939 /* Grab the PHY interrupt, if necessary/possible */ 3939 /* Grab the PHY interrupt, if necessary/possible */
3940 if (ugeth->ug_info->board_flags & FSL_UGETH_BRD_HAS_PHY_INTR) { 3940 if (ugeth->ug_info->board_flags & FSL_UGETH_BRD_HAS_PHY_INTR) {
3941 if (request_irq(ugeth->ug_info->phy_interrupt, 3941 if (request_irq(ugeth->ug_info->phy_interrupt,
3942 phy_interrupt, 3942 phy_interrupt, IRQF_SHARED,
3943 SA_SHIRQ, "phy_interrupt", mii_info->dev) < 0) { 3943 "phy_interrupt", mii_info->dev) < 0) {
3944 ugeth_err("%s: Can't get IRQ %d (PHY)", 3944 ugeth_err("%s: Can't get IRQ %d (PHY)",
3945 mii_info->dev->name, 3945 mii_info->dev->name,
3946 ugeth->ug_info->phy_interrupt); 3946 ugeth->ug_info->phy_interrupt);