ahc_pci.c (121939) | ahc_pci.c (123019) |
---|---|
1/* 2 * FreeBSD, PCI product support functions 3 * 4 * Copyright (c) 1995-2001 Justin T. Gibbs 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * | 1/* 2 * FreeBSD, PCI product support functions 3 * 4 * Copyright (c) 1995-2001 Justin T. Gibbs 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * |
31 * $Id: ahc_pci.c,v 1.53 2003/05/03 23:27:57 gibbs Exp $ | 31 * $Id: ahc_pci.c,v 1.58 2003/11/03 09:22:16 dfr Exp $ |
32 */ 33 34#include <sys/cdefs.h> | 32 */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/dev/aic7xxx/ahc_pci.c 121939 2003-11-03 09:22:18Z dfr $"); | 35__FBSDID("$FreeBSD: head/sys/dev/aic7xxx/ahc_pci.c 123019 2003-11-28 05:28:29Z imp $"); |
36 37#include <dev/aic7xxx/aic7xxx_osm.h> 38 39#define AHC_PCI_IOADDR PCIR_BAR(0) /* I/O Address */ 40#define AHC_PCI_MEMADDR PCIR_BAR(1) /* Mem I/O Address */ 41 42static int ahc_pci_probe(device_t dev); 43static int ahc_pci_attach(device_t dev); --- 8 unchanged lines hidden (view full) --- 52 53static driver_t ahc_pci_driver = { 54 "ahc", 55 ahc_pci_device_methods, 56 sizeof(struct ahc_softc) 57}; 58 59DRIVER_MODULE(ahc_pci, pci, ahc_pci_driver, ahc_devclass, 0, 0); | 36 37#include <dev/aic7xxx/aic7xxx_osm.h> 38 39#define AHC_PCI_IOADDR PCIR_BAR(0) /* I/O Address */ 40#define AHC_PCI_MEMADDR PCIR_BAR(1) /* Mem I/O Address */ 41 42static int ahc_pci_probe(device_t dev); 43static int ahc_pci_attach(device_t dev); --- 8 unchanged lines hidden (view full) --- 52 53static driver_t ahc_pci_driver = { 54 "ahc", 55 ahc_pci_device_methods, 56 sizeof(struct ahc_softc) 57}; 58 59DRIVER_MODULE(ahc_pci, pci, ahc_pci_driver, ahc_devclass, 0, 0); |
60DRIVER_MODULE(ahc_pci, cardbus, ahc_pci_driver, ahc_devclass, 0, 0); |
|
60MODULE_DEPEND(ahc_pci, ahc, 1, 1, 1); 61MODULE_VERSION(ahc_pci, 1); 62 63static int 64ahc_pci_probe(device_t dev) 65{ 66 struct ahc_pci_identity *entry; 67 --- 216 unchanged lines hidden --- | 61MODULE_DEPEND(ahc_pci, ahc, 1, 1, 1); 62MODULE_VERSION(ahc_pci, 1); 63 64static int 65ahc_pci_probe(device_t dev) 66{ 67 struct ahc_pci_identity *entry; 68 --- 216 unchanged lines hidden --- |