diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-25 16:14:01 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-25 16:14:01 +0000 |
commit | 17a9b44ac47bf46384060e2c2004f57f3fc4273f (patch) | |
tree | 0e30f695a1087cbcff7bfed614daa8361f7ad2b6 /os/io/platforms/AT91SAM7X/phy_lld.h | |
parent | 34de3bf8d0c2fca3e3a99a419f8c8d641e6c3ad8 (diff) | |
download | ChibiOS-17a9b44ac47bf46384060e2c2004f57f3fc4273f.tar.gz ChibiOS-17a9b44ac47bf46384060e2c2004f57f3fc4273f.tar.bz2 ChibiOS-17a9b44ac47bf46384060e2c2004f57f3fc4273f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1183 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io/platforms/AT91SAM7X/phy_lld.h')
-rw-r--r-- | os/io/platforms/AT91SAM7X/phy_lld.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/os/io/platforms/AT91SAM7X/phy_lld.h b/os/io/platforms/AT91SAM7X/phy_lld.h index 09f7bbc92..df583426e 100644 --- a/os/io/platforms/AT91SAM7X/phy_lld.h +++ b/os/io/platforms/AT91SAM7X/phy_lld.h @@ -31,6 +31,30 @@ /* Driver pre-compile time settings. */
/*===========================================================================*/
+/**
+ * @brief PHY manufacturer and model.
+ */
+#if !defined(PHY_HARDWARE) || defined(__DOXYGEN__)
+#define PHY_HARDWARE PHY_MICREL_KS8721
+#endif
+
+/*===========================================================================*/
+/* PHY specific constants. */
+/*===========================================================================*/
+
+#define PHY_MICREL_KS8721 0
+
+#define PHY_ADDRESS 1
+
+/**
+ * @brief Pins latched by the PHY at reset. + */
+#define PHY_LATCHED_PINS (AT91C_PB4_ECRS | AT91C_PB5_ERX0 | \
+ AT91C_PB6_ERX1 | AT91C_PB7_ERXER | \
+ AT91C_PB13_ERX2 | AT91C_PB14_ERX3 | \
+ AT91C_PB15_ERXDV | AT91C_PB16_ECOL | \
+ AT91C_PIO_PB26)
+
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/
|