• Patrick Mochel's avatar
    driver model: fix matching bug. · a0424fb7
    Patrick Mochel authored
    If a device didn't match a driver, bus_match() returned 0, and device_attach()
    would break out of the loop. So, the first driver was the only one being
    checked every time. 
    a0424fb7
bus.c 7.07 KB