EPCX_PCI.c revision 94320
1186681Sed/*-
2186681Sed * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
3186681Sed * All rights reserved.
4186681Sed *
5186681Sed * Redistribution and use in source and binary forms, with or without
6186681Sed * modification, are permitted provided that the following conditions
7186681Sed * are met:
8186681Sed * 1. Redistributions of source code must retain the above copyright
9186681Sed *    notice, this list of conditions and the following disclaimer.
10186681Sed * 2. Redistributions in binary form must reproduce the above copyright
11186681Sed *    notice, this list of conditions and the following disclaimer in the
12186681Sed *    documentation and/or other materials provided with the distribution.
13186681Sed *
14186681Sed * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15186681Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16186681Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17186681Sed * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18186681Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19186681Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20186681Sed * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21186681Sed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22186681Sed * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23186681Sed * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24186681Sed * SUCH DAMAGE.
25186681Sed *
26186681Sed * $FreeBSD: head/sys/dev/digi/EPCX_PCI.c 94320 2002-04-10 01:12:55Z brian $
27186681Sed */
28186681Sed
29186681Sed#include <sys/param.h>
30186681Sed#include <sys/conf.h>
31186681Sed#include <sys/kernel.h>
32186681Sed#include <sys/module.h>
33186681Sed
34186681Sed#include <dev/digi/EPCX_PCI.bios.h>
35186681Sed#include <dev/digi/EPCX_PCI.fepos.h>
36186681Sed#include <dev/digi/digi_mod.h>
37186681Sed
38186681Sedstruct digi_mod digi_mod_EPCX_PCI = {
39186681Sed	DIGI_MOD_VERSION,
40186681Sed	{ EPCX_PCI_bios, sizeof(EPCX_PCI_bios) },
41186681Sed	{ EPCX_PCI_fepos, sizeof(EPCX_PCI_fepos) },
42186681Sed	{ NULL, 0 }
43186681Sed};
44186681Sed
45186681SedMODULE_VERSION(digi_EPCX_PCI, 1);
46186681SedDEV_MODULE(digi_EPCX_PCI, 0, 0);
47186681Sed