]> git.pld-linux.org Git - packages/eagle-usb.git/blob - eagle-usb-wait.patch
- updated to 1.9.8; drop obsolete patches; use opt patch instead of covering CFLAGS
[packages/eagle-usb.git] / eagle-usb-wait.patch
1 --- driver/Boot.c~      2004-02-22 21:11:30.000000000 +0000
2 +++ driver/Boot.c       2004-06-02 08:57:53.063519192 +0000
3 @@ -57,6 +57,15 @@
4  static void IDMACompletion(struct urb *urb, struct pt_regs *regs );
5  #endif
6  
7 +static inline void wait_ms(unsigned int ms) {
8 +               if (!in_interrupt()) {
9 +                       set_current_state(TASK_UNINTERRUPTIBLE);
10 +                       schedule_timeout(1 + ms * HZ / 1000);
11 +               }
12 +               else
13 +                       mdelay(ms);
14 +}
15 +
16  /*********************************************************************************/
17  /* BootModem                                                                    */
18  /* Kinda like doing a ctrl-alt-delete on your PC. Reuploads (or does first      */
19
This page took 0.074485 seconds and 3 git commands to generate.