From owner-cvs-all Tue Nov 28 7:26:36 2000 Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 026E537B400; Tue, 28 Nov 2000 07:26:32 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id KAA06325; Tue, 28 Nov 2000 10:26:23 -0500 (EST) (envelope-from wollman) Date: Tue, 28 Nov 2000 10:26:23 -0500 (EST) From: Garrett Wollman Message-Id: <200011281526.KAA06325@khavrinen.lcs.mit.edu> To: "Matthew N. Dodd" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mlx mlx.c mlx_pci.c mlxvar.h In-Reply-To: <200011280617.WAA34022@freefall.freebsd.org> References: <200011280617.WAA34022@freefall.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > Avoid hardcoding the 'rid' and 'type' of the MEM/IOPORT resource. > Store the 'rid' and 'type' in the softc and use them in mlx.c:mlx_free(). > EISA and MCA front ends will require this. FYI.... I've been thinking about changes to the resource management portion of the bus interface, and one of the changes that I'm contemplating is passing resource IDs by value rather than by address. This is one of the quirks of new-bus that I've had the most negative feedback on. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message