kern_ndis.c (123536) | kern_ndis.c (123620) |
---|---|
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 --- 17 unchanged lines hidden (view full) --- 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 33#include <sys/cdefs.h> | 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 --- 17 unchanged lines hidden (view full) --- 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 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/compat/ndis/kern_ndis.c 123536 2003-12-14 21:33:07Z wpaul $"); | 34__FBSDID("$FreeBSD: head/sys/compat/ndis/kern_ndis.c 123620 2003-12-18 03:51:21Z wpaul $"); |
35 36#include <sys/param.h> 37#include <sys/types.h> 38#include <sys/errno.h> 39#include <sys/callout.h> 40#include <sys/socket.h> 41#include <sys/queue.h> 42#include <sys/sysctl.h> --- 166 unchanged lines hidden (view full) --- 209 device_get_desc(sc->ndis_dev)); 210 211 /* Add the driver-specific registry keys. */ 212 213 vals = sc->ndis_regvals; 214 while(1) { 215 if (vals->nc_cfgkey == NULL) 216 break; | 35 36#include <sys/param.h> 37#include <sys/types.h> 38#include <sys/errno.h> 39#include <sys/callout.h> 40#include <sys/socket.h> 41#include <sys/queue.h> 42#include <sys/sysctl.h> --- 166 unchanged lines hidden (view full) --- 209 device_get_desc(sc->ndis_dev)); 210 211 /* Add the driver-specific registry keys. */ 212 213 vals = sc->ndis_regvals; 214 while(1) { 215 if (vals->nc_cfgkey == NULL) 216 break; |
217 if (vals->nc_idx != sc->ndis_devidx) { 218 vals++; 219 continue; 220 } |
|
217 SYSCTL_ADD_STRING(&sc->ndis_ctx, 218 SYSCTL_CHILDREN(sc->ndis_tree), 219 OID_AUTO, vals->nc_cfgkey, 220 CTLFLAG_RW, vals->nc_val, 221 sizeof(vals->nc_val), 222 vals->nc_cfgdesc); 223 vals++; 224 } --- 836 unchanged lines hidden --- | 221 SYSCTL_ADD_STRING(&sc->ndis_ctx, 222 SYSCTL_CHILDREN(sc->ndis_tree), 223 OID_AUTO, vals->nc_cfgkey, 224 CTLFLAG_RW, vals->nc_val, 225 sizeof(vals->nc_val), 226 vals->nc_cfgdesc); 227 vals++; 228 } --- 836 unchanged lines hidden --- |