Sonic Zhang | 02460d0 | 2010-06-11 10:44:22 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Blackfin On-Chip MAC Driver |
| 3 | * |
| 4 | * Copyright 2004-2010 Analog Devices Inc. |
| 5 | * |
| 6 | * Enter bugs at http://blackfin.uclinux.org/ |
| 7 | * |
| 8 | * Licensed under the GPL-2 or later. |
| 9 | */ |
| 10 | |
| 11 | #ifndef _LINUX_BFIN_MAC_H_ |
| 12 | #define _LINUX_BFIN_MAC_H_ |
| 13 | |
| 14 | #include <linux/phy.h> |
| 15 | |
| 16 | struct bfin_phydev_platform_data { |
| 17 | unsigned short addr; |
| 18 | int irq; |
| 19 | }; |
| 20 | |
| 21 | struct bfin_mii_bus_platform_data { |
| 22 | int phydev_number; |
| 23 | struct bfin_phydev_platform_data *phydev_data; |
| 24 | const unsigned short *mac_peripherals; |
| 25 | int phy_mode; |
| 26 | unsigned int phy_mask; |
Mike Frysinger | c599bd6 | 2011-01-10 02:54:32 +0000 | [diff] [blame] | 27 | unsigned short vlan1_mask, vlan2_mask; |
Sonic Zhang | 02460d0 | 2010-06-11 10:44:22 +0000 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | #endif |