diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/swim.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/natsemi/macsonic.c | 7 | ||||
-rw-r--r-- | drivers/scsi/mac_esp.c | 3 |
3 files changed, 5 insertions, 6 deletions
diff --git a/drivers/block/swim.c b/drivers/block/swim.c index fd5adcd5594..6d5a914b961 100644 --- a/drivers/block/swim.c +++ b/drivers/block/swim.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
27 | #include <linux/platform_device.h> | 27 | #include <linux/platform_device.h> |
28 | 28 | ||
29 | #include <asm/macintosh.h> | ||
30 | #include <asm/mac_via.h> | 29 | #include <asm/mac_via.h> |
31 | 30 | ||
32 | #define CARDNAME "swim" | 31 | #define CARDNAME "swim" |
diff --git a/drivers/net/ethernet/natsemi/macsonic.c b/drivers/net/ethernet/natsemi/macsonic.c index 70367d76fc8..f1b85561c65 100644 --- a/drivers/net/ethernet/natsemi/macsonic.c +++ b/drivers/net/ethernet/natsemi/macsonic.c | |||
@@ -142,8 +142,7 @@ static int macsonic_open(struct net_device* dev) | |||
142 | { | 142 | { |
143 | int retval; | 143 | int retval; |
144 | 144 | ||
145 | retval = request_irq(dev->irq, sonic_interrupt, IRQ_FLG_FAST, | 145 | retval = request_irq(dev->irq, sonic_interrupt, 0, "sonic", dev); |
146 | "sonic", dev); | ||
147 | if (retval) { | 146 | if (retval) { |
148 | printk(KERN_ERR "%s: unable to get IRQ %d.\n", | 147 | printk(KERN_ERR "%s: unable to get IRQ %d.\n", |
149 | dev->name, dev->irq); | 148 | dev->name, dev->irq); |
@@ -154,8 +153,8 @@ static int macsonic_open(struct net_device* dev) | |||
154 | * rupt as well, which must prevent re-entrance of the sonic handler. | 153 | * rupt as well, which must prevent re-entrance of the sonic handler. |
155 | */ | 154 | */ |
156 | if (dev->irq == IRQ_AUTO_3) { | 155 | if (dev->irq == IRQ_AUTO_3) { |
157 | retval = request_irq(IRQ_NUBUS_9, macsonic_interrupt, | 156 | retval = request_irq(IRQ_NUBUS_9, macsonic_interrupt, 0, |
158 | IRQ_FLG_FAST, "sonic", dev); | 157 | "sonic", dev); |
159 | if (retval) { | 158 | if (retval) { |
160 | printk(KERN_ERR "%s: unable to get IRQ %d.\n", | 159 | printk(KERN_ERR "%s: unable to get IRQ %d.\n", |
161 | dev->name, IRQ_NUBUS_9); | 160 | dev->name, IRQ_NUBUS_9); |
diff --git a/drivers/scsi/mac_esp.c b/drivers/scsi/mac_esp.c index 590ce1ef201..4ceeace8045 100644 --- a/drivers/scsi/mac_esp.c +++ b/drivers/scsi/mac_esp.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <asm/dma.h> | 25 | #include <asm/dma.h> |
26 | #include <asm/macints.h> | 26 | #include <asm/macints.h> |
27 | #include <asm/macintosh.h> | 27 | #include <asm/macintosh.h> |
28 | #include <asm/mac_via.h> | ||
28 | 29 | ||
29 | #include <scsi/scsi_host.h> | 30 | #include <scsi/scsi_host.h> |
30 | 31 | ||
@@ -149,7 +150,7 @@ static inline int mac_esp_wait_for_dreq(struct esp *esp) | |||
149 | 150 | ||
150 | do { | 151 | do { |
151 | if (mep->pdma_regs == NULL) { | 152 | if (mep->pdma_regs == NULL) { |
152 | if (mac_irq_pending(IRQ_MAC_SCSIDRQ)) | 153 | if (via2_scsi_drq_pending()) |
153 | return 0; | 154 | return 0; |
154 | } else { | 155 | } else { |
155 | if (nubus_readl(mep->pdma_regs) & 0x200) | 156 | if (nubus_readl(mep->pdma_regs) & 0x200) |