[comp.dcom.lans] Need to get Ethernet Address & card type directly from 3Com cards

pete@naitc (Peter Franks) (09/07/90)

I need some information about the innards of a few 3Com Ethernet cards,
specifically the EtherLink II (3C503 - IBM PC Bus), EtherLink Plus
(3C505 - IBM PC Bus), EtherLink/MC (3C523 - IBM MicroChannel Bus), and
the EtherLink/NB (3C543 - Apple Macintosh Bus).

What I need to do is create a (hopefully) simple program that, when
run on the PC in which the card resides, will return the card's type
and Ethernet address, either to stdout or, optionally, append it to a
file.

I need to know (I think), which port on the card (e.g., base port + 3)
to send what command(s) (e.g., 0x8c), so the card will return its type and
six-byte Ethernet address from (possibly) a port (e.g., base port + 2).

Can anyone help?  Even if you know the answer for only one of the cards,
please either post or email.  If there's enough interest, I will summarize.
Please note:  I have directed Followup-To: comp.dcom.lans.

-- 
+------------------+-----------------------------------------------------------+
|   Peter Franks   |                   pete@naitc.naitc.com                    |
|       NI9D       |          "I speak for myself, not A.C. Nielsen"           |
+------------------+-----------------------------------------------------------+

sblair@synoptics.com (Steven Blair) (09/07/90)

if you use PC/NFS, you can use the command: myeaddr and get this
information...


--
Steven C. Blair		Network Operations Center
SynOptics Communications Inc. Mountain View, California
INTERNET: sblair@synoptics.com  sblair@excalibur.synoptics.com
PROBLEMS/EMAIL: HOSTMASTER@SYNOPTICS.COM postmaster@synoptics.com
---->>RIP Stevie Ray Vaughan 1954-1990 You Will Be *Missed*<<----

alan@curly.Viewlogic.COM (Alan Medsker) (09/07/90)

For 3C505:

Software Interrupt 82H,

ax = 3		Function code (Return Ethernet Address)
es:bx		Buffer address

Return:	carry clear if successful, buffer es:bx updated
	carry set if error, ax = error code

Sorry, that's the only one I have (from the EtherLink Plus Software
Developer's Guide).

Alan
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alan Medsker                                 Viewlogic Systems, Inc.
Voice: (508) 480-0881                        293 Boston Post Road West
Fax: (508) 480-0882                          Marlboro, MA  01752
Internet: amedsker@Viewlogic.COM
cc:Mail: Alan Medsker at Viewlogic
CI$: 76376,662
BIX: amedsker
2 Meters: WB0SQR
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
My opinions, of course.  And don't hold me to them.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

howeird@hpspdra.HP.COM (Howard Stateman) (09/08/90)

I don't know how much of a help this is, but all three cards come with a
diagnostic disc which will give you the address information IF you know
the interupt, dma and base i/o address jumper settings on the card.

For the 3C501 the program is 3C501.EXE, and the syntax is

3C501 I# D# B#

Where # is the number corresponding to the card's jumper settings,
I=Interupt D=DMA B=I/O Base Memory address

For the 3C505, the syntax is similar, just add a hyphen before each
parameter:

3C505 -I# -D# -B#

The 3C503 has an intelligent diagnostics routine which tells you
the jumper settings, as well as the address when you run 3C503.EXE.

Except for the I/O Base memory address, the jumpers on the card are
clearly labeled and intuitive. The memory jumpers need the manual's
table to be decoded, but most people leave them at the default setting.

Defaults:

DMA 1
INT 3
I/O 300


Howard Stateman  
Systems Support Engineer  Telnet (415) 857-3817
Intelligent Networks Operation, Palo Alto 
howeird@hpspdra.spd.HP.COM