Xr.c revision 119418
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 */ 2776195Sbrian 28119418Sobrien#include <sys/cdefs.h> 29119418Sobrien__FBSDID("$FreeBSD: head/sys/dev/digi/Xr.c 119418 2003-08-24 17:55:58Z obrien $"); 30119418Sobrien 3176195Sbrian#include <sys/param.h> 3276195Sbrian#include <sys/conf.h> 3376195Sbrian#include <sys/kernel.h> 3476195Sbrian#include <sys/module.h> 3576195Sbrian 3676195Sbrian#include <dev/digi/Xr.bios.h> 3776195Sbrian#include <dev/digi/Xr.fepos.h> 3876195Sbrian#include <dev/digi/digi_mod.h> 3976195Sbrian 4076195Sbrianstruct digi_mod digi_mod_Xr = { 4176195Sbrian DIGI_MOD_VERSION, 4276195Sbrian { Xr_bios, sizeof(Xr_bios) }, 4376195Sbrian { Xr_fepos, sizeof(Xr_fepos) }, 4476195Sbrian { NULL, 0 } 4576195Sbrian}; 4676195Sbrian 4794320SbrianMODULE_VERSION(digi_Xr, 1); 4876195SbrianDEV_MODULE(digi_Xr, 0, 0); 49