mvme2600 netdemo: "
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Sun Oct 2 15:17:29 UTC 2005
> I'm still trying to get "netdemo" to work.
> Till made me aware that "RTEMS_BSP_NETWORK_DRIVER_ATTACH" in
> "networkconfig.h" should
> be defined with something like "rtems_dec21140_network_driver_attach".
> I get....
> In file included from init.c:47:
> ../networkconfig.h:71: `rtems_dec21140_network_driver_attach' undeclared
> here (not in a function)
> ../networkconfig.h:71: initializer element is not constant
> ../networkconfig.h:71: (near initialization for `netdriver_config.attach')
> make: *** [o-optimize/init.o] Error 1
> I tried it with all caps and I get the same thing.
You need the #define as specified and a prototype for
int rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config,
> I did a search in the powerpc tree, and could not find anything
> resembling a macro for this function.
This driver is not PowerPC specific. It is in libchip and actually
works on PowerPC, SPARC, and x86.
The driver has some debug which can be turned on. It is conditionally
It you don't have the interrupt map, the most it can do is recognize
the PCI device ID. It won't work but it is a good sign.
> Please help. Thanks.
> Robert W.
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users