1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * Microchip KSZ series switch platform data 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * Copyright (C) 2017 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * Permission to use, copy, modify, and/or distribute this software for any 7*4882a593Smuzhiyun * purpose with or without fee is hereby granted, provided that the above 8*4882a593Smuzhiyun * copyright notice and this permission notice appear in all copies. 9*4882a593Smuzhiyun * 10*4882a593Smuzhiyun * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11*4882a593Smuzhiyun * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12*4882a593Smuzhiyun * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13*4882a593Smuzhiyun * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14*4882a593Smuzhiyun * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15*4882a593Smuzhiyun * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16*4882a593Smuzhiyun * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17*4882a593Smuzhiyun */ 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun #ifndef __MICROCHIP_KSZ_H 20*4882a593Smuzhiyun #define __MICROCHIP_KSZ_H 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun #include <linux/types.h> 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun struct ksz_platform_data { 25*4882a593Smuzhiyun u32 chip_id; 26*4882a593Smuzhiyun u16 enabled_ports; 27*4882a593Smuzhiyun }; 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun #endif 30