Subject: Re: help Ethernet Card
To: Allen Briggs <briggs@canolog.ninthwonder.com>
From: HIRAOKA Norito <hiraoka@da2.so-net.or.jp>
List: port-mac68k
Date: 08/01/1998 01:45:43
Hi Allen,

At 8:49 98.7.31, Allen Briggs wrote:
> > HIRAOKA> The value of sResource entry Ox81 - Ox01 of Slot A
> > HIRAOKA> is as follows:
> > HIRAOKA>   0004 0001 0109 0112
> > According to sys/arch/mac68k/nubus/nubus.h, they are
> > Category, Type, DrSW, DrHW, respectively.  Category 0004
> > shows it's network card and Type 0001 is Ethernet.
> 
> This is correct.
> I have created a kernel that should allow a kernel to boot with this
> network adapter.  The adapter will not be incorrectly identified as
> "ae0".  It will not be correctly identified as "sn0", though.
> Do you know any programming?
> 
> The kernel is:
>         ftp://ftp.macbsd.com/pub/outgoing/briggs/netbsd-980731.gz
> 
> Please let me know how it does.  I have not tried booting it, myself.

Thank you for your help.

I've tested this kernel. The results are followings:

...
nubas0 at mainbus0
sn0 at nubus0 slot a address 00:00:00:28:00:00
fpu0 at mainbus0 (emulator)
....
starting network
configuring network interfaces:.
starting system logger
cheking for core dump...
savecore: cant't find device 103/0
Jul 31 09:21:37  savecore: can't find device 103/0
starting rpc daemons: portmap.
starting nfs daemons:.
creating runtime link editor directory cache.
cheking quatas: done.
Kernel Illegal Instruction trap.
trap type 2, code = 0x0, v = 0x0
kernel program counter = 0x1a0
kernel: Illegal instruction trap
pid = 139, pc = 000001A0, ps = 2008, sfc = 1, dfc = 1
Regsisters:
...

panic Illegal instruction
Stopped at     _Debugger+0x6 :  unlk   a6

/   HIRAOKA Norito    /////////////////////////////////////////
/         Dr. Eng.    Tel/Fax: +81-3-5685-6017 (Ueno-Sakuragi)
/                     Email:   hiraoka@da2.so-net.or.jp
/  $B!!@6Iw#M#L!!"*(J     http://www.ob.seifu.ac.jp/