linux/include/asm-mips
Maciej W. Rozycki 8b4a40809e zs: move to the serial subsystem
This is a reimplementation of the zs driver for the serial subsystem.  Any
resemblance to the old driver is purely coincidential.  ;-) I do hope I got
the handling of modem lines right -- better do not tackle me about the
issue unless you feel too good...

Any users of the old driver: please note the numbers of the serial lines
have now been swapped, i.e.  ttyS0 <-> ttyS1 and ttyS2 <-> ttyS3.  It has
to do with the modem lines mentioned above; basically the port A in a given
chip has to be initialised before the port B if you want to use the latter
as the serial console (which is usually the case), as operations on modem
lines of the serial line associated with the port B access both ports (see
the comment at the top of the driver for the details of wiring used).
Please update your scripts.

This is also the reason each SCC now requests an IRQ once only (as seen in
"/proc/interrupts") -- the handler takes care of both ports at once as the
line associated with the port B has to take status update interrupts from
both ports (and yet the line of the port A takes its own for itself too).
The old driver never got it right...

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-18 08:38:22 -07:00
..
arc Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
ddb5xxx [MIPS] Make I8259A_IRQ_BASE customizable 2007-02-06 16:53:09 +00:00
dec zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
emma2rh [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
ip32 Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
jmr3927 [MIPS] JMR3927 cleanup 2007-04-27 16:20:23 +01:00
mach-atlas [MIPS] SNI: Fix mc146818_decode_year 2007-03-04 19:02:31 +00:00
mach-au1x00 [MIPS] Make ioremap() work on TX39/49 special unmapped segment 2007-07-10 17:33:03 +01:00
mach-cobalt [MIPS] remove unused definitions for Cobalt 2007-07-10 17:32:55 +01:00
mach-db1x00 [PATCH] Au1550/1200: add missing PSC #define's, make OSS driver use the proper ones 2006-06-23 07:42:56 -07:00
mach-dec [PATCH] char/rtc: Handle memory-mapped chips properly 2006-07-10 13:24:25 -07:00
mach-emma2rh [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
mach-excite [MIPS] s/__ASSEMBLER__/__ASSEMBLY__/ for clarity sake. 2006-09-27 13:37:57 +01:00
mach-generic [MIPS] Make ioremap() work on TX39/49 special unmapped segment 2007-07-10 17:33:03 +01:00
mach-ip22 [MIPS] Allow generic spaces.h to be included by platform specific ones 2007-07-10 17:32:57 +01:00
mach-ip27 [MIPS] Allow generic spaces.h to be included by platform specific ones 2007-07-10 17:32:57 +01:00
mach-ip32 [MIPS] Allow generic spaces.h to be included by platform specific ones 2007-07-10 17:32:57 +01:00
mach-jazz [MIPS] Unify dma-{coherent,noncoherent.ip27,ip32} 2007-02-13 22:40:50 +00:00
mach-jmr3927 [MIPS] Make ioremap() work on TX39/49 special unmapped segment 2007-07-10 17:33:03 +01:00
mach-lemote [MIPS] New files for lemote fulong mini-PC support 2007-07-10 17:33:02 +01:00
mach-mips [MIPS] Early check for SMTC kernel on non-MT processor 2007-07-10 17:33:04 +01:00
mach-mipssim [MIPS] MIPSsim: Move code away from the other MIPS Inc. BSP code. 2007-07-10 17:32:56 +01:00
mach-ocelot
mach-pb1x00 Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
mach-pnx8550 [MIPS] PNX8550 fixups 2006-10-04 18:06:15 +01:00
mach-qemu [MIPS] Qemu does not have D-cache aliases 2006-09-27 13:37:49 +01:00
mach-rm [MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ... 2007-03-04 19:02:38 +00:00
mach-sibyte [MIPS] Use the proper technical term for naming some of the cache macros. 2006-07-13 21:26:04 +01:00
mach-tx49xx [MIPS] Workaround for a sparse warning in include/asm-mips/mach-tx4927/ioremap.h 2007-07-13 17:40:01 +01:00
mach-vr41xx [MIPS] Make I8259A_IRQ_BASE customizable 2007-02-06 16:53:09 +00:00
mach-wrppmc [MIPS] Wind River 4KC PPMC Eval Board Support 2006-06-19 17:39:18 +01:00
mach-yosemite [MIPS] Use the proper technical term for naming some of the cache macros. 2006-07-13 21:26:04 +01:00
mips-boards [MIPS] New files for lemote fulong mini-PC support 2007-07-10 17:33:02 +01:00
pci [MIPS] SN: include asm/sn/types.h for nasid_t. 2006-06-19 17:39:24 +01:00
pmc-sierra/msp71xx [MIPS] PMC MSP71xx PCI support 2007-07-10 17:33:03 +01:00
sgi Convert SGI IP22 and specific drivers to platform_device. 2007-05-11 17:00:29 +01:00
sibyte sb1250-duart.c: SB1250 DUART serial support 2007-07-17 10:23:03 -07:00
sn [MIPS] IP27: Move definition of nic_t to its sole user. 2006-12-12 01:46:24 +00:00
tx4927 Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
tx4938 [MIPS] rbtx4938: Convert SPI codes to use generic SPI drivers 2007-07-10 17:33:03 +01:00
vr41xx [MIPS] Separate platform_device registration for VR41xx GPIO 2007-07-12 17:41:15 +01:00
xtalk
8253pit.h
a.out.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
abi.h [MIPS] signals: Share even more code. 2007-02-18 21:31:35 +00:00
addrspace.h [MIPS] Cleanup TO_PHYS_MASK definition 2007-07-10 17:32:56 +01:00
asm.h [MIPS] 16K & 64K page size fixes 2006-11-01 17:46:09 +00:00
asmmacro-32.h [MIPS] Fix fpu_save_double on 64-bit. 2006-06-19 17:39:13 +01:00
asmmacro-64.h [MIPS] Fix fpu_save_double on 64-bit. 2006-06-19 17:39:13 +01:00
asmmacro.h [MIPS] Remove duplicate fpu enable hazard code. 2007-06-06 19:34:31 +01:00
atomic.h [MIPS] Fix build error in atomic64_cmpxchg 2007-05-11 14:28:33 +01:00
auxvec.h
barrier.h [MIPS] Cleanup memory barriers for weakly ordered systems. 2006-12-04 22:43:14 +00:00
bcache.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
bitops.h [MIPS] Remove a duplicated local variable in test_and_clear_bit() 2007-06-26 19:57:33 +02:00
bootinfo.h [MIPS] WRPPMC: Fix build. 2007-07-10 17:33:06 +01:00
branch.h
break.h
bug.h [MIPS] Fix BUG(), BUG_ON() handling 2007-04-20 14:58:37 +01:00
bugs.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
byteorder.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
cache.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
cachectl.h
cacheflush.h [MIPS] Remove unused argument from kunmap_coherent(). 2007-04-27 16:20:24 +01:00
cacheops.h [MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 2007-07-10 17:33:02 +01:00
checksum.h [MIPS] Fix wrong checksum for split TCP packets on 64-bit MIPS 2007-04-20 14:58:37 +01:00
compat-signal.h [MIPS] use compat_siginfo in rt_sigframe_n32 2007-06-26 19:57:33 +02:00
compat.h Introduce compat_u64 and compat_s64 types 2007-07-16 09:05:48 -07:00
compiler.h
cpu-features.h [MIPS] Enable support for the userlocal hardware register 2007-07-10 17:33:02 +01:00
cpu-info.h [MIPS] FPU ownership management & preemption fixes 2007-03-17 01:03:26 +00:00
cpu.h [MIPS] PMC MSP71xx mips common 2007-07-10 17:33:03 +01:00
cputime.h
current.h
debug.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
delay.h [MIPS] Make MIPS udelay() preempt safe under DEBUG_PREEMPT 2007-03-24 17:01:49 +00:00
device.h Driver core: add dev_archdata to struct device 2006-12-01 14:52:01 -08:00
div64.h [MIPS] Change names of local variables to silence sparse 2007-07-10 17:33:06 +01:00
dma-mapping.h [MIPS] Don't claim we support dma_declare_coherent_memory - we don't. 2007-02-13 22:40:50 +00:00
dma.h [MIPS] ISA: Fix typo 2007-03-08 01:10:30 +00:00
ds1216.h [MIPS] Support for several more SNI RM models. 2007-02-18 21:31:37 +00:00
ds1286.h
dsp.h
elf.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
emergency-restart.h
errno.h
fb.h fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
fcntl.h [MIPS] Remove F_SETSIG and F_GETSIG in favor of the asm-generic definitions. 2006-09-27 13:37:48 +01:00
fixmap.h [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
floppy.h
fpregdef.h
fpu_emulator.h [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
fpu.h [MIPS] FPU hazard handling 2007-05-11 14:28:31 +01:00
futex.h [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
gdb-stub.h
gfx.h
gpio.h [MIPS] Add generic GPIO support 2007-07-10 17:32:55 +01:00
gt64120.h [MIPS] Rewrite GALILEO_INL/GALILEO_OUTL to GT_READ/GT_WRITE 2006-11-30 01:14:43 +00:00
gt64240.h
hardirq.h
hazards.h [MIPS] SB1: Build fix. 2007-05-11 14:28:31 +01:00
highmem.h [MIPS] Remove LIMITED_DMA support 2007-05-11 14:28:31 +01:00
hw_irq.h [PATCH] genirq: add ->retrigger() irq op to consolidate hw_irq_resend() 2006-06-29 10:26:23 -07:00
i8259.h [MIPS] Make I8259A_IRQ_BASE customizable 2007-02-06 16:53:09 +00:00
ide.h
inst.h [MIPS] Fix rdhwr_op definition. 2006-07-13 21:26:08 +01:00
inventory.h
io.h [MIPS] Workaround for a sparse warning in include/asm-mips/io.h 2007-07-12 17:41:10 +01:00
ioctl.h [MIPS] Remove unreferenced _IOC_SLMASK macro in ioctl.h. 2007-02-26 23:06:06 +00:00
ioctls.h
ipc.h
ipcbuf.h
irq_cpu.h [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
irq_regs.h [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
irq.h [MIPS] SMTC: Interrupt mask backstop hack 2007-07-12 17:41:17 +01:00
irqflags.h [MIPS] SMTC: Fix recursion in instant IPI replay code. 2007-03-29 23:46:36 +01:00
isadep.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
jazz.h
jazzdma.h
Kbuild [MIPS] Have headers_install install <asm/cachectl.h> and <asm/sysmips.h>. 2006-09-27 13:37:56 +01:00
kdebug.h move die notifier handling to common code 2007-05-08 11:15:04 -07:00
kexec.h kdump/kexec: calculate note size at compile time 2007-05-08 11:15:07 -07:00
kmap_types.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
kspd.h [MIPS] kpsd and other AP/SP improvements. 2006-04-19 04:14:27 +02:00
linkage.h
local.h local_t: mips extension 2007-05-08 11:15:20 -07:00
m48t35.h
m48t37.h
marvell.h [MIPS] MV64340: Add missing prototype for mv64340_irq_init(). 2007-03-29 23:46:35 +01:00
mc146818-time.h
mc146818rtc.h
mips_mt.h [MIPS] SMTC: <asm/mips_mt.h> must include <linux/cpumask.h> 2007-03-07 00:07:15 +00:00
mipsmtregs.h [MIPS] MT: Nuke duplicate mips_mt_regdump() prototype. 2007-02-06 16:53:24 +00:00
mipsprom.h
mipsregs.h [MIPS] Change names of local variables to silence sparse (part 2) 2007-07-12 17:41:10 +01:00
mman.h [PATCH] Remove final references to deprecated "MAP_ANON" page protection flag 2007-02-11 10:51:17 -08:00
mmu_context.h [PATCH] x86: PARAVIRT: add hooks to intercept mm creation and destruction 2007-05-02 19:27:14 +02:00
mmu.h
mmzone.h [PATCH] Delete unused definitions of kvaddr_to_nid 2006-06-23 07:42:52 -07:00
module.h [MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 2007-07-10 17:33:02 +01:00
msc01_ic.h [MIPS] MT: Reenable EIC support and add support for SOCit SC. 2007-05-11 14:28:31 +01:00
msgbuf.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
mutex.h
namei.h
paccess.h [MIPS] Replace old fashioned "__typeof" with "__typeof__". 2007-04-27 16:20:25 +01:00
page.h [MIPS] Fix PHYS_OFFSET for 64-bits kernels with 32-bits symbols 2007-07-10 17:32:57 +01:00
param.h [MIPS] Make timer interrupt frequency configurable from kconfig. 2006-06-19 17:39:27 +01:00
parport.h
pci.h PCI: remove pci_dac_dma_... APIs 2007-07-11 16:02:11 -07:00
percpu.h
pgalloc.h Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
pgtable-32.h [MIPS] pte_offset(dir,addr): parenthesis fix 2006-12-06 20:16:08 +00:00
pgtable-64.h [MIPS] Always use virt_to_phys() when translating kernel addresses 2007-03-24 17:01:49 +00:00
pgtable-bits.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
pgtable.h page table handling cleanup 2007-07-16 09:05:36 -07:00
pmon.h
poll.h Consolidate asm/poll.h 2007-05-11 08:29:34 -07:00
posix_types.h
prctl.h
prefetch.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
processor.h [MIPS] Convert init_thread initialization to ISO C initializers. 2007-07-10 17:33:02 +01:00
ptrace.h [MIPS] die(): Properly declare as non-returning 2007-07-04 15:53:15 +01:00
qemu.h [MIPS] Qemu system shutdown support 2006-06-19 17:39:19 +01:00
r4kcache.h [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
reboot.h
reg.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
regdef.h
resource.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
rm9k-ocd.h [MIPS] Support for the RM9000-based Basler eXcite smart camera platform. 2006-06-19 17:39:26 +01:00
rtlx.h [MIPS] RTLX: Handle copy_*_user return values. 2007-03-17 01:03:29 +00:00
scatterlist.h PCI: scatterlist.h needs types.h 2007-05-02 19:02:34 -07:00
sections.h [MIPS] Remove _fdata from asm-mips/sections.h 2007-02-06 16:53:15 +00:00
segment.h
semaphore.h
sembuf.h
serial.h [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
setup.h [PATCH] cleanup asm/setup.h userspace visibility 2006-12-07 08:39:46 -08:00
sgialib.h [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
sgiarcs.h [MIPS] ARC: Fix warning. 2007-03-24 17:01:49 +00:00
sgidefs.h
shmbuf.h
shmparam.h
sigcontext.h [MIPS] Add basic SMARTMIPS ASE support 2007-02-22 00:50:44 +00:00
siginfo.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
signal.h [MIPS] signals: Share even more code. 2007-02-18 21:31:35 +00:00
sim.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
smp.h [MIPS] Remove unused cpu_callout_map and num_booting_cpus() 2007-07-10 17:32:55 +01:00
smtc_ipi.h [MIPS] SMTC: Fix recursion in instant IPI replay code. 2007-03-29 23:46:36 +01:00
smtc_proc.h [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
smtc.h [MIPS] SMTC: Add fordward declarations for mm_struct and task_struct. 2007-03-07 00:07:16 +00:00
sni.h [MIPS] SNI RM updates 2007-07-10 17:33:03 +01:00
socket.h [NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support 2007-04-25 22:24:21 -07:00
sockios.h [NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution 2007-04-25 22:24:04 -07:00
sparsemem.h [MIPS] Fix sparsemem support. 2006-06-06 00:15:20 +01:00
spinlock_types.h
spinlock.h [MIPS] Fix __raw_read_trylock() to allow multiple readers 2007-03-07 00:07:17 +00:00
stackframe.h [MIPS] Fix KMODE for the R3000 2007-06-11 18:20:53 +01:00
stacktrace.h [MIPS] Make unwind_stack() can dig into interrupted context 2006-10-01 23:16:59 +01:00
stat.h
statfs.h
string.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
suspend.h
sysmips.h
system.h [MIPS] Non-FPAFF: Fix warning. 2007-07-10 17:33:05 +01:00
termbits.h lots-of-architectures: enable arbitary speed tty support 2007-07-10 17:51:13 -07:00
termios.h [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
thread_info.h [MIPS] Disallow CpU exception in kernel again. 2007-04-20 14:58:37 +01:00
time.h [MIPS] mips HPT cleanup: make clocksource_mips public 2006-11-30 01:14:49 +00:00
timex.h [MIPS] Fix errors detected by "make headers_check" 2006-09-27 13:37:40 +01:00
titan_dep.h
tlb.h
tlbdebug.h [MIPS] Cleanup tlbdebug.h 2007-07-12 17:41:11 +01:00
tlbflush.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
topology.h
traps.h
tx3912.h
types.h [PATCH] Centralise definitions of sector_t and blkcnt_t 2006-12-04 19:41:15 -08:00
uaccess.h [MIPS] Export __copy_user_inatomic. 2007-03-07 00:07:17 +00:00
ucontext.h
unaligned.h
unistd.h [MIPS] Add whitelists for checksyscalls.sh 2007-07-04 15:53:16 +01:00
user.h [MIPS] Fix errors detected by "make headers_check" 2006-09-27 13:37:40 +01:00
vga.h [PATCH] vgacon: make VGA_MAP_MEM take size, remove extra use 2006-06-22 15:05:58 -07:00
vpe.h [MIPS] kpsd and other AP/SP improvements. 2006-04-19 04:14:27 +02:00
war.h [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00
wbflush.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
xor.h
xxs1500.h