Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 1997 08:10:05 -0600
From:      Brett Glass <brett@lariat.org>
To:        Poul-Henning Kamp <phk@dk.tfs.com>, Bruce Evans <bde@zeta.org.au>
Cc:        gurney_j@resnet.uoregon.edu, HARDWARE@freebsd.org, rberndt@nething.com, WELCHDW@wofford.edu
Subject:   Re: isa bus and boca multiport boards 
Message-ID:  <3.0.1.32.19970521081005.006a2a6c@lariat.org>
In-Reply-To: <1616.864210369@critter>
References:  <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
At 12:26 PM 5/21/97 +0200, Poul-Henning Kamp wrote:
 
>"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.

Instead, how about building the list of ports to scan outside the ISR?
You'd lose the null pointer check PLUS the check of "gone," so you'd save
more like a delta than an epsilon. And there'd be no need for an #ifdef there.

--Brett




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19970521081005.006a2a6c>