This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

The CYGPKG_DEVS_ETH_ARM_AT91_PHYADDR setting seem's to be not needed


In the AT91-Ethernet-Driver is the parameter CYGPKG_DEVS_ETH_ARM_AT91_PHYADDR. It should hold the MDC/MDIO-addres of the Ethernet-PHY. But no matter wich value i write, the lwIP sees my PHY every time. Furtermore the lwIP says, he find my PHY on the addr 0, while the datasheet of the PHY say's one can config the address between 1..7.

Now my quistions:
1. Is addr 0 a kind of broadcast and works with any PHY no matter how its configured?
2. Is it wrong, that if i set CYGPKG_DEVS_ETH_ARM_AT91_PHYADDR to 7, the lwIP-initialisation says look at addr 0 (see printout)?


AT91_ETH: Initialising @ fffdc000
AT91_ETH: Installing Interrupts on IRQ 16
AT91_ETH - Warning! ESA unknown
AT91_ETH: 12:34:56:78:9a:bc
PHY: Micrel KSZ8041 at addr 0
ksz8041_stat(): phy_addr: 0
... waiting for auto-negotiation

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]