The following question is about an HCD: Why is it that when I try to allocate an IO region (io port) during the reset function it fails (pretty ugly), while it succeeds when I do exactly the same thing at the start function? I've looked at usb_hcd_pci_probe() and the allocation of the first region (UHCI case, i.e. no HCD_MEMORY flag), happens before the call of driver->reset function, so I don't see why I can't allocate at that time.
Here's what I want to do: struct isp1160_hcd *isp1160 = hcd_to_isp1160 (hcd); struct pci_dev *pdev = NULL; if(hcd->self.controller &&(hcd->self.controller->bus == &pci_bus_type)) pdev = to_pci_dev(hcd->self.controller); if (pci_request_region (pdev, 2, (char *) hcd_name)) return -ENOMEM; Any ideas??? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel