Date: Mon, 26 Mar 2001 00:05:20 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard cardinfo.h pccard.c Message-ID: <200103260805.f2Q85Kt35295@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103260805.f2Q85Kt35295>
