[bus] Put the device right in the bus
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Tue, 21 Dec 2010 15:21:34 +0000 (10:21 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Tue, 21 Dec 2010 15:21:34 +0000 (10:21 -0500)
commit228de7d67d7eefa6d2a7d332febefd5cecb81788
tree3c24053ca9460a95034182cc85129964d6ccf061
parentf655cea548a36fd7100ce4fa09fa02c8437c16e6
[bus] Put the device right in the bus

Instead of a pointer and a separate allocation, put
the device structure right inside the bus structure.
Now when we free, we simply free the bus structure.
src/aoe/bus.c
src/include/bus.h
src/winvblock/bus/bus.c
src/winvblock/disk/pnp.c
src/winvblock/driver.c