if_ndisvar.h (141963) | if_ndisvar.h (145485) |
---|---|
1/*- 2 * Copyright (c) 2003 3 * Bill Paul <wpaul@windriver.com>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * | 1/*- 2 * Copyright (c) 2003 3 * Bill Paul <wpaul@windriver.com>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/dev/if_ndis/if_ndisvar.h 141963 2005-02-16 05:41:18Z wpaul $ | 32 * $FreeBSD: head/sys/dev/if_ndis/if_ndisvar.h 145485 2005-04-24 20:21:22Z wpaul $ |
33 */ 34 35#define NDIS_DEFAULT_NODENAME "FreeBSD NDIS node" 36#define NDIS_NODENAME_LEN 32 37 38struct ndis_pci_type { 39 uint16_t ndis_vid; 40 uint16_t ndis_did; --- 76 unchanged lines hidden (view full) --- 117 int ndis_skip; 118 119#if __FreeBSD_version < 502113 120 struct sysctl_ctx_list ndis_ctx; 121 struct sysctl_oid *ndis_tree; 122#endif 123 int ndis_devidx; 124 interface_type ndis_iftype; | 33 */ 34 35#define NDIS_DEFAULT_NODENAME "FreeBSD NDIS node" 36#define NDIS_NODENAME_LEN 32 37 38struct ndis_pci_type { 39 uint16_t ndis_vid; 40 uint16_t ndis_did; --- 76 unchanged lines hidden (view full) --- 117 int ndis_skip; 118 119#if __FreeBSD_version < 502113 120 struct sysctl_ctx_list ndis_ctx; 121 struct sysctl_oid *ndis_tree; 122#endif 123 int ndis_devidx; 124 interface_type ndis_iftype; |
125 driver_object *ndis_dobj; |
|
125 126 bus_dma_tag_t ndis_parent_tag; 127 struct ndis_shmem *ndis_shlist; 128 bus_dma_tag_t ndis_mtag; 129 bus_dma_tag_t ndis_ttag; 130 bus_dmamap_t *ndis_mmaps; 131 bus_dmamap_t *ndis_tmaps; 132 int ndis_mmapcnt; 133}; 134 135#define NDIS_LOCK(_sc) mtx_lock(&(_sc)->ndis_mtx) 136#define NDIS_UNLOCK(_sc) mtx_unlock(&(_sc)->ndis_mtx) | 126 127 bus_dma_tag_t ndis_parent_tag; 128 struct ndis_shmem *ndis_shlist; 129 bus_dma_tag_t ndis_mtag; 130 bus_dma_tag_t ndis_ttag; 131 bus_dmamap_t *ndis_mmaps; 132 bus_dmamap_t *ndis_tmaps; 133 int ndis_mmapcnt; 134}; 135 136#define NDIS_LOCK(_sc) mtx_lock(&(_sc)->ndis_mtx) 137#define NDIS_UNLOCK(_sc) mtx_unlock(&(_sc)->ndis_mtx) |