[haiku-development] Re: ipro1000 (e1000) are now 3 drivers in freebsd

  • From: Fredrik Modèen <fredrik@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 15 Jun 2011 11:13:38 +0200 (CEST)

Can be that I was too fast about this. All function etc. has their own
name in if_em.c and if_lem.c what I do have problem with when having both
these file in the same build are. Multi defines of devclass_t em_devclass.
How do I solve this if not extern will do it?

It’s in if_em.c like this
devclass_t em_devclass;

and in if_lem.c
extern devclass_t em_devclass;

row 315 in the if_em.c file
http://svnweb.freebsd.org/base/head/sys/dev/e1000/if_em.c?view=markup

row 274 in the if_lem.c file
http://svnweb.freebsd.org/base/head/sys/dev/e1000/if_lem.c?view=markup

-- 
MVH
Fredrik Modèen



Other related posts: