Date: Wed, 21 May 1997 12:26:09 +0200 From: Poul-Henning Kamp <phk@dk.tfs.com> To: Bruce Evans <bde@zeta.org.au> Cc: brett@lariat.org, gurney_j@resnet.uoregon.edu, HARDWARE@freebsd.org, rberndt@nething.com, WELCHDW@wofford.edu Subject: Re: isa bus and boca multiport boards Message-ID: <1616.864210369@critter> In-Reply-To: Your message of "Wed, 21 May 1997 17:05:21 %2B1000." <199705210705.RAA10446@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
>>1) The code looks at a flag called "gone" on each and every port (present >>or not) during each and every interrupt service. Since the presence or >>absence of a port is determined at boot time, it'd be MUCH more efficient >>if the code worked down a linear list of only the ports that were present >>and on the relevant IRQ. "gone" means that somebody unplugged a PCCARD modem, and it's very important to check it before you start talking to thin air. You could #ifdef it, but you'd gain only epsilon. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1616.864210369>