[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Networking with MVME2307 (actually MVM2400)
- Date: Thu, 09 Aug 2001 11:36:44 -0700
- From: strauman at SLAC.Stanford.EDU (Till Straumann)
- Subject: Networking with MVME2307 (actually MVM2400)
tsmith at megaroms.co.uk wrote:
> I'm trying to compile the netdemo program from netdemos-4.5.0 using the MVME2307 bsp. I get a warning that RTEMS_BSP_NETWORK_DRIVER_NAME hasn't been defined. It's not defined in the bsp so should I manually define it? What should I define it as? Same for RTEMS_BSP_NETWORK_DRIVER_ATTACH.
You have to
#define RTEMS_BSP_NETWORK_DRIVER_NAME "dc1"
rtems_dec21140_driver_attach(struct rtems_bsdnet_ifconfig *);
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_dec21140_driver_attach
(I don't know about netdemos-4.5.0, but I know that the macros mentioned by
you are not defined in the bsp. You could also enter the driver name and
attach function into your rtems_bsdnet_ifconfig structure directly.)
Note that the MVME2307 bsp needs a couple of fixes (I'll put a patch together
some time...) Two things I remember out of my head are:
- C++ global constructors are called before multitasking is up. It seems that
the console driver doesn't work yet. If a constructor tries to "printf" to the
console it will hang the system.
- devices in PMC slots are not configured.