Subject: Re: [PATCH V8 04/10] USB/ppc4xx: Add Synopsys DWC OTG HCD function

From: Alexander Gordeev <[email-masked]>
Date: Wed, 26 Jan 2011 19:27:43 +0300

Hi,

Please consider squashing this little patch into yours. The driver
currently prints 0x00000000 as the register base. This patch will fix
that.

commit 2f850fe637101be287f116a37282b6b1a09e6a98
Author: Alexander Gordeev <[email-masked]>
Date:   Mon Nov 29 15:15:25 2010 +0300

    dwc_otg: set usb hcd resource address and length
    
    Signed-off-by: Alexander Gordeev <[email-masked]>

diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd.c b/drivers/usb/dwc_otg/dwc_otg_hcd.c
index 240ab0b..e420a8d 100644
--- a/drivers/usb/dwc_otg/dwc_otg_hcd.c
+++ b/drivers/usb/dwc_otg/dwc_otg_hcd.c
@@ -1269,6 +1269,8 @@ int __devinit dwc_otg_hcd_init(struct device *_dev,
 	}
 	dev_set_drvdata(_dev, dwc_otg_device);
 	hcd->regs = otg_dev->base;
+	hcd->rsrc_start = otg_dev->phys_addr;
+	hcd->rsrc_len = otg_dev->base_len;
 	hcd->self.otg_port = 1;
 
 	/* Initialize the DWC OTG HCD. */

-- 
  Alexander