2 * TI DaVinci EMAC platform support
4 * Author: Kevin Hilman, Deep Root Systems, LLC
6 * 2007 (c) Deep Root Systems, LLC. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
11 #ifndef _MACH_DAVINCI_EMAC_H
12 #define _MACH_DAVINCI_EMAC_H
14 #include <linux/if_ether.h>
16 struct emac_platform_data {
17 char mac_addr[ETH_ALEN];
19 u32 ctrl_mod_reg_offset;
30 EMAC_VERSION_1, /* DM644x */
31 EMAC_VERSION_2, /* DM646x */
33 void davinci_init_emac(struct emac_platform_data *pdata);