[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 9 Sep 2008 16:00:18 +0200 (CEST)
From: Guennadi Liakhovetski <g.liakhovetski@....de>
To: netdev@...r.kernel.org
Subject: Extend smc911x to support LAN921x chips - differences?
Hi,
I have to support the LAN9215 chip from SMSC under Linux. Of course, there
is the manufacturer provided smsc911x driver, that supports both chip
families, but I would prefer to extend the mainline smc911x driver to also
support 921x. I have both datasheets, they are freely downloadable from
SMSC site, and I have both drivers, but they are absolutely different. To
make my decision and the work easier - maybe someone knows from the top of
their head, what the relevant differences between the chips are?
The vendor driver does not really differentiate between the chips. It does
read the chip version, and sets the "generation" variable, but then that
variable is only used once to rule out the oldest chips, which anyway are
not supported by smc911x. So I tried the in-kernel driver with only added
chip IDs added, it can access registers, read and write the MAC-address,
interrupts are generated too, but so far I see nothing on the wire, and
the PHY reports "link down".
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists