From: Yu, L. <lum...@in...> - 2005-10-13 13:10:53
|
>>=20 >> The structure is in a mess. why not cut bus.c? >>=20 >> I like this: >>=20 >> acpi_bus_init(void) >> { >> ... >> bus_register(&acpi_bus_type); >> ... >> driver_register(&acpi_bus_driver); >> ... >> } >I'm sorry, but I don't understand what do you mean. Can you clarify it? >Also, please focus on the basic idea of how to convert ACPI=20 >driver model in current stage. It appears people have quite different opinions about >the topic. The code is just to show my idea (a RFC) not for merging, so To cleanly polish the acpi driver code with linux driver model, you'd better start it from the beginning. I mean you'd better have a acpi bus driver, and there should have sysfs=20 object under /sys/bus/ |