Changeset 28b38f3 in rtems
- Timestamp:
- 02/25/10 11:01:35 (14 years ago)
- Branches:
- 4.10, 4.11, 5, master
- Children:
- 3cfa636
- Parents:
- 6f8d49b4
- Location:
- c/src/lib/libbsp/m68k/genmcf548x
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/genmcf548x/ChangeLog
r6f8d49b4 r28b38f3 1 2010-02-24 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> 2 3 * network/network.c: combine all checks for missing MAC address 4 * startup/bspstart.c: enable FPU, if POSIX init task present 5 * startup/init548x.c: explicitly disable all edge port interrupts 6 7 1 8 2009-12-16 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> 2 9 -
c/src/lib/libbsp/m68k/genmcf548x/network/network.c
r6f8d49b4 r28b38f3 1722 1722 memcpy((void *)sc->arpcom.ac_enaddr, config->hardware_address, ETHER_ADDR_LEN); 1723 1723 } 1724 else1725 {1726 /* There is no ethernet address provided, so it could be read1727 * from the Ethernet protocol block of SCC1 in DPRAM.1728 */1729 rtems_panic("No Ethernet address specified!\n");1730 }1731 1724 1732 1725 #else /* NVRAM_CONFIGURE != 1 */ … … 1736 1729 1737 1730 memcpy(sc->arpcom.ac_enaddr, config->hardware_address, ETHER_ADDR_LEN); 1738 1739 }1740 else1741 {1742 1743 /* There is no ethernet address provided, so it could be read1744 * from the Ethernet protocol block of SCC1 in DPRAM.1745 */1746 rtems_panic("No Ethernet address specified!\n");1747 1731 1748 1732 } … … 1771 1755 } 1772 1756 #endif 1757 if ((sc->arpcom.ac_enaddr[0] == 0) && 1758 (sc->arpcom.ac_enaddr[1] == 0) && 1759 (sc->arpcom.ac_enaddr[2] == 0)) { 1760 /* There is no ethernet address provided, so it could be read 1761 * from the Ethernet protocol block of SCC1 in DPRAM. 1762 */ 1763 rtems_panic("No Ethernet address specified!\n"); 1764 } 1773 1765 if(config->mtu) 1774 1766 mtu = config->mtu; -
c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c
r6f8d49b4 r28b38f3 275 275 276 276 /* Switch on FPU in CACR shadow register if necessary */ 277 if ( 278 Configuration_RTEMS_API.User_initialization_tasks_table != NULL&&279 (Configuration_RTEMS_API.User_initialization_tasks_table->attribute_set280 & RTEMS_FLOATING_POINT) != 0 281 ) {277 if ((Configuration_POSIX_API.number_of_initialization_threads > 0) || 278 ((Configuration_RTEMS_API.number_of_initialization_tasks > 0) && 279 (Configuration_RTEMS_API.User_initialization_tasks_table 280 ->attribute_set & RTEMS_FLOATING_POINT) != 0) 281 ) { 282 282 _CPU_cacr_shadow &= ~MCF548X_CACR_DF; 283 283 } -
c/src/lib/libbsp/m68k/genmcf548x/startup/init548x.c
r6f8d49b4 r28b38f3 322 322 323 323 #endif 324 /* 325 * make sure the "edge port" has all interrupts disabled 326 */ 327 MCF548X_EPORT_EPIER = 0; 324 328 }
Note: See TracChangeset
for help on using the changeset viewer.