Date: Mon, 29 Dec 2003 15:51:59 -0800 (PST) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/ndis kern_ndis.c src/sys/dev/if_ndis if_ndis.c Message-ID: <200312292351.hBTNpxCF040497@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2003/12/29 15:51:59 PST FreeBSD src repository Modified files: sys/compat/ndis kern_ndis.c sys/dev/if_ndis if_ndis.c Log: Rework resource allocation. Replace the "feel around like a blind man" method with something a little more intelligent: use BUS_GET_RESOURCE_LIST() to run through all resources allocated to us and map them as needed. This way we know exactly what resources need to be mapped and what their RIDs are without having to guess. This simplifies both ndis_attach() and ndis_convert_res(), and eliminates the unfriendly "ndisX: couldn't map <foo>" messages that are sometimes emitted during driver load. Revision Changes Path 1.16 +31 -25 src/sys/compat/ndis/kern_ndis.c 1.16 +74 -60 src/sys/dev/if_ndis/if_ndis.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312292351.hBTNpxCF040497>