mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
8b4a40809e
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>
23 lines
463 B
Makefile
23 lines
463 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Object file lists.
|
|
|
|
obj-$(CONFIG_TC) += tc.o tc-driver.o
|
|
obj-$(CONFIG_VT) += lk201.o lk201-map.o lk201-remap.o
|
|
|
|
$(obj)/lk201-map.o: $(obj)/lk201-map.c
|
|
|
|
# Uncomment if you're changing the keymap and have an appropriate
|
|
# loadkeys version for the map. By default, we'll use the shipped
|
|
# versions.
|
|
# GENERATE_KEYMAP := 1
|
|
|
|
ifdef GENERATE_KEYMAP
|
|
|
|
$(obj)/lk201-map.c: $(obj)/%.c: $(src)/%.map
|
|
loadkeys --mktable $< > $@
|
|
|
|
endif
|