From owner-cvs-all Mon Mar 26 0: 5:23 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AEB5737B719; Mon, 26 Mar 2001 00:05:20 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2Q85Kt35295; Mon, 26 Mar 2001 00:05:20 -0800 (PST) (envelope-from imp) Message-Id: <200103260805.f2Q85Kt35295@freefall.freebsd.org> From: Warner Losh Date: Mon, 26 Mar 2001 00:05:20 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard cardinfo.h pccard.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG imp 2001/03/26 00:05:20 PST Modified files: sys/pccard cardinfo.h pccard.c Log: First step towards plugging the "pccard is trying to map into a BIOS region for CIS reading" problem: Use bus_alloc_resource to get the memory that we'll be using. Also has the benefit of doing usage checking as well. This gets rid of the ugly kludge that we had before for mapping pmem to vmem. Second, move PIOCSRESOURCE to its own routine and make it conform more to style(9) in the process. Revision Changes Path 1.20 +2 -1 src/sys/pccard/cardinfo.h 1.118 +64 -76 src/sys/pccard/pccard.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message