From owner-freebsd-questions Wed Jul 28 21:44:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wallace.extrateam.com (c72059-c.plstn1.sfba.home.com [24.5.30.186]) by hub.freebsd.org (Postfix) with ESMTP id 9776114D60 for ; Wed, 28 Jul 1999 21:44:38 -0700 (PDT) (envelope-from tim@extrateam.com) Received: from tina (proxy.compucom.com [204.214.145.2]) by wallace.extrateam.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id PYQS4G15; Wed, 28 Jul 1999 21:42:11 -0700 From: "Tim Sammut" To: Subject: recognizing different ne2000 derivatives Date: Wed, 28 Jul 1999 09:43:48 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have the eventual goal of coding a network driver, just as a learning exercise, and have the following question. Does the following code snippet from if_ed.c mean that we cannot mix ne2000 derivatives, if they each happen to require a different ed_probe_*() to be recognized? static int ed_probe(isa_dev) struct isa_device *isa_dev; { int nports; nports = ed_probe_WD80x3(isa_dev); if (nports) return (nports); nports = ed_probe_3Com(isa_dev); if (nports) return (nports); nports = ed_probe_Novell(isa_dev); if (nports) return (nports); nports = ed_probe_HP_pclanp(isa_dev); if (nports) return (nports); return (0); } Thank you for your help tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message