case USB_REQ_SET_ADDRESS:
/* change it after the status stage */
musb->bSetAddress = TRUE;
- musb->bAddress = (u8) (pControlRequest->wValue & 0x7f);
+ musb->address = (u8) (pControlRequest->wValue & 0x7f);
handled = 1;
break;
*/
if (musb->bSetAddress) {
musb->bSetAddress = FALSE;
- musb_writeb(mbase, MGC_O_HDRC_FADDR, musb->bAddress);
+ musb_writeb(mbase, MGC_O_HDRC_FADDR, musb->address);
}
/* enter test mode if needed (exit by reset) */
struct urb *urb = next_urb(qh);
struct musb_hw_ep *hw_ep = qh->hw_ep;
unsigned nPipe = urb->pipe;
- u8 bAddress = usb_pipedevice(nPipe);
+ u8 address = usb_pipedevice(nPipe);
int epnum = hw_ep->epnum;
/* initialize software qh state */
}
DBG(4, "qh %p urb %p dev%d ep%d%s%s, hw_ep %d, %p/%d\n",
- qh, urb, bAddress, qh->epnum,
+ qh, urb, address, qh->epnum,
is_in ? "in" : "out",
({char *s; switch (qh->type) {
case USB_ENDPOINT_XFER_CONTROL: s = ""; break;