Fully clear the EHCI members too, so an incompletely constructed object can be

safely deleted.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24957 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-04-13 06:04:20 +00:00
parent 9c79200c6b
commit 93209d82e2

View File

@ -98,13 +98,21 @@ print_queue(ehci_qh *queueHead)
EHCI::EHCI(pci_info *info, Stack *stack)
: BusManager(stack),
fCapabilityRegisters(NULL),
fOperationalRegisters(NULL),
fRegisterArea(-1),
fPCIInfo(info),
fStack(stack),
fPeriodicFrameListArea(-1),
fPeriodicFrameList(NULL),
fInterruptEntries(NULL),
fAsyncQueueHead(NULL),
fAsyncAdvanceSem(-1),
fFirstTransfer(NULL),
fLastTransfer(NULL),
fFinishTransfersSem(-1),
fFinishThread(-1),
fCleanupSem(-1),
fCleanupThread(-1),
fStopThreads(false),
fFreeListHead(NULL),