Subject: Re: QEC Ethernet (fwd)
To: None <port-sparc@netbsd.org>
From: Jason Wright <jason@thought.net>
List: port-sparc
Date: 10/30/1998 12:18:50
Actually, OpenBSD supports the following:

SUNW,qfe: 4 port 10/100mb hme boards
SUNW,hme: 1 port 10/100mb hme boards
qec+be: 1 port 10/100mb board with QEC DMA engine
qec+qe: 4 port 10mb board with QEC DMA engine

I personally have one of each of these boards running in OpenBSD machines
(except for SUNW,hme, but I do have SUNW,qfe), And it should be easy
enough to port to NetBSD, but I haven't looked at doing it.

Here's dmesg output from each, which provides a clue to telling one from
another:

SUNW,qfe:
hme0 at sbus0 slot 2 offset 0x8c00000 pri 7: address 08:00:20:8d:e7:e8 rev 34
qsphy0 at hme0 phy 1: QS6612 10/100 media interface, rev. 1
qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme1 at sbus0 slot 2 offset 0x8c10000 pri 7: address 08:00:20:8d:e7:e9 rev 34
qsphy1 at hme1 phy 1: QS6612 10/100 media interface, rev. 1
qsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme2 at sbus0 slot 2 offset 0x8c20000 pri 7: address 08:00:20:8d:e7:ea rev 34
qsphy2 at hme2 phy 1: QS6612 10/100 media interface, rev. 1
qsphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme3 at sbus0 slot 2 offset 0x8c30000 pri 7: address 08:00:20:8d:e7:eb rev 34
qsphy3 at hme3 phy 1: QS6612 10/100 media interface, rev. 1
qsphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
-------------------------------------------------------------------------------
qec+be:
qec0 at sbus0 slot 1 offset 0x20000: 128K memory 1 channel
be0 at qec0 offset 0x0 pri 5: rev 1 address 08:00:20:0b:cb:f1
be0: selecting 100baseTX half-duplex
-------------------------------------------------------------------------------
qec+qe:
qec1 at sbus0 slot 2 offset 0x20000: 128K memory 4 channels
qe0 at qec1 offset 0x0 pri 5: rev 1 address 08:00:20:0b:cb:f1
qe1 at qec1 offset 0x0 pri 5: rev 1 address 08:00:20:0b:cb:f1
qe2 at qec1 offset 0x0 pri 5: rev 1 address 08:00:20:0b:cb:f1
qe3 at qec1 offset 0x0 pri 5: rev 1 address 08:00:20:0b:cb:f1

Note the attachments: hme attaches directly to the sbus (each hme handles 
its own dma (logically), but the qe & be devices attach to a qec carrier,
which is attached to the sbus.

--Jason Wright