if_bwn.c (227309) | if_bwn.c (227848) |
---|---|
1/*- 2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org> 3 * 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 --- 14 unchanged lines hidden (view full) --- 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org> 3 * 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 --- 14 unchanged lines hidden (view full) --- 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/dev/bwn/if_bwn.c 227309 2011-11-07 15:43:11Z ed $"); | 31__FBSDID("$FreeBSD: head/sys/dev/bwn/if_bwn.c 227848 2011-11-22 21:55:40Z marius $"); |
32 33/* 34 * The Broadcom Wireless LAN controller driver. 35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/module.h> --- 14181 unchanged lines hidden (view full) --- 14221 14222static device_method_t bwn_methods[] = { 14223 /* Device interface */ 14224 DEVMETHOD(device_probe, bwn_probe), 14225 DEVMETHOD(device_attach, bwn_attach), 14226 DEVMETHOD(device_detach, bwn_detach), 14227 DEVMETHOD(device_suspend, bwn_suspend), 14228 DEVMETHOD(device_resume, bwn_resume), | 32 33/* 34 * The Broadcom Wireless LAN controller driver. 35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/module.h> --- 14181 unchanged lines hidden (view full) --- 14221 14222static device_method_t bwn_methods[] = { 14223 /* Device interface */ 14224 DEVMETHOD(device_probe, bwn_probe), 14225 DEVMETHOD(device_attach, bwn_attach), 14226 DEVMETHOD(device_detach, bwn_detach), 14227 DEVMETHOD(device_suspend, bwn_suspend), 14228 DEVMETHOD(device_resume, bwn_resume), |
14229 KOBJMETHOD_END | 14229 DEVMETHOD_END |
14230}; 14231static driver_t bwn_driver = { 14232 "bwn", 14233 bwn_methods, 14234 sizeof(struct bwn_softc) 14235}; 14236static devclass_t bwn_devclass; 14237DRIVER_MODULE(bwn, siba_bwn, bwn_driver, bwn_devclass, 0, 0); 14238MODULE_DEPEND(bwn, siba_bwn, 1, 1, 1); 14239MODULE_DEPEND(bwn, wlan, 1, 1, 1); /* 802.11 media layer */ 14240MODULE_DEPEND(bwn, firmware, 1, 1, 1); /* firmware support */ 14241MODULE_DEPEND(bwn, wlan_amrr, 1, 1, 1); | 14230}; 14231static driver_t bwn_driver = { 14232 "bwn", 14233 bwn_methods, 14234 sizeof(struct bwn_softc) 14235}; 14236static devclass_t bwn_devclass; 14237DRIVER_MODULE(bwn, siba_bwn, bwn_driver, bwn_devclass, 0, 0); 14238MODULE_DEPEND(bwn, siba_bwn, 1, 1, 1); 14239MODULE_DEPEND(bwn, wlan, 1, 1, 1); /* 802.11 media layer */ 14240MODULE_DEPEND(bwn, firmware, 1, 1, 1); /* firmware support */ 14241MODULE_DEPEND(bwn, wlan_amrr, 1, 1, 1); |