1/*- 2 * Copyright (c) 2002, 2003 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 --- 21 unchanged lines hidden (view full) --- 30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 32 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 34 * THE POSSIBILITY OF SUCH DAMAGES. 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_pci.c 123019 2003-11-28 05:28:29Z imp $"); |
39 40/* 41 * PCI/Cardbus front-end for the Atheros Wireless LAN controller driver. 42 */ 43 44#include "opt_inet.h" 45 46#include <sys/param.h> --- 244 unchanged lines hidden (view full) --- 291}; 292static driver_t ath_pci_driver = { 293 "ath", 294 ath_pci_methods, 295 sizeof (struct ath_pci_softc) 296}; 297static devclass_t ath_devclass; 298DRIVER_MODULE(if_ath, pci, ath_pci_driver, ath_devclass, 0, 0); |
299DRIVER_MODULE(if_ath, cardbus, ath_pci_driver, ath_devclass, 0, 0); |
300MODULE_VERSION(if_ath, 1); 301MODULE_DEPEND(if_ath, ath_hal, 1, 1, 1); /* Atheros HAL */ 302MODULE_DEPEND(if_ath, wlan, 1, 1, 1); /* 802.11 media layer */ |