From 7e810011201bf926cba09ec07424893e4cd8ce67 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Fri, 17 May 2013 20:40:24 +0300 Subject: Move to rsdk 3.2.4. Compiles cleanly. Signed-off-by: Roman Yeryomin --- .../net/rtl819x/l2Driver/rtl865x_outputQueue.c | 25 ++++++++++------------ 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'target/linux/realtek/files/drivers/net/rtl819x/l2Driver/rtl865x_outputQueue.c') diff --git a/target/linux/realtek/files/drivers/net/rtl819x/l2Driver/rtl865x_outputQueue.c b/target/linux/realtek/files/drivers/net/rtl819x/l2Driver/rtl865x_outputQueue.c index ce1afe969..f73099b32 100644 --- a/target/linux/realtek/files/drivers/net/rtl819x/l2Driver/rtl865x_outputQueue.c +++ b/target/linux/realtek/files/drivers/net/rtl819x/l2Driver/rtl865x_outputQueue.c @@ -1,18 +1,12 @@ +/* + * + * Copyright (c) 2011 Realtek Semiconductor Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ -/* @doc RTL_LAYEREDDRV_API - - @module rtl865x_outputQueue.c - RTL865x Home gateway controller Layered driver API documentation | - This document explains the API interface of the table driver module. Functions with rtl865x prefix - are external functions. - @normal Hyking Liu (Hyking_liu@realsil.com.cn) - - Copyright 2008 Realtek Semiconductor Cooperation, All Rights Reserved. - - @head3 List of Symbols | - Here is a list of all functions and variables in this module. - - @index | RTL_LAYEREDDRV_API -*/ #include #include #include @@ -77,6 +71,7 @@ static uint32 priority2HandleMapping[NETIF_NUMBER][TOTAL_VLAN_PRIORITY_NUM] = {{ static rtl_qos_mark_info_t mark2Priority[NETIF_NUMBER][MAX_MARK_NUM_PER_DEV] = {{{0}}}; rtl865x_qos_rule_t *rtl865x_qosRuleHead = NULL; +extern int hw_qos_init_netlink(void); static int32 _rtl865x_qosArrangeRuleByNetif(uint8 *netIfName); int32 rtl865x_qosSetBandwidth(uint8 *netIfName, uint32 bps) @@ -1116,6 +1111,8 @@ int __init rtl865x_initOutputQueue(uint8 **netIfName) rtl8651_flushAsicDot1qAbsolutelyPriority(); #endif + hw_qos_init_netlink(); + for(i =0; i < RTL8651_OUTPUTQUEUE_SIZE; i++) { for(j=PHY0;j<=CPU;j++) -- cgit v1.2.3