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 124165 2004-01-06 07:09:26Z 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> --- 1131 unchanged lines hidden (view full) --- 1174 block->nmb_querydone_func = ndis_getdone_func; 1175 block->nmb_status_func = ndis_status_func; 1176 block->nmb_statusdone_func = ndis_statusdone_func; 1177 block->nmb_resetdone_func = ndis_resetdone_func; 1178 block->nmb_sendrsrc_func = ndis_sendrsrcavail_func; 1179 1180 block->nmb_ifp = &sc->arpcom.ac_if; 1181 block->nmb_dev = sc->ndis_dev; |
1182 block->nmb_img = img; |
1183 1184 return(0); 1185} |