summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-02-07 09:15:15 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 17:42:24 +0100
commite6ee512f5a77553a6fe08cad68b75d5fdfd2ffb8 (patch)
tree09949c61810dd2824937a0f626fa4ff3e24fe881 /arch
parentdz.c: Use a helper to cast from "struct uart_port *" (diff)
downloadlinux-e6ee512f5a77553a6fe08cad68b75d5fdfd2ffb8.tar.xz
linux-e6ee512f5a77553a6fe08cad68b75d5fdfd2ffb8.zip
dz.c: Resource management
This is a set of changes to implement proper resource management in the driver, including iomem space reservation and operating on physical addresses ioremap()ped appropriately using accessory functions rather than unportable direct assignments. Some adjustments to code are made to reflect the architecture of the interface, which is a centrally controlled multiport (or, as referred to from DEC documentation, a serial line multiplexer, going up to 8 lines originally) rather than a bundle of separate ports. Types are changed, where applicable, to specify the width of hardware registers explicitly. The interrupt handler is now managed in the ->startup() and ->shutdown() calls for consistency with other drivers and also in preparation to handle the handover from the initial firmware-based console gracefully. 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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions