]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Big cleanup of resource code for pccard. Once coventry noticed
authorimp <imp@FreeBSD.org>
Tue, 12 Apr 2005 15:25:31 +0000 (15:25 +0000)
committerimp <imp@FreeBSD.org>
Tue, 12 Apr 2005 15:25:31 +0000 (15:25 +0000)
commit899856ecd8075d9011f75188548ea2b56eb32da4
treedd9ac2471c8e7c0a8a8373ce832e933c62e53695
parent9e1c558a88394d9d6fa06642b00549bee0418544
Big cleanup of resource code for pccard.  Once coventry noticed
problems here, it became clear we were being too complex.

o Don't keep track of resources in two places
o Use resource_list_purge instead of rolling our own
o Just reassign the ownership of the resource, rather than freeing it
  and reallocating it.
o Fix compile problems when sizeof(u_long) != sizeof(int)
sys/dev/pccard/pccard.c
sys/dev/pccard/pccardvar.h