Hi!
fireball@svn.reactos.com wrote:
Fix a few critical typos/mistakes (like interruptvector/interruptlevel), stdcall for thread's func, etc. Also added some "hacks" into hub's thread, but at least it leads to first steps to device enumeration. Driver (OHCI) bugchecks on my_pci_pool_allocation now (when trying to send URB).
in uhci_main.c I put this in,
// Probe device with real id now uhci_pci_driver.probe(dev, uhci_pci_ids);
DPRINT1("SysIoBusNumA %d\n",DeviceExtension->SystemIoBusNumber); DeviceExtension->SystemIoBusNumber = dev->bus->number; DPRINT1("SysIoBusNumB %d\n",DeviceExtension->SystemIoBusNumber);
DPRINT1("InitLinuxWrapper() done\n");
The number is init with 0 than returns a one. So, is SystemIoBusNumer the same as dev->bus->number? I think it is. But should the Linux code init before we setup Pnp?
Thanks, James