From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
Subject: Re: MMIO for new NCR810 driver?
Date: Fri, 12 Jul 1996 11:35:52 +0200 (MET DST) [thread overview]
Message-ID: <c637977a5a96dec533291b3b4502d381.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.91.960711230857.6399C-100000@gerard>
> I just look into io.h.
> I did not understand a lot all that stuff.
> Address ffffbc0..... seems weird (to an ignorant as I am about Alpha).
> Are you sure that __reab() is expecting addresses that have been remapped
> by vremap() ?
no, these strange addresses are almost correct; this is the PAGE_OFFSET
(asm-alpha/page.h) or IDENT_ADDR (asm-alpha/io.h) and part of the address
for PCI/ISA bus mapping. from the Xserver sources I only know that the
ISA/PCI bus is mapped to BUS_BASE / APECS_DENSE_MEM = 0xfffffc0300000000UL,
so this really should be 0xfffffc0300000000 + 0x44000000 = 0xfffffc0344000000
AFAIK.
or for kernel symbols:
gdb /linux/vmlinux
(gdb) x/i init
0xfffffc0000310f98 <init>: 27bb0016 ldah gp, 1441792(t12)
> Perhaps we should use directly the bus base address (44000000).
> It is just an idea. I do not reply to the list because I am very probably
> wrong.
I've tried this too (one never knows;) but it really didn't work
> Have you some pointer to documentations about Alpha architecture?
> At the moment I am quite ignorant of that. I have to learn something
> about Alpha machines. I am very interested in such hardware.
I'd guess this should be all mentioned in
Alpha AXP Architecture Reference Manual
Second Edition
Digital Press/Butterworth-Heinemann
DEC order #: EY-T132E-DP
ISBN 1-55558-145-5
Library of Congress: QA76.9.A73A46
but I don't have it (yet?). so far I'm trying to avoid such problems
or find some AXP guru (they are all on this list ;-) who knows/tells me.
for the Xserver so far I only needed the bus base address, everything
else is in user space and seems to work nicely...
you can find some information in linux/include/asm-alpha/apecs.h (for my XL)
and linux/include/asm-alpha/lca.h (for UDB/Multia) which define
/linux/include/asm-alpha/apecs.h:#define APECS_DENSE_MEM (IDENT_ADDR + 0x300000000UL)
/linux/include/asm-alpha/lca.h:#define LCA_DENSE_MEM (IDENT_ADDR + 0x300000000UL)
> > ncr_attach: unit=0 chip=810 base=44000000, io_port=b400, irq=11
> > ncr53c810-0: using memory mapped IO at virtual address 0xfffffe0000042000
> > Unable to handle kernel paging request at virtual address ffffbc0200840080
I don't understand why the kernel paging request address is much lower than
the virt. MMIO address and even lower than PAGE_OFFSET or APECS_DENSE_MEM
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next parent reply other threads:[~1996-07-12 9:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.91.960711230857.6399C-100000@gerard>
1996-07-12 9:35 ` Harald Koenig [this message]
[not found] <Pine.LNX.3.91.960713100009.10237E-100000@linux.cs.Helsinki.FI>
1996-07-13 11:50 ` MMIO for new NCR810 driver? Gerard Roudier
[not found] <Pine.LNX.3.91.960712212833.116B-100000@gerard>
1996-07-13 7:09 ` Linus Torvalds
[not found] <199607120948.LAA11973@ceres.tat.physik.uni-tuebingen.de>
1996-07-12 22:32 ` Gerard Roudier
1996-07-12 20:47 David Mosberger-Tang
-- strict thread matches above, loose matches on Subject: below --
1996-07-11 19:13 Harald Koenig
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox