This is the mail archive of the ecos-maintainers@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]

Re: Bug: KSZ8001.c


On Fri, Apr 03, 2009 at 06:24:38PM +0400, ÐÐÐÐÐÐÐ ÐÐÑÑÑÐÐ wrote:
> Hello!
>
> I think there is a bug in "Ethernet transceiver (PHY) support for Micrel  
> KSZ8001" module.
>
> File KSZ8001.c
> Line 160: _eth_phy_dev("Micrel KSZ8001", 0x00221613, ksz8001_stat)
>
> This causes an error at Embedded Artists 2469 platform
> "Unsupported PHY device - id: ffffffff"
>
> Documentation from Micrel for KSZ8001L/S says that device ID must be  
> 0x0022161A.
>
> Cure is
> Line 160: _eth_phy_dev("Micrel KSZ8001", 0x0022161A, ksz8001_stat)
>
> So, it works!
>
> Thank you for great job!

Is this a bug? Or is it simply that Micrel have brought out a new
version of the KSZ8001, the KSZ8001L/S which has a different ID?
Maybe correct fix is to add a new line:

_eth_phy_dev("Micrel KSZ8001L/2", 0x0022161A, ksz8001_stat);

Reading the data sheets for all the different KSZ8001 would tell you
this.

        Andrew


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