linux-mips-fnet
[Top] [All Lists]

DS5000/25 and maybe others i/o base addresses?

To: linux-mips@fnet.fr
Subject: DS5000/25 and maybe others i/o base addresses?
From: Richard van den Berg <R.vandenBerg@inter.NL.net>
Date: Sun, 19 Jul 1998 12:20:10 +0200 (MET DST)
Hello everybody,

Florian, I'm curious how you handled the base address stuff for the scsi
driver. Let me explain why:

With compiling declance.c in the kernel I've succeeded, had to do a
dirty hack in Space.c, don't know why yet, will find out some time
later. declance.c is derived from sunlance.c because that has a lot
of generic LANCE code. With adepting for DS's I've started with the
initialization (after commenting out sparc specific parts of course)
and am a bit stuck with the base address stuff, for the only thing I
know that works is NetBSD and the NetBSD code tells me differently then
the PMAD-AA TURBOchannel Ethernet Module documentation does about the
Ethernet Module Adresses - the KN02 documentation refers to the Ethernet
Module specification.

And as far as my DS5000/25 concerns I have only the NetBSD output -
which I attached at the end - and that shows regretably only relative
base addresses. In other words any programming documentation about the
KN02CA system module is very welcome.

NetBSD says this at boottime:

restart
 (1024x768x8) (console)Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.  
All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3 (INSTALL) #2: Tue Dec 30 01:24:02 PST 1997
    jonathan@Reno.DSG.Stanford.EDU:/reno/compile/INSTALL
real mem = 16777216
avail mem = 13307904
using 409 buffers containing 1675264 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R3000 CPU Rev. 3.0 with MIPS R3010 FPC Rev. 4.0
        L1 cache: 64kb Instruction, 64kb Data.
tc0 at mainbus0: 12.5 MHz clock
asic0 at tc0 slot 3 offset 0x0
le0 at asic0 offset 0xc0000 priority 4: address 08:00:2b:30:8d:2b
le0: 32 receive buffers, 8 transmit buffers
scc0 at asic0 offset 0x100000 priority 5
clock0 at asic0 offset 0x200000 priority 0: mc146818 or compatible
isdn at asic0 offset 0x240000 priority 7 not configured
dtop0 at asic0 offset 0x280000 priority 6
fdc at asic0 offset 0x2c0000 priority 2 not configured
asc0 at asic0 offset 0x300000 priority 3: target 7
xcfb0 at tc0 slot 2 offset 0x0 (1024x768x8) (console)
Beginning old-style SCSI device autoconfiguration
boot device: <unknown>
nfs_boot: trying BOOTP/DHCP
nfs_boot: my_addr=0xc0a8010a
nfs_boot: my_mask=0xffffff00


Regards,

Richard

<Prev in Thread] Current Thread [Next in Thread>