aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/files/include/linux/platform_data/cns3xxx.h
blob: f286d0dfe93992b345f0428663e719fb33de7fd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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