if_ath_pci.c (192147) | if_ath_pci.c (220185) |
---|---|
1/*- 2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 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) 2002-2008 Sam Leffler, Errno Consulting 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/ath/if_ath_pci.c 192147 2009-05-15 17:02:11Z imp $"); | 31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_pci.c 220185 2011-03-31 08:07:13Z adrian $"); |
32 33/* 34 * PCI/Cardbus front-end for the Atheros Wireless LAN controller driver. 35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/module.h> --- 205 unchanged lines hidden (view full) --- 245 { 0,0 } 246}; 247static driver_t ath_pci_driver = { 248 "ath", 249 ath_pci_methods, 250 sizeof (struct ath_pci_softc) 251}; 252static devclass_t ath_devclass; | 32 33/* 34 * PCI/Cardbus front-end for the Atheros Wireless LAN controller driver. 35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/module.h> --- 205 unchanged lines hidden (view full) --- 245 { 0,0 } 246}; 247static driver_t ath_pci_driver = { 248 "ath", 249 ath_pci_methods, 250 sizeof (struct ath_pci_softc) 251}; 252static devclass_t ath_devclass; |
253DRIVER_MODULE(ath, pci, ath_pci_driver, ath_devclass, 0, 0); 254MODULE_VERSION(ath, 1); 255MODULE_DEPEND(ath, wlan, 1, 1, 1); /* 802.11 media layer */ | 253DRIVER_MODULE(ath_pci, pci, ath_pci_driver, ath_devclass, 0, 0); 254MODULE_VERSION(ath_pci, 1); 255MODULE_DEPEND(ath_pci, wlan, 1, 1, 1); /* 802.11 media layer */ 256MODULE_DEPEND(ath_pci, if_ath, 1, 1, 1); /* if_ath driver */ |