fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18693 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
80e19d62c5
commit
458b6f4b90
|
@ -340,11 +340,11 @@ UHCI::UHCI(pci_info *info, Stack *stack)
|
|||
fRegisterBase = sPCIModule->read_pci_config(fPCIInfo->bus,
|
||||
fPCIInfo->device, fPCIInfo->function, PCI_memory_base, 4);
|
||||
fRegisterBase &= PCI_address_io_mask;
|
||||
TRACE_ERROR(("usb_uhci: iospace offset: 0x%08x\n", fRegisterBase));
|
||||
TRACE_ERROR(("usb_uhci: iospace offset: 0x%08lx\n", fRegisterBase));
|
||||
|
||||
if (fRegisterBase == 0) {
|
||||
fRegisterBase = fPCIInfo->u.h0.base_registers[0];
|
||||
TRACE_ERROR(("usb_uhci: register base: 0x%08x\n", fRegisterBase));
|
||||
TRACE_ERROR(("usb_uhci: register base: 0x%08lx\n", fRegisterBase));
|
||||
}
|
||||
|
||||
// enable pci address access
|
||||
|
|
|
@ -98,22 +98,29 @@ static uhci_root_hub_string_s sUHCIRootHubStrings[3] = {
|
|||
{
|
||||
4, // Descriptor length
|
||||
USB_DESCRIPTOR_STRING, // Descriptor type
|
||||
{
|
||||
0x0409 // Supported language IDs (English US)
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
12, // Descriptor length
|
||||
USB_DESCRIPTOR_STRING, // Descriptor type
|
||||
{
|
||||
'H', 'A', 'I', 'K', 'U', ' ', // Characters
|
||||
'I', 'n', 'c', '.'
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
{
|
||||
26, // Descriptor length
|
||||
USB_DESCRIPTOR_STRING, // Descriptor type
|
||||
{
|
||||
'U', 'H', 'C', 'I', ' ', 'R', // Characters
|
||||
'o', 'o', 't', 'H', 'u', 'b'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue