Timur Tabi wrote:
Hi,

I'm trying to get the ULI 526x driver working on a Freescale 8610 reference board, and it can't connect. When I turn on debug, I see this:

Update: I can ping anything on my subnet, but nothing else. Also, it looks like my MAC address is hosed:

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          inet addr:10.82.19.159  Bcast:10.82.19.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:414 (414.0 b)  TX bytes:1224 (1.1 KiB)
          Interrupt:18 Base address:0x1000

It turns out that the driver is getting the MAC address from the ID table:

if(((u16 *) db->srom)[0] == 0xffff || ((u16 *) db->srom)[0] == 0) /* SROM absent, so read MAC address from ID Table */
        {


In my case, the address that is returned is all zeros. I don't know anything about the ULI 526x hardware. Is it possible that there's a missing EEPROM on my board that's supposed to hold the MAC address? Are these registers user-writable?

--
Timur Tabi
Linux kernel developer at Freescale
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to