m68k updates for v5.11
- Fix WARNING splat in pmac_zilog driver, - Fix ADB input device regression, - Assume maintainership for adb-iop and via-macii, - Minor fixes and improvements, - Defconfig updates. -----BEGIN PGP SIGNATURE----- iIsEABYIADMWIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCX9crJBUcZ2VlcnRAbGlu dXgtbTY4ay5vcmcACgkQisJQ/WRJ8XCmTgD/XEux61KarMOuNhbyGf05nAN+xbf5 Q16XDa6AQmGWgRcBANpCX+9m5dgu4GQo+M6yiK9ZptevookDy+JpvE8DqLMA =BrTy -----END PGP SIGNATURE----- Merge tag 'm68k-for-v5.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k Pull m68k updates from Geert Uytterhoeven: - fix WARNING splat in pmac_zilog driver - fix ADB input device regression - assume maintainership for adb-iop and via-macii - minor fixes and improvements - defconfig updates * tag 'm68k-for-v5.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: MAINTAINERS: Update m68k Mac entry macintosh/adb-iop: Send correct poll command macintosh/adb-iop: Always wait for reply message from IOP m68k: Fix WARNING splat in pmac_zilog driver m68k: Add a missing ELF_DETAILS in link script m68k: Drop redundant NOTES in link script m68k: mac: Update Kconfig help m68k: mac: Remove redundant VIA register writes m68k: mac: Remove dead code m68k: mac: Refactor iop_preinit() and iop_init() m68k: defconfig: Enable KUnit tests m68k: defconfig: Update defconfigs for v5.10-rc1 m68k: Remove unused mach_max_dma_address m68k: Avoid xchg() warning
This commit is contained in:
commit
0b03beface
|
@ -10426,6 +10426,8 @@ L: linux-m68k@lists.linux-m68k.org
|
|||
S: Maintained
|
||||
W: http://www.mac.linux-m68k.org/
|
||||
F: arch/m68k/mac/
|
||||
F: drivers/macintosh/adb-iop.c
|
||||
F: drivers/macintosh/via-macii.c
|
||||
|
||||
M68K ON HP9000/300
|
||||
M: Philip Blundell <philb@gnu.org>
|
||||
|
|
|
@ -30,11 +30,9 @@ config MAC
|
|||
select HAVE_ARCH_NVRAM_OPS
|
||||
help
|
||||
This option enables support for the Apple Macintosh series of
|
||||
computers (yes, there is experimental support now, at least for part
|
||||
of the series).
|
||||
|
||||
Say N unless you're willing to code the remaining necessary support.
|
||||
;)
|
||||
computers. If you plan to use this kernel on a Mac, say Y here and
|
||||
browse the documentation available at <http://www.mac.linux-m68k.org/>;
|
||||
otherwise say N.
|
||||
|
||||
config APOLLO
|
||||
bool "Apollo support"
|
||||
|
|
|
@ -383,14 +383,6 @@ void __init config_amiga(void)
|
|||
mach_init_IRQ = amiga_init_IRQ;
|
||||
mach_get_model = amiga_get_model;
|
||||
mach_get_hardware_list = amiga_get_hardware_list;
|
||||
|
||||
/*
|
||||
* default MAX_DMA=0xffffffff on all machines. If we don't do so, the SCSI
|
||||
* code will not be able to allocate any mem for transfers, unless we are
|
||||
* dealing with a Z2 mem only system. /Jes
|
||||
*/
|
||||
mach_max_dma_address = 0xffffffff;
|
||||
|
||||
mach_reset = amiga_reset;
|
||||
#if IS_ENABLED(CONFIG_INPUT_M68K_BEEP)
|
||||
mach_beep = amiga_mksound;
|
||||
|
|
|
@ -150,7 +150,6 @@ void __init config_apollo(void)
|
|||
|
||||
mach_sched_init=dn_sched_init; /* */
|
||||
mach_init_IRQ=dn_init_IRQ;
|
||||
mach_max_dma_address = 0xffffffff;
|
||||
mach_hwclk = dn_dummy_hwclk; /* */
|
||||
mach_reset = dn_dummy_reset; /* */
|
||||
#ifdef CONFIG_HEARTBEAT
|
||||
|
|
|
@ -205,7 +205,6 @@ void __init config_atari(void)
|
|||
mach_get_model = atari_get_model;
|
||||
mach_get_hardware_list = atari_get_hardware_list;
|
||||
mach_reset = atari_reset;
|
||||
mach_max_dma_address = 0xffffff;
|
||||
#if IS_ENABLED(CONFIG_INPUT_M68K_BEEP)
|
||||
mach_beep = atari_mksound;
|
||||
#endif
|
||||
|
|
|
@ -101,7 +101,6 @@ void __init config_bvme6000(void)
|
|||
bvme6000_set_vectors();
|
||||
#endif
|
||||
|
||||
mach_max_dma_address = 0xffffffff;
|
||||
mach_sched_init = bvme6000_sched_init;
|
||||
mach_init_IRQ = bvme6000_init_IRQ;
|
||||
mach_hwclk = bvme6000_hwclk;
|
||||
|
|
|
@ -563,6 +563,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -583,7 +584,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -626,6 +626,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -638,7 +640,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -653,9 +654,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -519,6 +519,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -539,7 +540,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -582,6 +582,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -594,7 +596,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -609,9 +610,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -541,6 +541,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -561,7 +562,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -604,6 +604,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -616,7 +618,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -631,9 +632,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -512,6 +512,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -532,7 +533,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -575,6 +575,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -587,7 +589,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -602,9 +603,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -521,6 +521,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -541,7 +542,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -584,6 +584,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -596,7 +598,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -611,9 +612,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -544,6 +544,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -564,7 +565,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -607,6 +607,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -619,7 +621,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -634,9 +635,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -630,6 +630,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -650,7 +651,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -693,6 +693,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -705,7 +707,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -720,9 +721,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -511,6 +511,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -531,7 +532,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -574,6 +574,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -586,7 +588,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -601,9 +602,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -512,6 +512,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -532,7 +533,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -575,6 +575,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -587,7 +589,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -602,9 +603,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -530,6 +530,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -550,7 +551,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -593,6 +593,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -605,7 +607,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -620,9 +621,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -514,6 +514,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -534,7 +535,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -576,6 +576,8 @@ CONFIG_STRING_SELFTEST=m
|
|||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -588,7 +590,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -603,9 +604,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -513,6 +513,7 @@ CONFIG_CRYPTO_RSA=m
|
|||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_ECDH=m
|
||||
CONFIG_CRYPTO_ECRDSA=m
|
||||
CONFIG_CRYPTO_SM2=m
|
||||
CONFIG_CRYPTO_CURVE25519=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_AEGIS128=m
|
||||
|
@ -533,7 +534,6 @@ CONFIG_CRYPTO_RMD160=m
|
|||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA3=m
|
||||
CONFIG_CRYPTO_SM3=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
|
@ -576,6 +576,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_TEST_LOCKUP=m
|
||||
CONFIG_WW_MUTEX_SELFTEST=m
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_KUNIT=m
|
||||
CONFIG_KUNIT_ALL_TESTS=m
|
||||
CONFIG_TEST_LIST_SORT=m
|
||||
CONFIG_TEST_MIN_HEAP=m
|
||||
CONFIG_TEST_SORT=m
|
||||
|
@ -588,7 +590,6 @@ CONFIG_TEST_STRSCPY=m
|
|||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_TEST_PRINTF=m
|
||||
CONFIG_TEST_BITMAP=m
|
||||
CONFIG_TEST_BITFIELD=m
|
||||
CONFIG_TEST_UUID=m
|
||||
CONFIG_TEST_XARRAY=m
|
||||
CONFIG_TEST_OVERFLOW=m
|
||||
|
@ -603,9 +604,13 @@ CONFIG_TEST_BLACKHOLE_DEV=m
|
|||
CONFIG_FIND_BIT_BENCHMARK=m
|
||||
CONFIG_TEST_FIRMWARE=m
|
||||
CONFIG_TEST_SYSCTL=m
|
||||
CONFIG_BITFIELD_KUNIT=m
|
||||
CONFIG_LINEAR_RANGES_TEST=m
|
||||
CONFIG_BITS_TEST=m
|
||||
CONFIG_TEST_UDELAY=m
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
||||
CONFIG_TEST_KMOD=m
|
||||
CONFIG_TEST_MEMCAT_P=m
|
||||
CONFIG_TEST_STACKINIT=m
|
||||
CONFIG_TEST_MEMINIT=m
|
||||
CONFIG_TEST_FREE_PAGES=m
|
||||
|
|
|
@ -260,7 +260,6 @@ void __init config_hp300(void)
|
|||
#ifdef CONFIG_HEARTBEAT
|
||||
mach_heartbeat = hp300_pulse;
|
||||
#endif
|
||||
mach_max_dma_address = 0xffffffff;
|
||||
|
||||
if (hp300_model >= HP_330 && hp300_model <= HP_433S &&
|
||||
hp300_model != HP_350) {
|
||||
|
|
|
@ -76,7 +76,7 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
|
|||
}
|
||||
#endif
|
||||
|
||||
#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
|
||||
#define xchg(ptr,x) ({(__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));})
|
||||
|
||||
#include <asm-generic/cmpxchg-local.h>
|
||||
|
||||
|
@ -119,11 +119,11 @@ static inline unsigned long __cmpxchg(volatile void *p, unsigned long old,
|
|||
}
|
||||
|
||||
#define cmpxchg(ptr, o, n) \
|
||||
((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \
|
||||
(unsigned long)(n), sizeof(*(ptr))))
|
||||
({(__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \
|
||||
(unsigned long)(n), sizeof(*(ptr)));})
|
||||
#define cmpxchg_local(ptr, o, n) \
|
||||
((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \
|
||||
(unsigned long)(n), sizeof(*(ptr))))
|
||||
({(__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \
|
||||
(unsigned long)(n), sizeof(*(ptr)));})
|
||||
|
||||
#define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n))
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@ extern void (*mach_halt)( void );
|
|||
extern void (*mach_power_off)( void );
|
||||
extern unsigned long (*mach_hd_init) (unsigned long, unsigned long);
|
||||
extern void (*mach_hd_setup)(char *, int *);
|
||||
extern long mach_max_dma_address;
|
||||
extern void (*mach_heartbeat) (int);
|
||||
extern void (*mach_l2_flush) (int);
|
||||
extern void (*mach_beep) (unsigned int, unsigned int);
|
||||
|
|
|
@ -99,7 +99,6 @@ EXPORT_SYMBOL(mach_set_rtc_pll);
|
|||
void (*mach_reset)( void );
|
||||
void (*mach_halt)( void );
|
||||
void (*mach_power_off)( void );
|
||||
long mach_max_dma_address = 0x00ffffff; /* default set to the lower 16MB */
|
||||
#ifdef CONFIG_HEARTBEAT
|
||||
void (*mach_heartbeat) (int);
|
||||
EXPORT_SYMBOL(mach_heartbeat);
|
||||
|
|
|
@ -65,7 +65,6 @@ SECTIONS {
|
|||
_edata = .;
|
||||
|
||||
EXCEPTION_TABLE(16)
|
||||
NOTES
|
||||
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
__init_begin = .;
|
||||
|
@ -87,7 +86,7 @@ SECTIONS {
|
|||
_end = .;
|
||||
|
||||
STABS_DEBUG
|
||||
.comment 0 : { *(.comment) }
|
||||
ELF_DETAILS
|
||||
|
||||
/* Sections to be discarded */
|
||||
DISCARDS
|
||||
|
|
|
@ -49,7 +49,6 @@ SECTIONS
|
|||
*(.m68k_fixup)
|
||||
__stop_fixup = .;
|
||||
}
|
||||
NOTES
|
||||
.init_end : {
|
||||
/* This ALIGN be in a section so that _end is at the end of the
|
||||
load segment. */
|
||||
|
@ -60,7 +59,7 @@ SECTIONS
|
|||
_end = . ;
|
||||
|
||||
STABS_DEBUG
|
||||
.comment 0 : { *(.comment) }
|
||||
ELF_DETAILS
|
||||
|
||||
/* Sections to be discarded */
|
||||
DISCARDS
|
||||
|
|
|
@ -33,7 +33,6 @@ SECTIONS
|
|||
RW_DATA(16, PAGE_SIZE, THREAD_SIZE) :data
|
||||
/* End of data goes *here* so that freeing init code works properly. */
|
||||
_edata = .;
|
||||
NOTES
|
||||
|
||||
/* will be freed after init */
|
||||
. = ALIGN(PAGE_SIZE); /* Init code and data */
|
||||
|
@ -53,6 +52,7 @@ __init_begin = .;
|
|||
_end = . ;
|
||||
|
||||
STABS_DEBUG
|
||||
ELF_DETAILS
|
||||
|
||||
/* Sections to be discarded */
|
||||
DISCARDS
|
||||
|
|
|
@ -55,7 +55,6 @@ struct mac_booter_data mac_bi_data;
|
|||
static unsigned long mac_orig_videoaddr;
|
||||
|
||||
extern int mac_hwclk(int, struct rtc_time *);
|
||||
extern void iop_preinit(void);
|
||||
extern void iop_init(void);
|
||||
extern void via_init(void);
|
||||
extern void via_init_clock(irq_handler_t func);
|
||||
|
@ -141,7 +140,6 @@ void __init config_mac(void)
|
|||
mach_reset = mac_reset;
|
||||
mach_halt = mac_poweroff;
|
||||
mach_power_off = mac_poweroff;
|
||||
mach_max_dma_address = 0xffffffff;
|
||||
#if IS_ENABLED(CONFIG_INPUT_M68K_BEEP)
|
||||
mach_beep = mac_mksound;
|
||||
#endif
|
||||
|
@ -777,16 +775,12 @@ static struct resource scc_b_rsrcs[] = {
|
|||
struct platform_device scc_a_pdev = {
|
||||
.name = "scc",
|
||||
.id = 0,
|
||||
.num_resources = ARRAY_SIZE(scc_a_rsrcs),
|
||||
.resource = scc_a_rsrcs,
|
||||
};
|
||||
EXPORT_SYMBOL(scc_a_pdev);
|
||||
|
||||
struct platform_device scc_b_pdev = {
|
||||
.name = "scc",
|
||||
.id = 1,
|
||||
.num_resources = ARRAY_SIZE(scc_b_rsrcs),
|
||||
.resource = scc_b_rsrcs,
|
||||
};
|
||||
EXPORT_SYMBOL(scc_b_pdev);
|
||||
|
||||
|
@ -813,10 +807,15 @@ static void __init mac_identify(void)
|
|||
|
||||
/* Set up serial port resources for the console initcall. */
|
||||
|
||||
scc_a_rsrcs[0].start = (resource_size_t) mac_bi_data.sccbase + 2;
|
||||
scc_a_rsrcs[0].end = scc_a_rsrcs[0].start;
|
||||
scc_b_rsrcs[0].start = (resource_size_t) mac_bi_data.sccbase;
|
||||
scc_b_rsrcs[0].end = scc_b_rsrcs[0].start;
|
||||
scc_a_rsrcs[0].start = (resource_size_t)mac_bi_data.sccbase + 2;
|
||||
scc_a_rsrcs[0].end = scc_a_rsrcs[0].start;
|
||||
scc_a_pdev.num_resources = ARRAY_SIZE(scc_a_rsrcs);
|
||||
scc_a_pdev.resource = scc_a_rsrcs;
|
||||
|
||||
scc_b_rsrcs[0].start = (resource_size_t)mac_bi_data.sccbase;
|
||||
scc_b_rsrcs[0].end = scc_b_rsrcs[0].start;
|
||||
scc_b_pdev.num_resources = ARRAY_SIZE(scc_b_rsrcs);
|
||||
scc_b_pdev.resource = scc_b_rsrcs;
|
||||
|
||||
switch (macintosh_config->scc_type) {
|
||||
case MAC_SCC_PSC:
|
||||
|
@ -835,13 +834,6 @@ static void __init mac_identify(void)
|
|||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* We need to pre-init the IOPs, if any. Otherwise
|
||||
* the serial console won't work if the user had
|
||||
* the serial ports set to "Faster" mode in MacOS.
|
||||
*/
|
||||
iop_preinit();
|
||||
|
||||
pr_info("Detected Macintosh model: %d\n", model);
|
||||
|
||||
/*
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
*
|
||||
* TODO:
|
||||
*
|
||||
* o The SCC IOP has to be placed in bypass mode before the serial console
|
||||
* gets initialized. iop_init() would be one place to do that. Or the
|
||||
* bootloader could do that. For now, the Serial Switch control panel
|
||||
* is needed for that -- contrary to the changelog above.
|
||||
* o Something should be periodically checking iop_alive() to make sure the
|
||||
* IOP hasn't died.
|
||||
* o Some of the IOP manager routines need better error checking and
|
||||
|
@ -224,40 +228,6 @@ static struct iop_msg *iop_get_unused_msg(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* This is called by the startup code before anything else. Its purpose
|
||||
* is to find and initialize the IOPs early in the boot sequence, so that
|
||||
* the serial IOP can be placed into bypass mode _before_ we try to
|
||||
* initialize the serial console.
|
||||
*/
|
||||
|
||||
void __init iop_preinit(void)
|
||||
{
|
||||
if (macintosh_config->scc_type == MAC_SCC_IOP) {
|
||||
if (macintosh_config->ident == MAC_MODEL_IIFX) {
|
||||
iop_base[IOP_NUM_SCC] = (struct mac_iop *) SCC_IOP_BASE_IIFX;
|
||||
} else {
|
||||
iop_base[IOP_NUM_SCC] = (struct mac_iop *) SCC_IOP_BASE_QUADRA;
|
||||
}
|
||||
iop_scc_present = 1;
|
||||
} else {
|
||||
iop_base[IOP_NUM_SCC] = NULL;
|
||||
iop_scc_present = 0;
|
||||
}
|
||||
if (macintosh_config->adb_type == MAC_ADB_IOP) {
|
||||
if (macintosh_config->ident == MAC_MODEL_IIFX) {
|
||||
iop_base[IOP_NUM_ISM] = (struct mac_iop *) ISM_IOP_BASE_IIFX;
|
||||
} else {
|
||||
iop_base[IOP_NUM_ISM] = (struct mac_iop *) ISM_IOP_BASE_QUADRA;
|
||||
}
|
||||
iop_stop(iop_base[IOP_NUM_ISM]);
|
||||
iop_ism_present = 1;
|
||||
} else {
|
||||
iop_base[IOP_NUM_ISM] = NULL;
|
||||
iop_ism_present = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize the IOPs, if present.
|
||||
*/
|
||||
|
@ -266,11 +236,23 @@ void __init iop_init(void)
|
|||
{
|
||||
int i;
|
||||
|
||||
if (iop_scc_present) {
|
||||
if (macintosh_config->scc_type == MAC_SCC_IOP) {
|
||||
if (macintosh_config->ident == MAC_MODEL_IIFX)
|
||||
iop_base[IOP_NUM_SCC] = (struct mac_iop *)SCC_IOP_BASE_IIFX;
|
||||
else
|
||||
iop_base[IOP_NUM_SCC] = (struct mac_iop *)SCC_IOP_BASE_QUADRA;
|
||||
iop_scc_present = 1;
|
||||
pr_debug("SCC IOP detected at %p\n", iop_base[IOP_NUM_SCC]);
|
||||
}
|
||||
if (iop_ism_present) {
|
||||
if (macintosh_config->adb_type == MAC_ADB_IOP) {
|
||||
if (macintosh_config->ident == MAC_MODEL_IIFX)
|
||||
iop_base[IOP_NUM_ISM] = (struct mac_iop *)ISM_IOP_BASE_IIFX;
|
||||
else
|
||||
iop_base[IOP_NUM_ISM] = (struct mac_iop *)ISM_IOP_BASE_QUADRA;
|
||||
iop_ism_present = 1;
|
||||
pr_debug("ISM IOP detected at %p\n", iop_base[IOP_NUM_ISM]);
|
||||
|
||||
iop_stop(iop_base[IOP_NUM_ISM]);
|
||||
iop_start(iop_base[IOP_NUM_ISM]);
|
||||
iop_alive(iop_base[IOP_NUM_ISM]); /* clears the alive flag */
|
||||
}
|
||||
|
|
|
@ -169,8 +169,6 @@ void __init via_init(void)
|
|||
|
||||
via1[vIER] = 0x7F;
|
||||
via1[vIFR] = 0x7F;
|
||||
via1[vT1LL] = 0;
|
||||
via1[vT1LH] = 0;
|
||||
via1[vT1CL] = 0;
|
||||
via1[vT1CH] = 0;
|
||||
via1[vT2CL] = 0;
|
||||
|
@ -225,8 +223,6 @@ void __init via_init(void)
|
|||
via2[gIER] = 0x7F;
|
||||
via2[gIFR] = 0x7F | rbv_clear;
|
||||
if (!rbv_present) {
|
||||
via2[vT1LL] = 0;
|
||||
via2[vT1LH] = 0;
|
||||
via2[vT1CL] = 0;
|
||||
via2[vT1CH] = 0;
|
||||
via2[vT2CL] = 0;
|
||||
|
@ -304,21 +300,6 @@ void via_l2_flush(int writeback)
|
|||
local_irq_restore(flags);
|
||||
}
|
||||
|
||||
/*
|
||||
* Return the status of the L2 cache on a IIci
|
||||
*/
|
||||
|
||||
int via_get_cache_disable(void)
|
||||
{
|
||||
/* Safeguard against being called accidentally */
|
||||
if (!via2) {
|
||||
printk(KERN_ERR "via_get_cache_disable called on a non-VIA machine!\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
return (int) via2[gBufB] & VIA2B_vCDis;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize VIA2 for Nubus access
|
||||
*/
|
||||
|
@ -619,8 +600,6 @@ void __init via_init_clock(irq_handler_t timer_routine)
|
|||
return;
|
||||
}
|
||||
|
||||
via1[vT1LL] = VIA_TC_LOW;
|
||||
via1[vT1LH] = VIA_TC_HIGH;
|
||||
via1[vT1CL] = VIA_TC_LOW;
|
||||
via1[vT1CH] = VIA_TC_HIGH;
|
||||
via1[vACR] |= 0x40;
|
||||
|
|
|
@ -80,7 +80,6 @@ void __init mvme147_init_IRQ(void)
|
|||
|
||||
void __init config_mvme147(void)
|
||||
{
|
||||
mach_max_dma_address = 0x01000000;
|
||||
mach_sched_init = mvme147_sched_init;
|
||||
mach_init_IRQ = mvme147_init_IRQ;
|
||||
mach_hwclk = mvme147_hwclk;
|
||||
|
|
|
@ -268,7 +268,6 @@ void __init config_mvme16x(void)
|
|||
char id[40];
|
||||
uint16_t brdno = be16_to_cpu(p->brdno);
|
||||
|
||||
mach_max_dma_address = 0xffffffff;
|
||||
mach_sched_init = mvme16x_sched_init;
|
||||
mach_init_IRQ = mvme16x_init_IRQ;
|
||||
mach_hwclk = mvme16x_hwclk;
|
||||
|
|
|
@ -185,11 +185,6 @@ void __init config_q40(void)
|
|||
|
||||
/* disable a few things that SMSQ might have left enabled */
|
||||
q40_disable_irqs();
|
||||
|
||||
/* no DMA at all, but ide-scsi requires it.. make sure
|
||||
* all physical RAM fits into the boundary - otherwise
|
||||
* allocator may play costly and useless tricks */
|
||||
mach_max_dma_address = 1024*1024*1024;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -44,8 +44,6 @@ void __init config_sun3x(void)
|
|||
|
||||
sun3x_prom_init();
|
||||
|
||||
mach_max_dma_address = 0xffffffff; /* we can DMA anywhere, whee */
|
||||
|
||||
mach_sched_init = sun3x_sched_init;
|
||||
mach_init_IRQ = sun3_init_IRQ;
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
static struct adb_request *current_req;
|
||||
static struct adb_request *last_req;
|
||||
static unsigned int autopoll_devs;
|
||||
static u8 autopoll_addr;
|
||||
|
||||
static enum adb_iop_state {
|
||||
idle,
|
||||
|
@ -41,6 +42,11 @@ static int adb_iop_autopoll(int);
|
|||
static void adb_iop_poll(void);
|
||||
static int adb_iop_reset_bus(void);
|
||||
|
||||
/* ADB command byte structure */
|
||||
#define ADDR_MASK 0xF0
|
||||
#define OP_MASK 0x0C
|
||||
#define TALK 0x0C
|
||||
|
||||
struct adb_driver adb_iop_driver = {
|
||||
.name = "ISM IOP",
|
||||
.probe = adb_iop_probe,
|
||||
|
@ -78,10 +84,7 @@ static void adb_iop_complete(struct iop_msg *msg)
|
|||
|
||||
local_irq_save(flags);
|
||||
|
||||
if (current_req->reply_expected)
|
||||
adb_iop_state = awaiting_reply;
|
||||
else
|
||||
adb_iop_done();
|
||||
adb_iop_state = awaiting_reply;
|
||||
|
||||
local_irq_restore(flags);
|
||||
}
|
||||
|
@ -89,38 +92,52 @@ static void adb_iop_complete(struct iop_msg *msg)
|
|||
/*
|
||||
* Listen for ADB messages from the IOP.
|
||||
*
|
||||
* This will be called when unsolicited messages (usually replies to TALK
|
||||
* commands or autopoll packets) are received.
|
||||
* This will be called when unsolicited IOP messages are received.
|
||||
* These IOP messages can carry ADB autopoll responses and also occur
|
||||
* after explicit ADB commands.
|
||||
*/
|
||||
|
||||
static void adb_iop_listen(struct iop_msg *msg)
|
||||
{
|
||||
struct adb_iopmsg *amsg = (struct adb_iopmsg *)msg->message;
|
||||
u8 addr = (amsg->cmd & ADDR_MASK) >> 4;
|
||||
u8 op = amsg->cmd & OP_MASK;
|
||||
unsigned long flags;
|
||||
bool req_done = false;
|
||||
|
||||
local_irq_save(flags);
|
||||
|
||||
/* Handle a timeout. Timeout packets seem to occur even after
|
||||
* we've gotten a valid reply to a TALK, presumably because of
|
||||
* autopolling.
|
||||
/* Responses to Talk commands may be unsolicited as they are
|
||||
* produced when the IOP polls devices. They are mostly timeouts.
|
||||
*/
|
||||
if (op == TALK && ((1 << addr) & autopoll_devs))
|
||||
autopoll_addr = addr;
|
||||
|
||||
if (amsg->flags & ADB_IOP_EXPLICIT) {
|
||||
switch (amsg->flags & (ADB_IOP_EXPLICIT |
|
||||
ADB_IOP_AUTOPOLL |
|
||||
ADB_IOP_TIMEOUT)) {
|
||||
case ADB_IOP_EXPLICIT:
|
||||
case ADB_IOP_EXPLICIT | ADB_IOP_TIMEOUT:
|
||||
if (adb_iop_state == awaiting_reply) {
|
||||
struct adb_request *req = current_req;
|
||||
|
||||
req->reply_len = amsg->count + 1;
|
||||
memcpy(req->reply, &amsg->cmd, req->reply_len);
|
||||
if (req->reply_expected) {
|
||||
req->reply_len = amsg->count + 1;
|
||||
memcpy(req->reply, &amsg->cmd, req->reply_len);
|
||||
}
|
||||
|
||||
req_done = true;
|
||||
}
|
||||
} else if (!(amsg->flags & ADB_IOP_TIMEOUT)) {
|
||||
adb_input(&amsg->cmd, amsg->count + 1,
|
||||
amsg->flags & ADB_IOP_AUTOPOLL);
|
||||
break;
|
||||
case ADB_IOP_AUTOPOLL:
|
||||
if (((1 << addr) & autopoll_devs) &&
|
||||
amsg->cmd == ADB_READREG(addr, 0))
|
||||
adb_input(&amsg->cmd, amsg->count + 1, 1);
|
||||
break;
|
||||
}
|
||||
|
||||
msg->reply[0] = autopoll_devs ? ADB_IOP_AUTOPOLL : 0;
|
||||
msg->reply[0] = autopoll_addr ? ADB_IOP_AUTOPOLL : 0;
|
||||
msg->reply[1] = 0;
|
||||
msg->reply[2] = autopoll_addr ? ADB_READREG(autopoll_addr, 0) : 0;
|
||||
iop_complete_message(msg);
|
||||
|
||||
if (req_done)
|
||||
|
@ -233,6 +250,9 @@ static void adb_iop_set_ap_complete(struct iop_msg *msg)
|
|||
struct adb_iopmsg *amsg = (struct adb_iopmsg *)msg->message;
|
||||
|
||||
autopoll_devs = (amsg->data[1] << 8) | amsg->data[0];
|
||||
if (autopoll_devs & (1 << autopoll_addr))
|
||||
return;
|
||||
autopoll_addr = autopoll_devs ? (ffs(autopoll_devs) - 1) : 0;
|
||||
}
|
||||
|
||||
static int adb_iop_autopoll(int devs)
|
||||
|
|
|
@ -1693,22 +1693,26 @@ static int __init pmz_probe(void)
|
|||
|
||||
#else
|
||||
|
||||
/* On PCI PowerMacs, pmz_probe() does an explicit search of the OpenFirmware
|
||||
* tree to obtain the device_nodes needed to start the console before the
|
||||
* macio driver. On Macs without OpenFirmware, global platform_devices take
|
||||
* the place of those device_nodes.
|
||||
*/
|
||||
extern struct platform_device scc_a_pdev, scc_b_pdev;
|
||||
|
||||
static int __init pmz_init_port(struct uart_pmac_port *uap)
|
||||
{
|
||||
struct resource *r_ports;
|
||||
int irq;
|
||||
struct resource *r_ports, *r_irq;
|
||||
|
||||
r_ports = platform_get_resource(uap->pdev, IORESOURCE_MEM, 0);
|
||||
irq = platform_get_irq(uap->pdev, 0);
|
||||
if (!r_ports || irq <= 0)
|
||||
r_irq = platform_get_resource(uap->pdev, IORESOURCE_IRQ, 0);
|
||||
if (!r_ports || !r_irq)
|
||||
return -ENODEV;
|
||||
|
||||
uap->port.mapbase = r_ports->start;
|
||||
uap->port.membase = (unsigned char __iomem *) r_ports->start;
|
||||
uap->port.iotype = UPIO_MEM;
|
||||
uap->port.irq = irq;
|
||||
uap->port.irq = r_irq->start;
|
||||
uap->port.uartclk = ZS_CLOCK;
|
||||
uap->port.fifosize = 1;
|
||||
uap->port.ops = &pmz_pops;
|
||||
|
|
Loading…
Reference in New Issue