[IBBUS] fix bug in Control device implementation (patches 4218,4280). [mlnx: 4396]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 2 Jun 2009 17:48:10 +0000 (17:48 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 2 Jun 2009 17:48:10 +0000 (17:48 +0000)
commitcd836683d4dde543e9c7b8850b83a2ed73cacd4d
tree6a7601a16338ea69e9fc9fd9d4050db21dcb9375
parentc74d5809d2e12f7a961e72972641e4675b8499ea
[IBBUS] fix bug in Control device implementation (patches 4218,4280). [mlnx: 4396]

Control Device was created in DriverEntry and removed in DrvUnload routine.
But PnP Manager won't call DrvUnload before Control Device is removed.
So IBBUS gets never unloaded.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2228 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/bus/kernel/bus_driver.c
core/bus/kernel/bus_pnp.c