From owner-cvs-all Sun May 9 9:56:45 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 34B6F1580A; Sun, 9 May 1999 09:56:43 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA06912; Sun, 9 May 1999 09:56:42 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <199905091656.JAA06912@freefall.freebsd.org> From: Peter Wemm Date: Sun, 9 May 1999 09:56:42 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isa sio.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/05/09 09:56:41 PDT Modified files: sys/isa sio.c Log: Optimize out a couple of places where com_addr() is used twice in a row, although this is pretty trivial. devclass_get_softc() is a tad more expensive than the old com_addr() implementation. If Bruce is really worried about the cost of this, it could always be changed so that the softc pointer is stored in a local array again. Revision Changes Path 1.239 +9 -27 src/sys/isa/sio.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message