On 06/15/11 01:36, Siju George wrote:
ifconfig -a shown em0 but when I try to give it an IP Address
#ifconfig em0 inet 172.17.5.5 netmask 255.250.0.0
Glad that it worked this far -
since the driver is not used I was expecting that it would not
work so well -
at this point you'll need to 'get your hands dirty' as it were -
It does look like there is a good deal of debug printing in the driver -
you might set:
#define DEBUG_INIT 1
#define DEBUG_IOCTL 1
#define DEBUG_HW 1
instead of '0' in in sys/dev/netif/e1000/if_em.h and rebuild the driver
to see if that provides a useful hint on where it fails.
From there, I'd probably cross-check against the 'live' netif/em driver
to see any differences in this known-working older version that look
like they should be moved into the e1000/em copy, then retry,
repeat, etc. until either you have a working driver or you quit :D
of course I'm sure the usual suspects will be happy to answer questions
should you happen on them.
Good luck!
- Chris