diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 14:56:44 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 14:56:44 +0000 |
commit | afc636fee19d25ae7afdf93a9fdfca03d6e8d77f (patch) | |
tree | 0ea2bb3c4e292e20a257dee18e359dc8b865350e | |
parent | ab9a6b43eb49e9aa1ecb82217112c180416f6436 (diff) | |
download | master-187ad058-afc636fee19d25ae7afdf93a9fdfca03d6e8d77f.tar.gz master-187ad058-afc636fee19d25ae7afdf93a9fdfca03d6e8d77f.tar.bz2 master-187ad058-afc636fee19d25ae7afdf93a9fdfca03d6e8d77f.zip |
ar71xx: add dummy DQL helper functions for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30416 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ar71xx/patches-3.2/903-add-dummy-BQF-helpers.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.2/903-add-dummy-BQF-helpers.patch b/target/linux/ar71xx/patches-3.2/903-add-dummy-BQF-helpers.patch new file mode 100644 index 0000000000..e9e2719035 --- /dev/null +++ b/target/linux/ar71xx/patches-3.2/903-add-dummy-BQF-helpers.patch @@ -0,0 +1,36 @@ +--- a/include/linux/netdevice.h ++++ b/include/linux/netdevice.h +@@ -1908,6 +1908,33 @@ static inline int netif_tx_queue_frozen_ + return dev_queue->state & QUEUE_STATE_XOFF_OR_FROZEN; + } + ++static inline void netdev_tx_sent_queue(struct netdev_queue *dev_queue, ++ unsigned int bytes) ++{ ++} ++ ++static inline void netdev_sent_queue(struct net_device *dev, unsigned int bytes) ++{ ++} ++ ++static inline void netdev_tx_completed_queue(struct netdev_queue *dev_queue, ++ unsigned pkts, unsigned bytes) ++{ ++} ++ ++static inline void netdev_completed_queue(struct net_device *dev, ++ unsigned pkts, unsigned bytes) ++{ ++} ++ ++static inline void netdev_tx_reset_queue(struct netdev_queue *q) ++{ ++} ++ ++static inline void netdev_reset_queue(struct net_device *dev_queue) ++{ ++} ++ + /** + * netif_running - test if up + * @dev: network device |