Subject: sn glitch on IIci+Apple Ethernet NB TP card
To: None <port-mac68k@NetBSD.ORG, scottr@NetBSD.ORG>
From: Ken Nakata <kenn@romulus.rutgers.edu>
List: port-mac68k
Date: 12/11/1997 12:03:04
Hiya,

I had a chance to clean install and boot 1.3 BETA on a IIci at work
which has a direct Net connection via University's network.  It's got
an Apple Ethernet NB Twisted-Pair card.  Here's what it has to say
during the boot:

NetBSD 1.3_BETA (GENERIC) #52: Sat Dec  6 16:29:17 PST 1997
    root2@wormey:/usr/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh IIci  (68030)
cpu: delay factor 81
[...]
nubus0 at mainbus0
sn0 at nubus0 slot c address 01:00:05:fa:00:39
[...]

The real hardware address of this Ethernet card is, however,
0:5:2:84:fc:a8, or at least my other machine (Sparc IPX) at work
connected to the same subnet thinks it is (when MacOS is up on yyy15):

yyy14% arp -a | grep yyy15
yyy15.rutgers.edu (uuu.vvv.www.xxx) at 0:5:2:84:fc:a8
yyy14% traceroute yyy15
traceroute to yyy15.rutgers.edu (uuu.vvv.www.xxx), 30 hops max, 40 byte packets
 1  yyy15 (uuu.vvv.www.xxx)  3 ms !  5 ms !  7 ms !
yyy14%

(yyy14 is the IPX and yyy15 is the IIci).  Consequently, it hangs the
machine when I try to ifconfig the interface (or is it me who didn't
ifconfig lo0 before sn0?).

Slots' output on the card is as follows:

FHeader block:
fhDirOffset: 00ff8014
fhLength: 00008000
fhCRC: 985ce6d3
fhROMRev: 01
fhFormat: 01
fhTstPat: 5a932bc7
fhReserved: 00
fhByteLanes: D2

SInfo block:
siDirPtr: fcfe0001
siInitStatusA: 0000
siInitStatusV: 0004
siState: 04
siCPUByteLanes: 02
siTopOfROM: fd
siStatusFlags: 00
siTOConstant: 0064
siReserved: 0000

sResource Directory:
01 00000c ----> 01 00001c ----> 0001 0000 0000 0000
81 0000c0 --+	02 000020 ----> Apple Ethernet NB Twisted-Pair Card
ff 000000   |	20 000057
	    |	22 0000f0 ----> 00 000014
	    |	24 000038 ---+	02 02 0000
	    |	26 000104 -+ |	00000004
	    |	ff 000000  | |	fcfe0451:
	    |		   | |
	    |		   | +> 01 000010 -> Copyright (C) ....
	    |		   |	03 000050 -> ROM rev. 1.0
	    |		   |	04 00005c -> 341-1096
	    |		   |	ff 000000
	    |		   |
	    |		   +--> 00 000014
	    |			02 02 0000
	    |			00000004
	    |			fcfe04c1:
	    |
	    +-> 01 000010 --> 0004 0001 0000 0118
		02 000014 --> Network_EtherNet_none_AppleNBTwistedPair
		08 000001
		ff 000000

If you need more information, please let me know.

Ken