From owner-freebsd-hackers Thu Aug 19 8:34:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from penrose.isocor.ie (penrose.isocor.ie [194.106.155.117]) by hub.freebsd.org (Postfix) with ESMTP id 82365150B0 for ; Thu, 19 Aug 1999 08:34:06 -0700 (PDT) (envelope-from peter.edwards@isocor.ie) Received: from isocor.ie (194.106.155.218) by penrose.isocor.ie; 19 Aug 1999 16:29:45 +0100 Message-ID: <37BC23B1.93A419DA@isocor.ie> Date: Thu, 19 Aug 1999 16:33:05 +0100 From: Peter Edwards Organization: ISOCOR X-Mailer: Mozilla 4.6 [en] (X11; I; SunOS 5.6 i86pc) X-Accept-Language: en MIME-Version: 1.0 To: "David E. Cross" Cc: freebsd-hackers@freebsd.org Subject: Re: PCI programming woes. References: <199908191513.LAA92421@cs.rpi.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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