* Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-15
Fix host controller initialisation issues git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12264 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
219dacab3c
commit
41fe67f32c
@ -163,13 +163,12 @@ UHCI::UHCI( pci_info *info , Stack *stack )
|
||||
cmd = cmd | PCI_command_io | PCI_command_master | PCI_command_memory;
|
||||
UHCI::pci_module->write_pci_config(m_pcii->bus, m_pcii->device, m_pcii->function, PCI_command, 2, cmd );
|
||||
/* make sure we gain controll of the UHCI controller instead of the BIOS */
|
||||
// TRACE( "pcii->function %u", m_pcii->function );
|
||||
// UHCI::pci_module->write_pci_config(m_pcii->bus, m_pcii->device, m_pcii->function, PCI_LEGSUP, 2, PCI_LEGSUP_USBPIRQDEN );
|
||||
UHCI::pci_module->write_pci_config(m_pcii->bus, m_pcii->device, m_pcii->function, PCI_LEGSUP, 2, PCI_LEGSUP_USBPIRQDEN );
|
||||
}
|
||||
|
||||
//Do a host reset
|
||||
GlobalReset();
|
||||
if ( Reset() != B_ERROR )
|
||||
if ( Reset() != B_OK )
|
||||
{
|
||||
TRACE( "USB UHCI: init_hardare(): host failed to reset\n" );
|
||||
m_initok = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user