Date: Wed, 28 Jul 1999 09:43:48 -0700 From: "Tim Sammut" <tim@extrateam.com> To: <freebsd-questions@freebsd.org> Subject: recognizing different ne2000 derivatives Message-ID: <NDBBJFAGEKELMHKBINLKOEABCAAA.tim@extrateam.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBJFAGEKELMHKBINLKOEABCAAA.tim>