]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
First step towards plugging the "pccard is trying to map into a BIOS
authorWarner Losh <imp@FreeBSD.org>
Mon, 26 Mar 2001 08:05:20 +0000 (08:05 +0000)
committerWarner Losh <imp@FreeBSD.org>
Mon, 26 Mar 2001 08:05:20 +0000 (08:05 +0000)
commitbf968b1638bc7a3b7e292e3283ad64dd5ab5009c
tree6e9bcb69563bff9efc9abcf2f4907cff4eb58f50
parent862d3deac620d000fd657c2b2287305e7f800458
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.
sys/pccard/cardinfo.h
sys/pccard/pccard.c