From: Glenn Golden <gdg@zp...> - 2004-02-10 22:42:38
Sam, et. al.,
Don't know if you've been following this thread on the -users list,
but for a quick background: The "ACT" and "LINK" LEDs on the new
SMC2336W-AG (cardbus) card weren't being wiggled at all by the
current driver (CVS, 2/8/04) which [I guess?] assumes they are
being driven via internal logic in the 5212. Michael Schwingen
suggested that SMC might have chosen to drive them instead from the
5212 GPIO pins in order to give the driver writer more flexibility
in how they operate. Indeed, he was correct, and with some help
from him, I located the GPIO registers/bits that are associated with
the LEDs. I added a few HAL-abstraction macros to if_athvar.h to
access them, and patched my version of the driver so they work in
a reasonable sort of way.
I am more than happy to contribute this to your sources if you like,
except that it's of course entirely vendor-specific, and I have no
idea how you'd prefer to go about incorporating conditional code like
this. So if you can give me an example, or a quick rundown on how you'd
like to handle vendor-specific stuff, I'll incorporate it according to
your guidelines and send you a patch diff.
Get latest updates about Open Source Projects, Conferences and News.