Dimitris Lampridis wrote:

struct isp1160_hcd *isp1160 = hcd_to_isp1160 (hcd);
struct pci_dev *pdev = NULL;

if(hcd->self.controller &&(hcd->self.controller->bus == &pci_bus_type))

Needs "{" ... and probably a comment about the eval board used with this non-pci driver.


pdev = to_pci_dev(hcd->self.controller);
if (pci_request_region (pdev, 2, (char *) hcd_name))
return -ENOMEM;

... and "}" plus probably "else { ... }". That "else" branch should probably use platform_device.resource[N]; board-specific code would set up the platform device.


Any ideas???

You didn't actually say what wasn't working ... the failure mode is always a big clue to what's wrong!

- Dave






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

Reply via email to