Change just host_controller_info to usb_host_controller_info for the sake of
clearity as suggested by Philippe Houdoin once and brought to my attention by Slavatore. As this definition is completely private to the USB stack it would not have caused any conflicts though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24828 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -61,7 +61,7 @@ Stack::Stack()
|
||||
bufferSize = sizeof(moduleName);
|
||||
TRACE(("USB Stack: found module %s\n", moduleName));
|
||||
|
||||
host_controller_info *module = NULL;
|
||||
usb_host_controller_info *module = NULL;
|
||||
if (get_module(moduleName, (module_info **)&module) != B_OK)
|
||||
continue;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class Object;
|
||||
class PhysicalMemoryAllocator;
|
||||
|
||||
|
||||
struct host_controller_info {
|
||||
struct usb_host_controller_info {
|
||||
module_info info;
|
||||
status_t (*control)(uint32 op, void *data, size_t length);
|
||||
status_t (*add_to)(Stack *stack);
|
||||
|
||||
@@ -32,7 +32,7 @@ ehci_std_ops(int32 op, ...)
|
||||
}
|
||||
|
||||
|
||||
host_controller_info ehci_module = {
|
||||
usb_host_controller_info ehci_module = {
|
||||
{
|
||||
"busses/usb/ehci",
|
||||
0,
|
||||
|
||||
@@ -33,7 +33,7 @@ ohci_std_ops(int32 op, ...)
|
||||
}
|
||||
|
||||
|
||||
host_controller_info ohci_module = {
|
||||
usb_host_controller_info ohci_module = {
|
||||
{
|
||||
"busses/usb/ohci",
|
||||
0,
|
||||
|
||||
@@ -36,7 +36,7 @@ uhci_std_ops(int32 op, ...)
|
||||
}
|
||||
|
||||
|
||||
host_controller_info uhci_module = {
|
||||
usb_host_controller_info uhci_module = {
|
||||
{
|
||||
"busses/usb/uhci",
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user