From: Timur Tabi <timur@freescale.com>
To: peerchen@gmail.com, netdev@vger.kernel.org
Subject: Re: Problems with ULI 526x driver
Date: Mon, 12 Nov 2007 13:21:08 -0600 [thread overview]
Message-ID: <4738A7A4.1030004@freescale.com> (raw)
In-Reply-To: <47389E72.7050907@freescale.com>
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
next prev parent reply other threads:[~2007-11-12 19:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 18:41 Problems with ULI 526x driver Timur Tabi
2007-11-12 19:21 ` Timur Tabi [this message]
2007-11-13 22:50 ` Francois Romieu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4738A7A4.1030004@freescale.com \
--to=timur@freescale.com \
--cc=netdev@vger.kernel.org \
--cc=peerchen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).