Skip to contentSkip to conversation

ARM AT91 Ethernet address register

U-Boot-Users Rafal Jaworowski 2 participants 3 messages Feb 12, 2008 – Feb 14, 2008

lore
Share & tools
lore
#0 lore raw

Hi Peter,

What is the reason the MAC address on the AT91 is written in the 2nd address register, leaving the first one out? Is there something particular about this?

See cpu/arm920t/at91rm9200/ether.c, eth_init()
...
p_mac->EMAC_SA2L = ...
...

The reason I ask is this may confuse OS driver if no MAC address is found in the first register (which is the case for FreeBSD/ARM, for example).

Rafal

#1 lore raw
Quoted 9 lines

-----Original Message-----
From: Rafal Jaworowski [mailto:raj at semihalf.com]
Sent: 12 February 2008 11:52
To: Peter Pearse
Cc: u-boot-users
Subject: ARM AT91 Ethernet address register

Quoted 5 lines

Hi Peter,

What is the reason the MAC address on the AT91 is written in the 2nd address register, leaving the first one out? Is there something particular about this?

Sorry Rafal - I don't have access to AT91 boards and/or documentation

Perhaps one of the maintainers can help....

MAINTAINERS lists

"
Rick Bronson <[email protected]>

	AT91RM9200DK		at91rm9200

"

Regards

Peter

#2 lore raw
In reply to Rafal Jaworowski
Quoted 11 lines · Rafal Jaworowski

What is the reason the MAC address on the AT91 is written in the 2nd address register, leaving the first one out? Is there something particular about this?

See cpu/arm920t/at91rm9200/ether.c, eth_init()
...
p_mac->EMAC_SA2L = ...
...

The reason I ask is this may confuse OS driver if no MAC address is found in the first register (which is the case for FreeBSD/ARM, for example).

Hello Rick,

Perhaps you could shed some light on the above?

kind regards,
Rafal