]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Simplify the opening of the resources for cardbus cards. Before we'd
authorimp <imp@FreeBSD.org>
Thu, 29 Dec 2005 23:38:45 +0000 (23:38 +0000)
committerimp <imp@FreeBSD.org>
Thu, 29 Dec 2005 23:38:45 +0000 (23:38 +0000)
commit95bb7dd5c456f4064c8d82261961b3a348d5a32f
tree4a7d1d996b155022f281e2a194ef82545df89a91
parent2cf01da41229a069a9e67de3d163a840b308d5da
Simplify the opening of the resources for cardbus cards.  Before we'd
try very hard to be perfect.  However, these attempts broke down when
there were large numbers of resources.  We'd not be able to map them all.

Instead, accept that we might pass more range to thse subbus than
might be optimal be able to compute.  However, there's little harm in
this and it allows us to pass greater resources through.

# it has been suggested that we allocate a fixed amount of resources
# on attach and give it out upon request.  This might not be a bad idea...
sys/dev/pccbb/pccbb.c