Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 16:33:05 +0100
From:      Peter Edwards <peter.edwards@isocor.ie>
To:        "David E. Cross" <crossd@cs.rpi.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: PCI programming woes.
Message-ID:  <37BC23B1.93A419DA@isocor.ie>
References:  <199908191513.LAA92421@cs.rpi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"David E. Cross" wrote:
> 
[snip]
> Take your average run-to-the mill PCI network driver... like FPA or FXP.  Now
> look for the attach routines... there are *2* of them, with the exact same
> function name, and different arguments?!?!
> 
> Huh, what is going on here?  Help?

In if_fxp.c, goto the first definition of fxp_attach, search backwards
for '#if defined(__NetBSD__)', note the matching '#else /* __FreeBSD__
*/', then get some sleep :-)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37BC23B1.93A419DA>