Bahadir Balban wrote:
Hi,
How do I best pass parameters to a driver about my device at
compile-time, by device->platform_data? (it's going to be an in-kernel
driver).
It is a network device and the parameters are the PHY address and a
MAC address to optionally override the MAC stored in EEPROM. There may
also be more parameters eventually.
Thanks,
Bahadir
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
How about passing parameter name-value pairs using the -D option in your
makefile? Not sure if thats the one you want...
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/