Dynamically allocate USB controller structures.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 28 Feb 2010 07:23:19 +0000 (02:23 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 10 Mar 2010 00:59:25 +0000 (19:59 -0500)
commit406fad6fada9fdf1df6c1f627dfadc08452b6b5e
tree64df5e9193ad2299eaa0bdbf9b2781b06ec49e4d
parent4547eb904992b12771f040a8c1abc84892a64f98
Dynamically allocate USB controller structures.

Have each controller type allocate its own data structure.

Also, implement freeing of unused uhci controller structures.
src/usb-ohci.c
src/usb-ohci.h
src/usb-uhci.c
src/usb-uhci.h
src/usb.c
src/usb.h