Merge tag 'm68k-for-v4.15-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
Pull m68k updates from Geert Uytterhoeven: - more printk modernization - various cleanups and fixes (incl. a race condition) for Mac - defconfig updates * tag 'm68k-for-v4.15-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: m68k/defconfig: Update defconfigs for v4.14-rc7 m68k/mac: Add mutual exclusion for IOP interrupt polling m68k/mac: Disentangle VIA/RBV and NuBus initialization m68k/mac: Disentangle VIA and OSS initialization m68k/mac: More printk modernization
This commit is contained in:
@@ -32,18 +32,18 @@ volatile struct mac_oss *oss;
|
||||
|
||||
/*
|
||||
* Initialize the OSS
|
||||
*
|
||||
* The OSS "detection" code is actually in via_init() which is always called
|
||||
* before us. Thus we can count on oss_present being valid on entry.
|
||||
*/
|
||||
|
||||
void __init oss_init(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!oss_present) return;
|
||||
if (macintosh_config->ident != MAC_MODEL_IIFX)
|
||||
return;
|
||||
|
||||
oss = (struct mac_oss *) OSS_BASE;
|
||||
pr_debug("OSS detected at %p", oss);
|
||||
oss_present = 1;
|
||||
|
||||
/* Disable all interrupts. Unlike a VIA it looks like we */
|
||||
/* do this by setting the source's interrupt level to zero. */
|
||||
@@ -52,14 +52,6 @@ void __init oss_init(void)
|
||||
oss->irq_level[i] = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize OSS for Nubus access
|
||||
*/
|
||||
|
||||
void __init oss_nubus_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Handle miscellaneous OSS interrupts.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user