Changeset 39dfbe16 in rtems
- Timestamp:
- Sep 9, 2008, 1:18:58 PM (11 years ago)
- Branches:
- 4.10, 4.11, 4.9, master
- Children:
- 85e87f1
- Parents:
- ae52c9c
- Location:
- c/src/lib/libcpu/powerpc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/powerpc/ChangeLog
rae52c9c r39dfbe16 1 2008-09-09 Thomas Doerfler <thomas.doerfler@embedded-brains.de> 2 3 * mpc8xx/mpc8xx.h, mpc8xx/timer/timer.c: minor additions 4 5 * mpc83xx/i2c/mpc83xx_i2cdrv.c: wait, 'til STOP has been executed 6 1 7 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com> 2 8 … … 10 16 11 17 * mpc8xx/cpm/cp.c: use correct type for interrupt level 12 18 13 19 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org> 14 20 -
c/src/lib/libcpu/powerpc/mpc83xx/i2c/mpc83xx_i2cdrv.c
rae52c9c r39dfbe16 425 425 #endif 426 426 softc_ptr->reg_ptr->i2ccr &= ~MPC83XX_I2CCR_MSTA; 427 427 /* 428 * wait, 'til stop has been executed 429 */ 430 while (0 != (softc_ptr->reg_ptr->i2csr & MPC83XX_I2CSR_MBB)) { 431 rtems_task_wake_after(RTEMS_YIELD_PROCESSOR); 432 } 428 433 #if defined(DEBUG) 429 434 printk("... exit OK\r\n"); -
c/src/lib/libcpu/powerpc/mpc8xx/include/mpc8xx.h
rae52c9c r39dfbe16 279 279 #define M8xx_FEC_IMASK_EBERREN (1 << 22) 280 280 281 /* 282 * access macros to write to mii_data register 283 */ 284 #define M8xx_FEC_MII_DATA_ST ( 1 << (31- 1)) 285 #define M8xx_FEC_MII_DATA_OP_RD ( 2 << (31- 3)) 286 #define M8xx_FEC_MII_DATA_OP_WR ( 1 << (31- 3)) 287 #define M8xx_FEC_MII_DATA_PHYAD(n) (((n) & 0x3f) << (31- 8)) 288 #define M8xx_FEC_MII_DATA_PHYRA(n) (((n) & 0x3f) << (31-13)) 289 #define M8xx_FEC_MII_DATA_TA ( 2 << (31-15)) 290 #define M8xx_FEC_MII_DATA_WDATA(n) ((n) & 0xffff ) 291 #define M8xx_FEC_MII_DATA_RDATA(reg) ((reg) & 0xffff ) 292 /* 293 * bits for FEC X_CNTRL register 294 */ 295 #define M8xx_FEC_X_CNTRL_FDEN ( 1 << (31-29)) 296 #define M8xx_FEC_X_CNTRL_HBC ( 1 << (31-30)) 297 #define M8xx_FEC_X_CNTRL_GTS ( 1 << (31-31)) 281 298 /* 282 299 ************************************************************************* -
c/src/lib/libcpu/powerpc/mpc8xx/timer/timer.c
rae52c9c r39dfbe16 83 83 if ( benchmark_timer_find_average_overhead == 1 ) 84 84 return total; /* in XXX microsecond units */ 85 86 85 else { 87 86 if ( total < bsp_timer_least_valid ) {
Note: See TracChangeset
for help on using the changeset viewer.