patch-2.4.20 linux-2.4.20/drivers/usb/acm.c
Next file: linux-2.4.20/drivers/usb/aiptek.c
Previous file: linux-2.4.20/drivers/usb/Makefile
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Nov 28 15:53:14 2002
- Orig file:
linux-2.4.19/drivers/usb/acm.c
- Orig date:
Fri Oct 5 12:06:08 2001
diff -urN linux-2.4.19/drivers/usb/acm.c linux-2.4.20/drivers/usb/acm.c
@@ -184,7 +184,7 @@
static void acm_ctrl_irq(struct urb *urb)
{
struct acm *acm = urb->context;
- devrequest *dr = urb->transfer_buffer;
+ struct usb_ctrlrequest *dr = urb->transfer_buffer;
unsigned char *data = (unsigned char *)(dr + 1);
int newctrl;
@@ -195,7 +195,7 @@
return;
}
- switch (dr->request) {
+ switch (dr->bRequest) {
case ACM_IRQ_NETWORK:
@@ -223,7 +223,7 @@
default:
dbg("unknown control event received: request %d index %d len %d data0 %d data1 %d",
- dr->request, dr->index, dr->length, data[0], data[1]);
+ dr->bRequest, dr->wIndex, dr->wLength, data[0], data[1]);
return;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)