diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 11:40:09 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 11:40:09 +0000 |
commit | 99563ecc3d5290e1d09b0698ce1ad6196a05fef4 (patch) | |
tree | 6afdca3e93b6ac2b169be31bd35bd6368fc02aa1 /os/hal/platforms/AT91SAM7/at91sam7_mii.h | |
parent | fe24da9fcca4967e58b25a2698c46717995de0ad (diff) | |
download | ChibiOS-99563ecc3d5290e1d09b0698ce1ad6196a05fef4.tar.gz ChibiOS-99563ecc3d5290e1d09b0698ce1ad6196a05fef4.tar.bz2 ChibiOS-99563ecc3d5290e1d09b0698ce1ad6196a05fef4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1474 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/AT91SAM7/at91sam7_mii.h')
-rw-r--r-- | os/hal/platforms/AT91SAM7/at91sam7_mii.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/os/hal/platforms/AT91SAM7/at91sam7_mii.h b/os/hal/platforms/AT91SAM7/at91sam7_mii.h index 23dfa70ae..be37a21f1 100644 --- a/os/hal/platforms/AT91SAM7/at91sam7_mii.h +++ b/os/hal/platforms/AT91SAM7/at91sam7_mii.h @@ -30,6 +30,13 @@ #if CH_HAL_USE_MAC || defined(__DOXYGEN__)
/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+
+#define PHY_MICREL_KS8721 0
+#define PHY_DAVICOM_9161 1
+
+/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
@@ -41,12 +48,9 @@ #endif
/*===========================================================================*/
-/* PHY specific constants. */
+/* Derived constants and error checks. */
/*===========================================================================*/
-#define PHY_MICREL_KS8721 0
-#define PHY_DAVICOM_9161 1
-
/**
* @brief Pins latched by the PHY at reset. */
@@ -84,6 +88,10 @@ typedef uint16_t phyreg_t; typedef uint8_t phyaddr_t;
/*===========================================================================*/
+/* Driver macros. */
+/*===========================================================================*/
+
+/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/
|