platform device / driver question

From: Jan Bernatik
Date: Fri Aug 25 2006 - 09:06:24 EST


hi, I am newbie to linux kernel development, but I couldn't get my
question answered on #kernelnewbies, and I am not able to get it right
from code.

I studied smc91x driver to understand how platform driver / device
subsystem works. On #kernelnewbies channel I was told this driver is
"hopelessly broken". How should one create and register the
platform_device/driver ? Is the implementation in smc91x correct ?

If someone could clarify this, I will appreciate that, and certainly
write some newbie-understandable documentation. It is not covered by
LDD AFAIK.

thanks, have a nice day
please CC me, I am not on the list

J.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/