mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-27 12:47:13 +08:00
Added calls to force the linkage of RealTek and EtherExpress Nics.
This commit is contained in:
parent
6053efdfaa
commit
0ff173330b
@ -13,8 +13,8 @@
|
|||||||
* Methods used to make sure the nic drivers
|
* Methods used to make sure the nic drivers
|
||||||
* are pulled into the executable.
|
* are pulled into the executable.
|
||||||
*/
|
*/
|
||||||
// extern int _bsd_re_pcimodule_sys_init();
|
extern int _bsd_re_pcimodule_sys_init();
|
||||||
// extern int _bsd_fxp_pcimodule_sys_init();
|
extern int _bsd_fxp_pcimodule_sys_init();
|
||||||
|
|
||||||
rtems_task Init(
|
rtems_task Init(
|
||||||
rtems_task_argument ignored
|
rtems_task_argument ignored
|
||||||
@ -30,8 +30,8 @@ rtems_task Init(
|
|||||||
rtems_bsd_initialize_with_interrupt_server();
|
rtems_bsd_initialize_with_interrupt_server();
|
||||||
|
|
||||||
printf("Nic Driver Addresses\n");
|
printf("Nic Driver Addresses\n");
|
||||||
// printf("RealTek %p\n", &_bsd_re_pcimodule_sys_init );
|
printf("RealTek %p\n", &_bsd_re_pcimodule_sys_init );
|
||||||
// printf("EtherExpress k %p\n", &_bsd_fxp_pcimodule_sys_init );
|
printf("EtherExpress k %p\n", &_bsd_fxp_pcimodule_sys_init );
|
||||||
|
|
||||||
printf( "*** END OF LIBFREEBSD INITIALIZATION TEST ***\n" );
|
printf( "*** END OF LIBFREEBSD INITIALIZATION TEST ***\n" );
|
||||||
exit( 0 );
|
exit( 0 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user