x86: ns16550: Rework driver to allow for x86 I/O space
The current implementation fakes a memory-mapped I/O device
at 0x3f8 and 0x2f8, then uses platform read/write functions
to do the actual reading and writing. These platform functions
only exist for the x86 platform; better to move the I/O
routines into the driver and have the driver request I/O ports
using request_ioport_region.

Signed-off-by: Michel Stam <michel@reverze.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9402372 commit 9f556d4b6fc71d548e5c984c416f4f1b7d599d2f
@Michel Stam Michel Stam authored on 7 Apr 2014
Sascha Hauer committed on 9 Apr 2014
Showing 19 changed files
View
arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c
View
arch/arm/mach-mvebu/armada-370-xp.c
View
arch/arm/mach-mvebu/kirkwood.c
View
arch/arm/mach-socfpga/xload.c
View
arch/arm/mach-tegra/tegra20.c
View
arch/mips/boards/dlink-dir-320/serial.c
View
arch/mips/boards/loongson-ls1b/serial.c
View
arch/mips/mach-ar231x/ar231x.c
View
arch/openrisc/boards/generic/generic.c
View
arch/ppc/boards/freescale-p1022ds/p1022ds.c
View
arch/ppc/boards/freescale-p2020rdb/p2020rdb.c
View
arch/ppc/boards/geip-da923rc/da923rc.c
View
arch/x86/boards/x86_generic/serial_ns16550.c
View
arch/x86/include/asm/syslib.h
View
arch/x86/mach-i386/Makefile
View
arch/x86/mach-i386/generic.c 100644 → 0
View
drivers/serial/serial_ns16550.c
View
include/driver.h
View
include/ns16550.h