From fc069f030b25b47566aab1d445332c4ef1989cc5 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Fri, 10 Feb 2012 14:56:44 +0000 Subject: ar71xx: add dummy DQL helper functions for 3.2 SVN-Revision: 30416 --- .../patches-3.2/903-add-dummy-BQF-helpers.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.2/903-add-dummy-BQF-helpers.patch (limited to 'target/linux/ar71xx/patches-3.2') 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 0000000..e9e2719 --- /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 -- cgit v1.1