* different h/w addresses on one eth
@ 2000-03-23 19:29 Claus
2000-03-23 21:22 ` Martin Costabel
0 siblings, 1 reply; 3+ messages in thread
From: Claus @ 2000-03-23 19:29 UTC (permalink / raw)
To: linuxppc-dev
sorry, one question from another newbie
pb3400, builtin eth {not the combo card}
and de4x5:
Mar 23 19:57:53 arma kernel: eth0: DC21041 at 0x0400 (PCI bus 0, device 14), h/w address 00:05:02:26:3a:02,
Mar 23 19:57:53 arma kernel: and requires IRQ28 (provided by PCI BIOS).
Mar 23 19:57:53 arma kernel: de4x5.c:V0.544 1999/5/8 davies@maniac.ultranet.com
Mar 23 19:57:57 arma kernel: eth0: media is unconnected, link down or incompatible connection.
now tulip.o:
Mar 23 20:03:27 arma kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov
Mar 23 20:03:27 arma kernel: eth0: Digital DC21041 Tulip rev 33 at 0x400, 00:A0:40:64:5C:40, IRQ 28.
Mar 23 20:03:27 arma kernel: eth0: 21041 Media table, default media ffff (Autosense).
Mar 23 20:03:27 arma kernel: eth0: 21041 media #0, 10baseT.
Mar 23 20:03:27 arma kernel: eth0: 21041 media #1, 10base2.
Mar 23 20:03:27 arma kernel: eth0: 21041 media #2, AUI.
Mar 23 20:03:30 arma kernel: eth0: No 21041 10baseT link beat, Media switched to 10base2.
hm..
/usr/doc/LDP/nag/node9.html#SECTION003320000 says:
A host is addressed by a six-byte address hard-coded into the
firmware of its Ethernet board. These addresses are usually written as a sequence of two-digit hex numbers separated by colons, as in aa:bb:cc:dd:ee:ff.
got someone of this list a solution for different h/w addresses on one eth card?
thx
Claus
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: different h/w addresses on one eth
2000-03-23 19:29 different h/w addresses on one eth Claus
@ 2000-03-23 21:22 ` Martin Costabel
2000-03-24 8:55 ` Michael Schmitz
0 siblings, 1 reply; 3+ messages in thread
From: Martin Costabel @ 2000-03-23 21:22 UTC (permalink / raw)
To: cl.en; +Cc: linuxppc-dev
Claus wrote:
> Mar 23 19:57:53 arma kernel: eth0: DC21041 at 0x0400 (PCI bus 0, device 14), h/w address 00:05:02:26:3a:02,
> Mar 23 20:03:27 arma kernel: eth0: Digital DC21041 Tulip rev 33 at 0x400, 00:A0:40:64:5C:40, IRQ 28.
> got someone of this list a solution for different h/w addresses on one eth card?
You may have noticed that you get the second address from the first by
bitswapping each byte. One of your drivers is reading backwards.
--
Martin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: different h/w addresses on one eth
2000-03-23 21:22 ` Martin Costabel
@ 2000-03-24 8:55 ` Michael Schmitz
0 siblings, 0 replies; 3+ messages in thread
From: Michael Schmitz @ 2000-03-24 8:55 UTC (permalink / raw)
To: Martin Costabel; +Cc: cl.en, linuxppc-dev
> > Mar 23 19:57:53 arma kernel: eth0: DC21041 at 0x0400 (PCI bus 0, device 14), h/w address 00:05:02:26:3a:02,
>
> > Mar 23 20:03:27 arma kernel: eth0: Digital DC21041 Tulip rev 33 at 0x400, 00:A0:40:64:5C:40, IRQ 28.
>
> > got someone of this list a solution for different h/w addresses on one eth card?
>
> You may have noticed that you get the second address from the first by
> bitswapping each byte. One of your drivers is reading backwards.
The first address was from the PCI BIOS - assuming the BIOS knows about
endianess problems with the card, the driver would be to blame. Does
anyone know what the correct prefix for this brands of card is?
Please note that the PCI being correct is only a weak assumption. Apple
has a history of storing the MAC address backwards in the PROM so you have
to byteswap - one particular case even required byteswapping nybbles :-)
Michael
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-03-24 8:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-23 19:29 different h/w addresses on one eth Claus
2000-03-23 21:22 ` Martin Costabel
2000-03-24 8:55 ` Michael Schmitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).