usbnet.c (2361f738b67ab7f1152187fa3d321a09b7c95c09) | usbnet.c (ab6f148de28261682d300662e87b9477f7efc95b) |
---|---|
1/* 2 * USB Network driver infrastructure 3 * Copyright (C) 2000-2005 by David Brownell 4 * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 1559 unchanged lines hidden (view full) --- 1568 spin_unlock_irq(&dev->txq.lock); 1569 1570 if (test_bit(EVENT_DEV_OPEN, &dev->flags)) { 1571 /* handle remote wakeup ASAP */ 1572 if (!dev->wait && 1573 netif_device_present(dev->net) && 1574 !timer_pending(&dev->delay) && 1575 !test_bit(EVENT_RX_HALT, &dev->flags)) | 1/* 2 * USB Network driver infrastructure 3 * Copyright (C) 2000-2005 by David Brownell 4 * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 1559 unchanged lines hidden (view full) --- 1568 spin_unlock_irq(&dev->txq.lock); 1569 1570 if (test_bit(EVENT_DEV_OPEN, &dev->flags)) { 1571 /* handle remote wakeup ASAP */ 1572 if (!dev->wait && 1573 netif_device_present(dev->net) && 1574 !timer_pending(&dev->delay) && 1575 !test_bit(EVENT_RX_HALT, &dev->flags)) |
1576 rx_alloc_submit(dev, GFP_KERNEL); | 1576 rx_alloc_submit(dev, GFP_NOIO); |
1577 1578 if (!(dev->txq.qlen >= TX_QLEN(dev))) 1579 netif_tx_wake_all_queues(dev->net); 1580 tasklet_schedule (&dev->bh); 1581 } 1582 } 1583 return 0; 1584} --- 24 unchanged lines hidden --- | 1577 1578 if (!(dev->txq.qlen >= TX_QLEN(dev))) 1579 netif_tx_wake_all_queues(dev->net); 1580 tasklet_schedule (&dev->bh); 1581 } 1582 } 1583 return 0; 1584} --- 24 unchanged lines hidden --- |