diff options
| author | Patrick Mochel <mochel@osdl.org> | 2002-10-16 02:43:55 -0700 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2002-10-16 02:43:55 -0700 |
| commit | 007aa5530e2cbae97d4e149cfceeff730d4636bb (patch) | |
| tree | 207120b927abd62aad5edfd8fa350568d8ecb179 /include/linux/elf.h | |
| parent | 5f330849a1cd4ca64c94c12ecc941f97697c6ded (diff) | |
driver model: simplify device/driver binding.
- move list walking and matching to bus.c (since it's a function of the bus driver)
- do specialized walks of the bus's lists when binding; no more callbacks being passed
to bus_for_each_*.
- take rwsem when adding and removing both devices and drivers. lists of each are now
fully protected by that rwsem. It's also taken before we walk each list.
- move calls of device_{de,at}tach() to bus_{add,remove}_device() and calls of
driver_{de,at}tach() to bus_{add,remove}_driver().
Diffstat (limited to 'include/linux/elf.h')
0 files changed, 0 insertions, 0 deletions
