Simon Guinot | a35cb4c | 2011-11-21 19:25:47 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License as |
| 6 | * published by the Free Software Foundation; either version 2 of |
| 7 | * the License, or (at your option) any later version. |
| 8 | */ |
| 9 | |
| 10 | #ifndef _LACIE_COMMON_H |
| 11 | #define _LACIE_COMMON_H |
| 12 | |
| 13 | #if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R) |
Simon Guinot | 0473b68 | 2012-06-05 13:16:00 +0000 | [diff] [blame] | 14 | void mv_phy_88e1116_init(const char *name, u16 phyaddr); |
Simon Guinot | 13c5ae6 | 2012-09-06 10:51:42 +0000 | [diff] [blame] | 15 | void mv_phy_88e1318_init(const char *name, u16 phyaddr); |
Simon Guinot | a35cb4c | 2011-11-21 19:25:47 +0530 | [diff] [blame] | 16 | #endif |
| 17 | #if defined(CONFIG_CMD_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR) |
| 18 | int lacie_read_mac_address(uchar *mac); |
| 19 | #endif |
| 20 | |
| 21 | #endif /* _LACIE_COMMON_H */ |