Mercurial > ecos-v2_0-branch
comparison packages/devs/eth/arm/ks32c5000/current/src/lxt972.c @ 787:549cd176c0b5
Merge changes from trunk into v2.0 branch
| author | jlarmour |
|---|---|
| date | Wed, 09 Apr 2003 19:00:36 +0000 |
| parents | 58946d2f4272 |
| children |
comparison
equal
deleted
inserted
replaced
| 786:3c2a619e9d36 | 787:549cd176c0b5 |
|---|---|
| 57 #include "phy.h" | 57 #include "phy.h" |
| 58 | 58 |
| 59 #define Bit(n) (1<<(n)) | 59 #define Bit(n) (1<<(n)) |
| 60 | 60 |
| 61 // address of the LX972 phy | 61 // address of the LX972 phy |
| 62 #define LX972_ADDR 0x00 | 62 #ifdef CYGPKG_DEVS_ETH_ARM_KS32C5000_PHYADDR |
| 63 #define LX972_ADDR CYGPKG_DEVS_ETH_ARM_KS32C5000_PHYADDR | |
| 64 #else | |
| 65 #define LX972_ADDR 0 | |
| 66 #endif | |
| 63 | 67 |
| 64 // LX972 register offsets | 68 // LX972 register offsets |
| 65 #define LX972_CTRL_REG 0x00 | 69 #define LX972_CTRL_REG 0x00 |
| 66 #define LX972_STATUS1_REG 0x01 | 70 #define LX972_STATUS1_REG 0x01 |
| 67 #define LX972_PHY_ID1_REG 0x02 | 71 #define LX972_PHY_ID1_REG 0x02 |
