Hi!
fireball@svn.reactos.com wrote:
Now UHCI HCD driver supports recognizing Memory type of resource. Should help James Tabor's problem (VIA chipset, getting only memory resource as unrecognized, and thus driver failing loading).
Well that is not true, it does load.
Updated files: trunk/reactos/drivers/usb/cromwell/uhci/uhci-hcd.c trunk/reactos/drivers/usb/cromwell/uhci/uhci_main.c
(io/driver.c:437) IopLoadServiceModule(usbuhci, 800c0c0c) (io/driver.c:536) Loading module (io/driver.c:557) Module loading (Status 0) (io/driver.c:227) IopCreateDriverObject(800c0c08 'usbuhci' 0 9d598000 b000) (io/driver.c:632) RegistryKey: \Registry\Machine\System\CurrentControlSet\Servic es\usbuhci (io/driver.c:633) Calling driver entrypoint at 9d59c3f7 (uhci_main.c:336) ******************** Cromwell UHCI ******************** (uhci_main.c:44) uhci: AddDevice called (uhci_main.c:111) Done AddDevice (uhci_main.c:216) AllocRess->Count: 1, PartResList.Count: 2 (uhci_main.c:252) Memory resource: start=0xde000000, length=0x100 (uhci_main.c:228) Interrupt level: 0x0 Interrupt Vector: 0x9 (uhci-hcd.c:2556) INF: uhci-hcd.c: USB Universal Host Controller Interface drive r v2.1 (hcd-pci.c:74) usbcore: usb_hcd_pci_probe() called (../sys/linuxwrapper.c:191) driver_register 0: 9d5cd0b8 9d5c90ad(usb.c:164) INF: usb.c: registered new driver hub (../sys/linuxwrapper.c:191) driver_register 1: 9d5cd114 9d5c8fb0(hcd-pci.c:74) u sbcore: usb_hcd_pci_probe() called (../linux/pci_hal.c:13) pci_enable_device() called... (../linux/pci_hal.c:21) pci_resource_start() called, x=0x0 (../linux/pci_hal.c:33) pci_resource_len() called, x=0x0 (../linux/pci_hal.c:129) request_mem_region(): addr=0x0, len=0x0 (../linux/pci_hal.c:146) ioremap_nocache(): addr=0x0, len=0x0 (hcd-pci.c:101) DBG: hcd-pci.c: error mapping memory (../linux/pci_hal.c:160) release_mem_region(): addr=0x0, len=0x0 (hcd-pci.c:105) ERR: hcd-pci.c: init UHCD PCI Slot fail, -14
With the patch it now errors out.
Still looking into it, Thanks, James
Sorry! It working, I did not make clean up one level from uhci.
(../linux/pci_hal.c:13) pci_enable_device() called... (../linux/pci_hal.c:21) pci_resource_start() called, x=0x0 (../linux/pci_hal.c:33) pci_resource_len() called, x=0x0 (../linux/pci_hal.c:129) request_mem_region(): addr=0xde000000, len=0x0 (../linux/pci_hal.c:146) ioremap_nocache(): addr=0xde000000, len=0x0 (../linux/pci_hal.c:58) pci_set_drvdata() called... (hcd-pci.c:163) UnivHCI PCI-USB Controller (hcd-pci.c:183) irq 9, pci mem 9d5d9000 (hcd.c:678) new USB bus registered, assigned bus number 1
Thanks, James