Deleted Added
sdiff udiff text old ( 71717 ) new ( 74094 )
full compact
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

--- 16 unchanged lines hidden (view full) ---

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$
32 *
33 * $FreeBSD: head/sys/dev/aic7xxx/ahc_pci.c 71717 2001-01-27 20:54:24Z gibbs $
34 */
35
36#include <dev/aic7xxx/aic7xxx_freebsd.h>
37
38#define AHC_PCI_IOADDR PCIR_MAPS /* I/O Address */
39#define AHC_PCI_MEMADDR (PCIR_MAPS + 4) /* Mem I/O Address */
40
41static int ahc_pci_probe(device_t dev);

--- 166 unchanged lines hidden (view full) ---

208 ahc->platform_data->irq =
209 bus_alloc_resource(ahc->dev_softc, SYS_RES_IRQ, &zero,
210 0, ~0, 1, RF_ACTIVE | RF_SHAREABLE);
211 if (ahc->platform_data->irq == NULL)
212 return (ENOMEM);
213 ahc->platform_data->irq_res_type = SYS_RES_IRQ;
214 return (0);
215}