Added calls to force the linkage of RealTek and EtherExpress Nics.

This commit is contained in:
Jennifer Averett 2012-04-16 12:12:09 -05:00
parent 6053efdfaa
commit 0ff173330b

View File

@ -13,8 +13,8 @@
* Methods used to make sure the nic drivers
* are pulled into the executable.
*/
// extern int _bsd_re_pcimodule_sys_init();
// extern int _bsd_fxp_pcimodule_sys_init();
extern int _bsd_re_pcimodule_sys_init();
extern int _bsd_fxp_pcimodule_sys_init();
rtems_task Init(
rtems_task_argument ignored
@ -30,8 +30,8 @@ rtems_task Init(
rtems_bsd_initialize_with_interrupt_server();
printf("Nic Driver Addresses\n");
// printf("RealTek %p\n", &_bsd_re_pcimodule_sys_init );
// printf("EtherExpress k %p\n", &_bsd_fxp_pcimodule_sys_init );
printf("RealTek %p\n", &_bsd_re_pcimodule_sys_init );
printf("EtherExpress k %p\n", &_bsd_fxp_pcimodule_sys_init );
printf( "*** END OF LIBFREEBSD INITIALIZATION TEST ***\n" );
exit( 0 );