if_ndis_usb.c (201758) | if_ndis_usb.c (212122) |
---|---|
1/*- 2 * Copyright (c) 2005 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) 2005 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/dev/if_ndis/if_ndis_usb.c 201758 2010-01-07 21:01:37Z mbr $"); | 34__FBSDID("$FreeBSD: head/sys/dev/if_ndis/if_ndis_usb.c 212122 2010-09-01 23:47:53Z thompsa $"); |
35 36#include <sys/param.h> 37#include <sys/systm.h> 38#include <sys/sockio.h> 39#include <sys/module.h> 40#include <sys/malloc.h> 41#include <sys/kernel.h> 42#include <sys/socket.h> --- 59 unchanged lines hidden (view full) --- 102 "ndis", 103 ndis_methods, 104 sizeof(struct ndis_softc) 105}; 106 107static devclass_t ndis_devclass; 108 109DRIVER_MODULE(ndis, uhub, ndis_driver, ndis_devclass, ndisdrv_modevent, 0); | 35 36#include <sys/param.h> 37#include <sys/systm.h> 38#include <sys/sockio.h> 39#include <sys/module.h> 40#include <sys/malloc.h> 41#include <sys/kernel.h> 42#include <sys/socket.h> --- 59 unchanged lines hidden (view full) --- 102 "ndis", 103 ndis_methods, 104 sizeof(struct ndis_softc) 105}; 106 107static devclass_t ndis_devclass; 108 109DRIVER_MODULE(ndis, uhub, ndis_driver, ndis_devclass, ndisdrv_modevent, 0); |
110MODULE_VERSION(ndis, 1); |
|
110 111static int 112ndisusb_devcompare(interface_type bustype, struct ndis_usb_type *t, device_t dev) 113{ 114 struct usb_attach_arg *uaa; 115 116 if (bustype != PNPBus) 117 return (FALSE); --- 119 unchanged lines hidden --- | 111 112static int 113ndisusb_devcompare(interface_type bustype, struct ndis_usb_type *t, device_t dev) 114{ 115 struct usb_attach_arg *uaa; 116 117 if (bustype != PNPBus) 118 return (FALSE); --- 119 unchanged lines hidden --- |