From owner-freebsd-current Sun Sep 7 20:01:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA29239 for current-outgoing; Sun, 7 Sep 1997 20:01:05 -0700 (PDT) Received: from smoke.marlboro.vt.us (smoke.marlboro.vt.us [198.206.215.91]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA29226 for ; Sun, 7 Sep 1997 20:00:59 -0700 (PDT) Received: (from cgull@localhost) by smoke.marlboro.vt.us (8.8.7/8.8.7/cgull) id XAA17185; Sun, 7 Sep 1997 23:00:55 -0400 (EDT) Date: Sun, 7 Sep 1997 23:00:55 -0400 (EDT) Message-Id: <199709080300.XAA17185@smoke.marlboro.vt.us> From: john hood MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Terry Lambert , freebsd-current@freebsd.org Subject: Bug in committed pci/if_de.c In-Reply-To: <199709071440.HAA08754@usr09.primenet.com> References: <199709071440.HAA08754@usr09.primenet.com> X-Mailer: VM 6.31 under Emacs 19.34.2 Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Terry Lambert writes: > It's also incorrect because it's using __FreeBSD__, which is a compiler > compile-time constant, and has nothing to do with the version of FreeBSD > that is being target by the compile, only (really) which version of > FreeBSD the compiler was compiled on. Well...is there a way to determine which version or variant of the kernel's buing built? There's one new define that keeps wd.c from being portable between 2.2.2 and -current, and I'd like to find something a tad more elegant than '#if defined'... --jh -- John Hood cgull@smoke.marlboro.vt.us Predictably, they all eventually wandered away, rubbing their bruises and brushing mud out of their hair. Some went off to work for the ESA, launching much smaller rockets into low orbits, while others elected to sit on their front porches drinking Jim Beam from the bottle and launching bottle rockets from the empties. [Jordan Hubbard]