diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 17:13:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 17:13:35 -0400 |
commit | a92b166e6b8c3c0037493690b2800b0b0dd92063 (patch) | |
tree | 0d9d52d09d5145f2a058b546077c641413786b48 /arch/m68k | |
parent | 0d6ffdb8f151a2b685c7b45bde7ab2d49fc1bb00 (diff) | |
parent | 2190a1e7705456c2298873b2547a6eb19b8e31ae (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:
zorro: Fix reading of proc/bus/zorro/* in small chunks
zorro: BKL removal
m68k/mac: Fix RTC on PMU machines
m68k/mac: Add color classic ii support
arch/m68k/sun3/leds.c: Checkpatch cleanup
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/mac/config.c | 9 | ||||
-rw-r--r-- | arch/m68k/mac/misc.c | 6 | ||||
-rw-r--r-- | arch/m68k/sun3/leds.c | 4 |
3 files changed, 14 insertions, 5 deletions
diff --git a/arch/m68k/mac/config.c b/arch/m68k/mac/config.c index 1c16b1baf8db..c247de02bc7e 100644 --- a/arch/m68k/mac/config.c +++ b/arch/m68k/mac/config.c | |||
@@ -332,6 +332,15 @@ static struct mac_model mac_data_table[] = { | |||
332 | .scc_type = MAC_SCC_II, | 332 | .scc_type = MAC_SCC_II, |
333 | .nubus_type = MAC_NUBUS, | 333 | .nubus_type = MAC_NUBUS, |
334 | .floppy_type = MAC_FLOPPY_SWIM_ADDR2, | 334 | .floppy_type = MAC_FLOPPY_SWIM_ADDR2, |
335 | }, { | ||
336 | .ident = MAC_MODEL_CCLII, | ||
337 | .name = "Color Classic II", | ||
338 | .adb_type = MAC_ADB_CUDA, | ||
339 | .via_type = MAC_VIA_IIci, | ||
340 | .scsi_type = MAC_SCSI_OLD, | ||
341 | .scc_type = MAC_SCC_II, | ||
342 | .nubus_type = MAC_NUBUS, | ||
343 | .floppy_type = MAC_FLOPPY_SWIM_ADDR2, | ||
335 | }, | 344 | }, |
336 | 345 | ||
337 | /* | 346 | /* |
diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/misc.c index 0f118ca156d9..e023fc6b37e5 100644 --- a/arch/m68k/mac/misc.c +++ b/arch/m68k/mac/misc.c | |||
@@ -91,7 +91,7 @@ static void cuda_write_pram(int offset, __u8 data) | |||
91 | #define cuda_write_pram NULL | 91 | #define cuda_write_pram NULL |
92 | #endif | 92 | #endif |
93 | 93 | ||
94 | #if 0 /* def CONFIG_ADB_PMU68K */ | 94 | #ifdef CONFIG_ADB_PMU68K |
95 | static long pmu_read_time(void) | 95 | static long pmu_read_time(void) |
96 | { | 96 | { |
97 | struct adb_request req; | 97 | struct adb_request req; |
@@ -102,8 +102,8 @@ static long pmu_read_time(void) | |||
102 | while (!req.complete) | 102 | while (!req.complete) |
103 | pmu_poll(); | 103 | pmu_poll(); |
104 | 104 | ||
105 | time = (req.reply[0] << 24) | (req.reply[1] << 16) | 105 | time = (req.reply[1] << 24) | (req.reply[2] << 16) |
106 | | (req.reply[2] << 8) | req.reply[3]; | 106 | | (req.reply[3] << 8) | req.reply[4]; |
107 | return time - RTC_OFFSET; | 107 | return time - RTC_OFFSET; |
108 | } | 108 | } |
109 | 109 | ||
diff --git a/arch/m68k/sun3/leds.c b/arch/m68k/sun3/leds.c index a3e948463982..aad2e0a0682e 100644 --- a/arch/m68k/sun3/leds.c +++ b/arch/m68k/sun3/leds.c | |||
@@ -7,7 +7,7 @@ void sun3_leds(unsigned char byte) | |||
7 | unsigned char dfc; | 7 | unsigned char dfc; |
8 | 8 | ||
9 | GET_DFC(dfc); | 9 | GET_DFC(dfc); |
10 | SET_DFC(FC_CONTROL); | 10 | SET_DFC(FC_CONTROL); |
11 | SET_CONTROL_BYTE(AC_LEDS,byte); | 11 | SET_CONTROL_BYTE(AC_LEDS, byte); |
12 | SET_DFC(dfc); | 12 | SET_DFC(dfc); |
13 | } | 13 | } |