diff options
author | James <> | 2015-11-04 11:49:21 +0000 |
---|---|---|
committer | James <> | 2015-11-04 11:49:21 +0000 |
commit | 716ca530e1c4515d8683c9d5be3d56b301758b66 (patch) | |
tree | 700eb5bcc1a462a5f21dcec15ce7c97ecfefa772 /target/linux/cns3xxx/files/include | |
download | trunk-47381-master.tar.gz trunk-47381-master.tar.bz2 trunk-47381-master.zip |
Diffstat (limited to 'target/linux/cns3xxx/files/include')
-rw-r--r-- | target/linux/cns3xxx/files/include/linux/platform_data/cns3xxx.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/files/include/linux/platform_data/cns3xxx.h b/target/linux/cns3xxx/files/include/linux/platform_data/cns3xxx.h new file mode 100644 index 0000000..f286d0d --- /dev/null +++ b/target/linux/cns3xxx/files/include/linux/platform_data/cns3xxx.h @@ -0,0 +1,26 @@ +/* + * arch/arm/mach-cns3xxx/include/mach/platform.h + * + * Copyright 2011 Gateworks Corporation + * Chris Lang <clang@gateworks.com + * + * This file 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. + * + */ + +#ifndef __ASM_ARCH_PLATFORM_H +#define __ASM_ARCH_PLATFORM_H + +#ifndef __ASSEMBLY__ + +/* Information about built-in Ethernet MAC interfaces */ +struct cns3xxx_plat_info { + u8 ports; /* Bitmap of enabled Ports */ + u8 hwaddr[4][6]; + u32 phy[3]; +}; + +#endif /* __ASM_ARCH_PLATFORM_H */ +#endif |