![Andy Fleming](/assets/img/avatar_default.png)
The tsec driver had a bunch of PHY drivers already written. This converts them all into PHY Lib drivers, and serves as the first set of PHY drivers for PHY Lib. While doing that, cleaned up a number of magic numbers (though not all of them, as PHY vendors like to keep their numbers as magical as possible). Also, noticed that almost all of the vitesse/cicada PHYs had the same config/parse/startup functions, so those have been collapsed into one. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Detlev Zundel <dzu@denx.de>
33 lines
694 B
C
33 lines
694 B
C
/*
|
|
* Enable all PHYs
|
|
*
|
|
* This software may be used and distributed according to the
|
|
* terms of the GNU Public License, Version 2, incorporated
|
|
* herein by reference.
|
|
*
|
|
* Copyright 2011 Freescale Semiconductor, Inc.
|
|
* author Andy Fleming
|
|
*
|
|
*/
|
|
#ifndef _CONFIG_PHYLIB_ALL_H
|
|
#define _CONFIG_PHYLIB_ALL_H
|
|
|
|
#ifdef CONFIG_PHYLIB
|
|
|
|
#define CONFIG_PHY_VITESSE
|
|
#define CONFIG_PHY_MARVELL
|
|
#define CONFIG_PHY_MICREL
|
|
#define CONFIG_PHY_BROADCOM
|
|
#define CONFIG_PHY_DAVICOM
|
|
#define CONFIG_PHY_REALTEK
|
|
#define CONFIG_PHY_NATSEMI
|
|
#define CONFIG_PHY_LXT
|
|
|
|
#ifdef CONFIG_PHYLIB_10G
|
|
#define CONFIG_PHY_TERANETICS
|
|
#endif /* CONFIG_PHYLIB_10G */
|
|
|
|
#endif /* CONFIG_PHYLIB */
|
|
|
|
#endif /*_CONFIG_PHYLIB_ALL_H */
|