[disk/pnp] Independence from WV_S_DISK_T
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Mon, 10 Jan 2011 02:34:05 +0000 (21:34 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Mon, 10 Jan 2011 02:34:05 +0000 (21:34 -0500)
commit73b4efaf3c372b70b6e6023b23ea8a470f7b43cc
treeedfdbf929ae4fda1568f7cd631cd46aebb4ad0bb
parentdf9203ad600adc703b85cfd58569df0b18c5e7fd
[disk/pnp] Independence from WV_S_DISK_T

At long last.  This involved tracking state in the disk
structure with WV_E_DISK_STATE, introducing WvDiskPnp()
for the IRP major function handling tables, and renaming
disk_pnp__dispatch() to WvlDiskPnp().

Oh, and an item on a to-do list was simultaneously
addressed: Don't do anything special on IRP_MJ_PNP:
IRP_MN_REMOVE_DEVICE except note the state.  PDOs should
not disappear unless detached by the user-land utility
or possibly other internal functions, but we should just
leave them intact from Device Manager / SetupAPI functions.
src/aoe/driver.c
src/include/disk.h
src/winvblock/disk/pnp.c
src/winvblock/driver.c