kernel-aes67/include/asm-avr32
Haavard Skinnemoen 75d3521377 [PATCH] atmel_serial: Pass fixed register mappings through platform_data
In order to initialize the serial console early, the atmel_serial
driver had to do a hack where it compared the physical address of the
port with an address known to be permanently mapped, and used it as a
virtual address. This got around the limitation that ioremap() isn't
always available when the console is being initalized.

This patch removes that hack and replaces it with a new "regs" field
in struct atmel_uart_data that the board-specific code can initialize
to a fixed virtual mapping for platform devices where this is possible.
It also initializes the DBGU's regs field with the address the driver
used to check against.

On AVR32, the "regs" field is initialized from the physical base
address when this it can be accessed through a permanently 1:1 mapped
segment, i.e. the P4 segment.

If regs is NULL, the console initialization is delayed until the "real"
driver is up and running and ioremap() can be used.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Acked-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-04 10:25:05 -07:00
..
arch-at32ap [PATCH] atmel_serial: Pass fixed register mappings through platform_data 2006-10-04 10:25:05 -07:00
mach [PATCH] atmel_serial: Rename at91_register_uart_fns 2006-10-04 10:25:05 -07:00
a.out.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
addrspace.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
asm.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
atomic.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
auxvec.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
bitops.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
bug.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
bugs.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
byteorder.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
cache.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
cachectl.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
cacheflush.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
checksum.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
cputime.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
current.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
delay.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
div64.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
dma-mapping.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
dma.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
elf.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
emergency-restart.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
errno.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
fcntl.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
futex.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
hardirq.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
hw_irq.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
intc.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
io.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
ioctl.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
ioctls.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
ipcbuf.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
irq.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
irqflags.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
Kbuild [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
kdebug.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
kmap_types.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
kprobes.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
linkage.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
local.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
mman.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
mmu_context.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
mmu.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
module.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
msgbuf.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
mutex.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
namei.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
numnodes.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
ocd.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
page.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
param.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
pci.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
percpu.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
pgalloc.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
pgtable-2level.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
pgtable.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
poll.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
posix_types.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
processor.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
ptrace.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
resource.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
scatterlist.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
sections.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
semaphore.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
sembuf.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
setup.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
shmbuf.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
shmparam.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
sigcontext.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
siginfo.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
signal.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
socket.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
sockios.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
stat.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
statfs.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
string.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
sysreg.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
system.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
termbits.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
termios.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
thread_info.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
timex.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
tlb.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
tlbflush.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
topology.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
traps.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
types.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
uaccess.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
ucontext.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
unaligned.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
unistd.h [PATCH] AVR32: Implement kernel_execve 2006-10-02 07:57:24 -07:00
user.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00