CX.c revision 76195
1100966Siwasaki/*- 2100966Siwasaki * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org> 3100966Siwasaki * All rights reserved. 4100966Siwasaki * 5100966Siwasaki * Redistribution and use in source and binary forms, with or without 6100966Siwasaki * modification, are permitted provided that the following conditions 7100966Siwasaki * are met: 8217365Sjkim * 1. Redistributions of source code must retain the above copyright 9217365Sjkim * notice, this list of conditions and the following disclaimer. 10100966Siwasaki * 2. Redistributions in binary form must reproduce the above copyright 11100966Siwasaki * notice, this list of conditions and the following disclaimer in the 12217365Sjkim * documentation and/or other materials provided with the distribution. 13217365Sjkim * 14217365Sjkim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15217365Sjkim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16217365Sjkim * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17217365Sjkim * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18217365Sjkim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19217365Sjkim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20217365Sjkim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21217365Sjkim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22217365Sjkim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23217365Sjkim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24217365Sjkim * SUCH DAMAGE. 25217365Sjkim * 26100966Siwasaki * $FreeBSD: head/sys/dev/digi/CX.c 76195 2001-05-02 01:08:09Z brian $ 27217365Sjkim */ 28217365Sjkim 29217365Sjkim#include <sys/param.h> 30100966Siwasaki#include <sys/conf.h> 31217365Sjkim#include <sys/kernel.h> 32217365Sjkim#include <sys/module.h> 33217365Sjkim 34217365Sjkim#include <dev/digi/CX.bios.h> 35217365Sjkim#include <dev/digi/CX.fepos.h> 36217365Sjkim#include <dev/digi/digi_mod.h> 37217365Sjkim 38217365Sjkimstruct digi_mod digi_mod_CX = { 39217365Sjkim DIGI_MOD_VERSION, 40217365Sjkim { CX_bios, sizeof(CX_bios) }, 41217365Sjkim { CX_fepos, sizeof(CX_fepos) }, 42217365Sjkim { NULL, 0 } 43217365Sjkim}; 44100966Siwasaki 45100966SiwasakiDEV_MODULE(digi_CX, 0, 0); 46100966Siwasaki