• Patrick Mochel's avatar
    Device Model: Implement centralized device/driver binding · 403892ab
    Patrick Mochel authored
    - on device registration, all drivers of bus are iterated over
    - bus's bind callback is called to match device to driver
    - if successful, driver's probe callback is called
    - on device removal, driver's remove callback is called
    - on driver registration, list of devices is iterated over (and same thing happens)
    403892ab
device.h 5.68 KB