[BACK]Return to usbdi.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / usb

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/usb/usbdi.c between version 1.135 and 1.136

version 1.135, 2012/03/06 02:36:46 version 1.136, 2012/03/11 00:34:46
Line 43  __KERNEL_RCSID(0, "$NetBSD$");
Line 43  __KERNEL_RCSID(0, "$NetBSD$");
 #include <sys/device.h>  #include <sys/device.h>
 #include <sys/malloc.h>  #include <sys/malloc.h>
 #include <sys/proc.h>  #include <sys/proc.h>
   
 #include <sys/bus.h>  #include <sys/bus.h>
   #include <sys/cpu.h>
   
 #include <dev/usb/usb.h>  #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>  #include <dev/usb/usbdi.h>
Line 931  usbd_do_request_flags_pipe(usbd_device_h
Line 931  usbd_do_request_flags_pipe(usbd_device_h
         usbd_status err;          usbd_status err;
   
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
         if (dev->bus->intr_context) {          if (cpu_intr_p() || cpu_softintr_p()) {
                 printf("usbd_do_request: not in process context\n");                  printf("usbd_do_request: not in process context\n");
                 return (USBD_INVAL);                  return (USBD_INVAL);
         }          }

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136

CVSweb <webmaster@jp.NetBSD.org>