summaryrefslogtreecommitdiff
path: root/include/linux/fec.h
blob: a9d659456ebab4e19d9e396d28434d64baf79c1c (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
/* include/linux/fec.h
 *
 * Copyright (c) 2009 Orex Computed Radiography
 *   Baruch Siach <baruch@tkos.co.il>
 *
 * Copyright (C) 2010-2013 Freescale Semiconductor, Inc.
 *
 * Header file for the FEC platform data
 *
 * This program 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 __LINUX_FEC_H__
#define __LINUX_FEC_H__

#include <linux/phy.h>

struct fec_platform_data {
	int (*init) (struct phy_device *);
	int (*power_hibernate) (struct phy_device *);
	phy_interface_t phy;
	unsigned char mac[ETH_ALEN];
#ifdef CONFIG_MX6_ENET_IRQ_TO_GPIO
	unsigned int gpio_irq;
#endif
};

#endif