1/* 2 * Copyright (c) 2012, The Linux Foundation. All rights reserved. 3 * Permission to use, copy, modify, and/or distribute this software for 4 * any purpose with or without fee is hereby granted, provided that the 5 * above copyright notice and this permission notice appear in all copies. 6 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 7 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 8 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 9 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 10 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 11 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 12 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 13 */ 14 15#ifndef _REF_MISC_H_ 16#define _REF_MISC_H_ 17 18#ifdef __cplusplus 19extern "C" { 20#endif /* __cplusplus */ 21 22int 23qca_ar8327_sw_set_max_frame_size(struct switch_dev *dev, 24 const struct switch_attr *attr, 25 struct switch_val *val); 26 27int 28qca_ar8327_sw_get_max_frame_size(struct switch_dev *dev, 29 const struct switch_attr *attr, 30 struct switch_val *val); 31 32int 33qca_ar8327_sw_reset_switch(struct switch_dev *dev); 34 35#ifdef __cplusplus 36} 37#endif /* __cplusplus */ 38#endif /* _REF_MISC_H_ */ 39 40