* 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:
Niels Sascha Reedijk 2005-04-06 19:47:44 +00:00
parent 219dacab3c
commit 41fe67f32c
1 changed files with 2 additions and 3 deletions

View File

@ -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;