commit | 6f500511dc00bece01a192a9a8be168ced065ccd | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun Jul 10 15:41:55 2011 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Jul 10 15:41:55 2011 -0400 |
tree | 84f75271cb881e22967ede993c11dffe1df5184a | |
parent | 5044053c84df0d423cdb61fcf29fe2cba2326f31 [diff] |
Minor fix - make sure not to call ohci/uhci_init from irq handler. When CONFIG_THREAD_OPTIONROMS is enabled, accessing the PCI config space from a thread could potentially race with an option rom. Make sure the ohci/uhci_init() functions (which access PCI config space) are never run while an optionrom could also be running. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>