mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-08-18 02:22:47 -07:00
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.
This commit is contained in:
commit
356b95424c
34 files changed
+584
-636
No files matched your search
@@ -10,6 +10,17 @@ config BOOTPARAM_STRING
|
||||
default 'console=ttyS0,19200'
|
||||
depends on BOOTPARAM
|
||||
|
||||
config EARLY_PRINTK
|
||||
bool "Early printk" if EMBEDDED
|
||||
depends on MVME16x || MAC
|
||||
default y
|
||||
help
|
||||
Write kernel log output directly to a serial port.
|
||||
|
||||
This is useful for kernel debugging when your machine crashes very
|
||||
early before the console code is initialized.
|
||||
You should normally say N here, unless you want to debug such a crash.
|
||||
|
||||
if !MMU
|
||||
|
||||
config FULLDEBUG
|
||||
|
||||
@@ -8,8 +8,8 @@ config ARCH_MAY_HAVE_PC_FDC
|
||||
menu "Platform devices"
|
||||
|
||||
config HEARTBEAT
|
||||
bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || MAC ||Q40
|
||||
default y if !AMIGA && !APOLLO && !ATARI && !MAC && !Q40 && HP300
|
||||
bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || Q40
|
||||
default y if !AMIGA && !APOLLO && !ATARI && !Q40 && HP300
|
||||
help
|
||||
Use the power-on LED on your machine as a load meter. The exact
|
||||
behavior is platform-dependent, but normally the flash frequency is
|
||||
@@ -59,27 +59,6 @@ endmenu
|
||||
|
||||
menu "Character devices"
|
||||
|
||||
config ATARI_MFPSER
|
||||
tristate "Atari MFP serial support"
|
||||
depends on ATARI
|
||||
---help---
|
||||
If you like to use the MFP serial ports ("Modem1", "Serial1") under
|
||||
Linux, say Y. The driver equally supports all kinds of MFP serial
|
||||
ports and automatically detects whether Serial1 is available.
|
||||
|
||||
To compile this driver as a module, choose M here.
|
||||
|
||||
Note for Falcon users: You also have an MFP port, it's just not
|
||||
wired to the outside... But you could use the port under Linux.
|
||||
|
||||
config ATARI_MIDI
|
||||
tristate "Atari MIDI serial support"
|
||||
depends on ATARI
|
||||
help
|
||||
If you want to use your Atari's MIDI port in Linux, say Y.
|
||||
|
||||
To compile this driver as a module, choose M here.
|
||||
|
||||
config ATARI_DSP56K
|
||||
tristate "Atari DSP56k support (EXPERIMENTAL)"
|
||||
depends on ATARI && EXPERIMENTAL
|
||||
@@ -99,15 +78,6 @@ config AMIGA_BUILTIN_SERIAL
|
||||
|
||||
To compile this driver as a module, choose M here.
|
||||
|
||||
config MULTIFACE_III_TTY
|
||||
tristate "Multiface Card III serial support"
|
||||
depends on AMIGA
|
||||
help
|
||||
If you want to use a Multiface III card's serial port in Linux,
|
||||
answer Y.
|
||||
|
||||
To compile this driver as a module, choose M here.
|
||||
|
||||
config HPDCA
|
||||
tristate "HP DCA serial support"
|
||||
depends on DIO && SERIAL_8250
|
||||
@@ -122,13 +92,9 @@ config HPAPCI
|
||||
If you want to use the internal "APCI" serial ports on an HP400
|
||||
machine, say Y here.
|
||||
|
||||
config DN_SERIAL
|
||||
bool "Support for DN serial port (dummy)"
|
||||
depends on APOLLO
|
||||
|
||||
config SERIAL_CONSOLE
|
||||
bool "Support for serial port console"
|
||||
depends on (AMIGA || ATARI || SUN3 || SUN3X || VME || APOLLO) && (ATARI_MFPSER=y || ATARI_MIDI=y || AMIGA_BUILTIN_SERIAL=y || MULTIFACE_III_TTY=y || SERIAL=y || SERIAL167 || DN_SERIAL)
|
||||
depends on AMIGA_BUILTIN_SERIAL=y
|
||||
---help---
|
||||
If you say Y here, it will be possible to use a serial port as the
|
||||
system console (the system console is the device which receives all
|
||||
@@ -140,10 +106,10 @@ config SERIAL_CONSOLE
|
||||
(/dev/tty0) will still be used as the system console by default, but
|
||||
you can alter that using a kernel command line option such as
|
||||
"console=ttyS1". (Try "man bootparam" or see the documentation of
|
||||
your boot loader (lilo or loadlin) about how to pass options to the
|
||||
kernel at boot time.)
|
||||
your boot loader about how to pass options to the kernel at boot
|
||||
time.)
|
||||
|
||||
If you don't have a VGA card installed and you say Y here, the
|
||||
If you don't have a graphical console and you say Y here, the
|
||||
kernel will automatically use the first serial line, /dev/ttyS0, as
|
||||
system console.
|
||||
|
||||
|
||||
@@ -82,8 +82,6 @@ __ALIGN_STR "\n\t"
|
||||
|
||||
extern void atari_microwire_cmd(int cmd);
|
||||
|
||||
extern int atari_SCC_reset_done;
|
||||
|
||||
static unsigned int atari_irq_startup(struct irq_data *data)
|
||||
{
|
||||
unsigned int irq = data->irq;
|
||||
|
||||
@@ -202,7 +202,6 @@ static void __init atari_init_mfp_port(int cflag)
|
||||
|
||||
static void __init atari_init_scc_port(int cflag)
|
||||
{
|
||||
extern int atari_SCC_reset_done;
|
||||
static int clksrc_table[9] =
|
||||
/* reg 11: 0x50 = BRG, 0x00 = RTxC, 0x28 = TRxC */
|
||||
{ 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x00, 0x00 };
|
||||
|
||||
@@ -255,7 +255,6 @@ CONFIG_HID=m
|
||||
CONFIG_HIDRAW=y
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_AMIGA_BUILTIN_SERIAL=y
|
||||
CONFIG_MULTIFACE_III_TTY=m
|
||||
CONFIG_SERIAL_CONSOLE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
|
||||
@@ -223,8 +223,6 @@ CONFIG_LOGO=y
|
||||
CONFIG_HID=m
|
||||
CONFIG_HIDRAW=y
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_DN_SERIAL=y
|
||||
CONFIG_SERIAL_CONSOLE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
||||
|
||||
@@ -235,10 +235,7 @@ CONFIG_DMASOUND_ATARI=m
|
||||
CONFIG_HID=m
|
||||
CONFIG_HIDRAW=y
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_ATARI_MFPSER=y
|
||||
CONFIG_ATARI_MIDI=y
|
||||
CONFIG_ATARI_DSP56K=m
|
||||
CONFIG_SERIAL_CONSOLE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
||||
|
||||
@@ -318,13 +318,8 @@ CONFIG_DMASOUND_Q40=m
|
||||
CONFIG_HID=m
|
||||
CONFIG_HIDRAW=y
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_ATARI_MFPSER=y
|
||||
CONFIG_ATARI_MIDI=y
|
||||
CONFIG_ATARI_DSP56K=m
|
||||
CONFIG_AMIGA_BUILTIN_SERIAL=y
|
||||
CONFIG_MULTIFACE_III_TTY=m
|
||||
CONFIG_SERIAL167=y
|
||||
CONFIG_DN_SERIAL=y
|
||||
CONFIG_SERIAL_CONSOLE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
|
||||
@@ -218,8 +218,6 @@ CONFIG_GEN_RTC_X=y
|
||||
CONFIG_HID=m
|
||||
CONFIG_HIDRAW=y
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_SERIAL167=y
|
||||
CONFIG_SERIAL_CONSOLE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
||||
|
||||
@@ -39,7 +39,7 @@ enum {
|
||||
#define MAX_UNIT 8
|
||||
|
||||
/* These identify the driver base version and may not be removed. */
|
||||
static const char version[] __devinitdata =
|
||||
static const char version[] __devinitconst =
|
||||
KERN_INFO KBUILD_MODNAME ".c:v" DRV_VERSION " " DRV_RELDATE
|
||||
" S.Opichal, M.Jurik, P.Stehlik\n"
|
||||
KERN_INFO " http://aranym.org/\n";
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
|
||||
unsigned long hp300_model;
|
||||
unsigned long hp300_uart_scode = -1;
|
||||
unsigned char ledstate;
|
||||
unsigned char hp300_ledstate;
|
||||
EXPORT_SYMBOL(hp300_ledstate);
|
||||
|
||||
static char s_hp330[] __initdata = "330";
|
||||
static char s_hp340[] __initdata = "340";
|
||||
|
||||
@@ -30,6 +30,8 @@ extern u_long atari_switches;
|
||||
extern int atari_rtc_year_offset;
|
||||
extern int atari_dont_touch_floppy_select;
|
||||
|
||||
extern int atari_SCC_reset_done;
|
||||
|
||||
/* convenience macros for testing machine type */
|
||||
#define MACH_IS_ST ((atari_mch_cookie >> 16) == ATARI_MCH_ST)
|
||||
#define MACH_IS_STE ((atari_mch_cookie >> 16) == ATARI_MCH_STE && \
|
||||
|
||||
@@ -17,15 +17,15 @@
|
||||
|
||||
#define HP300_LEDS 0xf001ffff
|
||||
|
||||
extern unsigned char ledstate;
|
||||
extern unsigned char hp300_ledstate;
|
||||
|
||||
static __inline__ void blinken_leds(int on, int off)
|
||||
{
|
||||
if (MACH_IS_HP300)
|
||||
{
|
||||
ledstate |= on;
|
||||
ledstate &= ~off;
|
||||
out_8(HP300_LEDS, ~ledstate);
|
||||
hp300_ledstate |= on;
|
||||
hp300_ledstate &= ~off;
|
||||
out_8(HP300_LEDS, ~hp300_ledstate);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,4 +29,10 @@ struct baboon {
|
||||
*/
|
||||
};
|
||||
|
||||
extern int baboon_present;
|
||||
|
||||
extern void baboon_register_interrupts(void);
|
||||
extern void baboon_irq_enable(int);
|
||||
extern void baboon_irq_disable(int);
|
||||
|
||||
#endif /* __ASSEMBLY **/
|
||||
@@ -159,4 +159,6 @@ extern void iop_upload_code(uint, __u8 *, uint, __u16);
|
||||
extern void iop_download_code(uint, __u8 *, uint, __u16);
|
||||
extern __u8 *iop_compare_code(uint, __u8 *, uint, __u16);
|
||||
|
||||
extern void iop_register_interrupts(void);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
@@ -58,25 +58,6 @@
|
||||
|
||||
#define OSS_POWEROFF 0x80
|
||||
|
||||
/*
|
||||
* OSS Interrupt levels for various sub-systems
|
||||
*
|
||||
* This mapping is laid out with two things in mind: first, we try to keep
|
||||
* things on their own levels to avoid having to do double-dispatches. Second,
|
||||
* the levels match as closely as possible the alternate IRQ mapping mode (aka
|
||||
* "A/UX mode") available on some VIA machines.
|
||||
*/
|
||||
|
||||
#define OSS_IRQLEV_DISABLED 0
|
||||
#define OSS_IRQLEV_IOPISM 1 /* ADB? */
|
||||
#define OSS_IRQLEV_SCSI IRQ_AUTO_2
|
||||
#define OSS_IRQLEV_NUBUS IRQ_AUTO_3 /* keep this on its own level */
|
||||
#define OSS_IRQLEV_IOPSCC IRQ_AUTO_4 /* matches VIA alternate mapping */
|
||||
#define OSS_IRQLEV_SOUND IRQ_AUTO_5 /* matches VIA alternate mapping */
|
||||
#define OSS_IRQLEV_60HZ 6 /* matches VIA alternate mapping */
|
||||
#define OSS_IRQLEV_VIA1 IRQ_AUTO_6 /* matches VIA alternate mapping */
|
||||
#define OSS_IRQLEV_PARITY 7 /* matches VIA alternate mapping */
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
struct mac_oss {
|
||||
@@ -91,4 +72,8 @@ struct mac_oss {
|
||||
extern volatile struct mac_oss *oss;
|
||||
extern int oss_present;
|
||||
|
||||
extern void oss_register_interrupts(void);
|
||||
extern void oss_irq_enable(int);
|
||||
extern void oss_irq_disable(int);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
@@ -211,6 +211,10 @@
|
||||
extern volatile __u8 *psc;
|
||||
extern int psc_present;
|
||||
|
||||
extern void psc_register_interrupts(void);
|
||||
extern void psc_irq_enable(int);
|
||||
extern void psc_irq_disable(int);
|
||||
|
||||
/*
|
||||
* Access functions
|
||||
*/
|
||||
|
||||
@@ -254,6 +254,15 @@
|
||||
extern volatile __u8 *via1,*via2;
|
||||
extern int rbv_present,via_alt_mapping;
|
||||
|
||||
extern void via_register_interrupts(void);
|
||||
extern void via_irq_enable(int);
|
||||
extern void via_irq_disable(int);
|
||||
extern void via_nubus_irq_startup(int irq);
|
||||
extern void via_nubus_irq_shutdown(int irq);
|
||||
extern void via1_irq(unsigned int irq, struct irq_desc *desc);
|
||||
extern void via1_set_head(int);
|
||||
extern int via2_scsi_drq_pending(void);
|
||||
|
||||
static inline int rbv_set_video_bpp(int bpp)
|
||||
{
|
||||
char val = (bpp==1)?0:(bpp==2)?1:(bpp==4)?2:(bpp==8)?3:-1;
|
||||
|
||||
@@ -11,16 +11,10 @@
|
||||
extern void mac_reset(void);
|
||||
extern void mac_poweroff(void);
|
||||
extern void mac_init_IRQ(void);
|
||||
extern int mac_irq_pending(unsigned int);
|
||||
|
||||
extern void mac_irq_enable(struct irq_data *data);
|
||||
extern void mac_irq_disable(struct irq_data *data);
|
||||
|
||||
/*
|
||||
* Floppy driver magic hook - probably shouldn't be here
|
||||
*/
|
||||
|
||||
extern void via1_set_head(int);
|
||||
|
||||
/*
|
||||
* Macintosh Table
|
||||
*/
|
||||
@@ -48,7 +42,7 @@ struct mac_model
|
||||
#define MAC_ADB_IOP 6
|
||||
|
||||
#define MAC_VIA_II 1
|
||||
#define MAC_VIA_IIci 2
|
||||
#define MAC_VIA_IICI 2
|
||||
#define MAC_VIA_QUADRA 3
|
||||
|
||||
#define MAC_SCSI_NONE 0
|
||||
|
||||
@@ -104,6 +104,9 @@
|
||||
#define IRQ_PSC4_3 (35)
|
||||
#define IRQ_MAC_MACE_DMA IRQ_PSC4_3
|
||||
|
||||
/* OSS Level 4 interrupts */
|
||||
#define IRQ_MAC_SCC (33)
|
||||
|
||||
/* Level 5 (PSC, AV Macs only) interrupts */
|
||||
#define IRQ_PSC5_0 (40)
|
||||
#define IRQ_PSC5_1 (41)
|
||||
@@ -131,9 +134,6 @@
|
||||
#define IRQ_BABOON_2 (66)
|
||||
#define IRQ_BABOON_3 (67)
|
||||
|
||||
/* On non-PSC machines, the serial ports share an IRQ */
|
||||
#define IRQ_MAC_SCC IRQ_AUTO_4
|
||||
|
||||
#define SLOT2IRQ(x) (x + 47)
|
||||
#define IRQ2SLOT(x) (x - 47)
|
||||
|
||||
|
||||
Loaded 20 of 34 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user