aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-01-06 21:28:12 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-06 21:28:12 -0500
commit356b95424cfb456e14a59eaa579422ce014c424b (patch)
treec0478479041f82ccd7a95157dddf2fd2d59ad8c5 /drivers
parent770e1b035dcb6ec3f8ee69dda0815dd1e220a683 (diff)
parent3bd9e50b4297b0d85bb86a8f2ade941c0f9c21fd (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (21 commits) m68k/mac: Make CONFIG_HEARTBEAT unavailable on Mac m68k/serial: Remove references to obsolete serial config options m68k/net: Remove obsolete IRQ_FLG_* users m68k: Don't comment out syscalls used by glibc m68k/atari: Move declaration of atari_SCC_reset_done to header file m68k/serial: Remove references to obsolete CONFIG_SERIAL167 m68k/hp300: Export hp300_ledstate m68k: Initconst section fixes m68k/mac: cleanup macro case mac_scsi: fix mac_scsi on some powerbooks m68k/mac: fix powerbook 150 adb_type m68k/mac: fix baboon irq disable and shutdown m68k/mac: oss irq fixes m68k/mac: fix nubus slot irq disable and shutdown m68k/mac: enable via_alt_mapping on performa 580 m68k/mac: cleanup forward declarations m68k/mac: cleanup mac_irq_pending m68k/mac: cleanup mac_clear_irq m68k/mac: early console m68k/mvme16x: Add support for EARLY_PRINTK ... Fix up trivial conflict in arch/m68k/Kconfig.debug due to new EARLY_PRINTK config option addition clashing with movement of the BOOTPARAM options.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/swim.c1
-rw-r--r--drivers/net/ethernet/natsemi/macsonic.c7
-rw-r--r--drivers/scsi/mac_esp.c3
3 files changed, 5 insertions, 6 deletions
diff --git a/drivers/block/swim.c b/drivers/block/swim.c
index fd5adcd55944..6d5a914b9619 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 70367d76fc8d..f1b85561c650 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 590ce1ef2016..4ceeace80453 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)