summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap/include/mach/cpsw.h
blob: 5474667a013a9a7d6914c16bda9d903adf614f18 (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
27
28
29
/*
 * CPSW Ethernet Switch Driver
 *
 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation version 2.
 *
 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
 * kind, whether express or implied; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */

#ifndef _CPSW_H_
#define _CPSW_H_

struct cpsw_slave_data {
	int		phy_id;
	int		phy_if;
};

struct cpsw_platform_data {
	struct cpsw_slave_data	*slave_data;
	int			num_slaves;
};

#endif /* _CPSW_H_  */