![]() |
|
|||
0001 /* 0002 * B53 platform data 0003 * 0004 * Copyright (C) 2013 Jonas Gorski <jogo@openwrt.org> 0005 * 0006 * Permission to use, copy, modify, and/or distribute this software for any 0007 * purpose with or without fee is hereby granted, provided that the above 0008 * copyright notice and this permission notice appear in all copies. 0009 * 0010 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 0011 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 0012 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 0013 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 0014 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 0015 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 0016 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 0017 */ 0018 0019 #ifndef __B53_H 0020 #define __B53_H 0021 0022 #include <linux/types.h> 0023 #include <linux/platform_data/dsa.h> 0024 0025 struct b53_platform_data { 0026 /* Must be first such that dsa_register_switch() can access it */ 0027 struct dsa_chip_data cd; 0028 0029 u32 chip_id; 0030 u16 enabled_ports; 0031 0032 /* only used by MMAP'd driver */ 0033 unsigned big_endian:1; 0034 void __iomem *regs; 0035 }; 0036 0037 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |