| 1 | /* |
| 2 | * arch/arm/mach-cns3xxx/include/mach/platform.h |
| 3 | * |
| 4 | * Copyright 2011 Gateworks Corporation |
| 5 | * Chris Lang <clang@gateworks.com |
| 6 | * |
| 7 | * This file is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License, Version 2, as |
| 9 | * published by the Free Software Foundation. |
| 10 | * |
| 11 | */ |
| 12 | |
| 13 | #ifndef __ASM_ARCH_PLATFORM_H |
| 14 | #define __ASM_ARCH_PLATFORM_H |
| 15 | |
| 16 | #ifndef __ASSEMBLY__ |
| 17 | |
| 18 | /* Information about built-in Ethernet MAC interfaces */ |
| 19 | struct cns3xxx_plat_info { |
| 20 | u8 ports; /* Bitmap of enabled Ports */ |
| 21 | u8 hwaddr[4][6]; |
| 22 | u32 phy[3]; |
| 23 | }; |
| 24 | |
| 25 | #endif /* __ASM_ARCH_PLATFORM_H */ |
| 26 | #endif |
| 27 | |