EPCX_PCI.c revision 94320
176195Sbrian/*- 276195Sbrian * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org> 376195Sbrian * All rights reserved. 476195Sbrian * 576195Sbrian * Redistribution and use in source and binary forms, with or without 676195Sbrian * modification, are permitted provided that the following conditions 776195Sbrian * are met: 876195Sbrian * 1. Redistributions of source code must retain the above copyright 976195Sbrian * notice, this list of conditions and the following disclaimer. 1076195Sbrian * 2. Redistributions in binary form must reproduce the above copyright 1176195Sbrian * notice, this list of conditions and the following disclaimer in the 1276195Sbrian * documentation and/or other materials provided with the distribution. 1376195Sbrian * 1476195Sbrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1576195Sbrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1676195Sbrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1776195Sbrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1876195Sbrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1976195Sbrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2076195Sbrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2176195Sbrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2276195Sbrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2376195Sbrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2476195Sbrian * SUCH DAMAGE. 2576195Sbrian * 2676195Sbrian * $FreeBSD: head/sys/dev/digi/EPCX_PCI.c 94320 2002-04-10 01:12:55Z brian $ 2776195Sbrian */ 2876195Sbrian 2976195Sbrian#include <sys/param.h> 3076195Sbrian#include <sys/conf.h> 3176195Sbrian#include <sys/kernel.h> 3276195Sbrian#include <sys/module.h> 3376195Sbrian 3476195Sbrian#include <dev/digi/EPCX_PCI.bios.h> 3576195Sbrian#include <dev/digi/EPCX_PCI.fepos.h> 3676195Sbrian#include <dev/digi/digi_mod.h> 3776195Sbrian 3876195Sbrianstruct digi_mod digi_mod_EPCX_PCI = { 3976195Sbrian DIGI_MOD_VERSION, 4076195Sbrian { EPCX_PCI_bios, sizeof(EPCX_PCI_bios) }, 4176195Sbrian { EPCX_PCI_fepos, sizeof(EPCX_PCI_fepos) }, 4276195Sbrian { NULL, 0 } 4376195Sbrian}; 4476195Sbrian 4594320SbrianMODULE_VERSION(digi_EPCX_PCI, 1); 4676195SbrianDEV_MODULE(digi_EPCX_PCI, 0, 0); 47