From owner-cvs-src@FreeBSD.ORG Sun Jul 11 00:19:31 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E07916A4CE; Sun, 11 Jul 2004 00:19:31 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25ECC43D1D; Sun, 11 Jul 2004 00:19:31 +0000 (GMT) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6B0JVXc048151; Sun, 11 Jul 2004 00:19:31 GMT (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6B0JVvo048150; Sun, 11 Jul 2004 00:19:31 GMT (envelope-from wpaul) Message-Id: <200407110019.i6B0JVvo048150@repoman.freebsd.org> From: Bill Paul Date: Sun, 11 Jul 2004 00:19:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c src/sys/dev/if_ndis if_ndis_pccard.c if_ndis_pci.c if_ndisvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 00:19:31 -0000 wpaul 2004-07-11 00:19:31 UTC FreeBSD src repository Modified files: sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c sys/dev/if_ndis if_ndis_pccard.c if_ndis_pci.c if_ndisvar.h Log: Make NdisReadPcmciaAttributeMemory() and NdisWritePcmciaAttributeMemory() actually work. Make the PCI and PCCARD attachments provide a bus_get_resource_list() method so that resource listing for PCCARD works. PCCARD does not have a bus_get_resource_list() method (yet), so I faked up the resource list management in if_ndis_pccard.c, and added bus_get_resource_list() methods to both if_ndis_pccard.c and if_ndis_pci.c. The one in the PCI attechment just hands off to the PCI bus code. The difference is transparent to the NDIS resource handler code. Fixed ndis_open_file() so that opening files which live on NFS filesystems work: pass an actual ucred structure to VOP_GETATTR() (NFS explodes if the ucred structure is NOCRED). Make NdisMMapIoSpace() handle mapping of PCMCIA attribute memory resources correctly. Turn subr_ndis.c:my_strcasecmp() into ndis_strcasecmp() and export it so that if_ndis_pccard.c can use it, and junk the other copy of my_strcasecmp() from if_ndis_pccard.c. Revision Changes Path 1.57 +2 -1 src/sys/compat/ndis/kern_ndis.c 1.27 +2 -0 src/sys/compat/ndis/ndis_var.h 1.62 +12 -8 src/sys/compat/ndis/subr_ndis.c 1.6 +57 -22 src/sys/dev/if_ndis/if_ndis_pccard.c 1.7 +16 -0 src/sys/dev/if_ndis/if_ndis_pci.c 1.15 +2 -0 src/sys/dev/if_ndis/if_ndisvar.h