diff options
Diffstat (limited to 'sys/dev/matcd/matcd_data.h')
-rw-r--r-- | sys/dev/matcd/matcd_data.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/sys/dev/matcd/matcd_data.h b/sys/dev/matcd/matcd_data.h new file mode 100644 index 0000000..381599a --- /dev/null +++ b/sys/dev/matcd/matcd_data.h @@ -0,0 +1,62 @@ +/*matcd_data.h--------------------------------------------------------------- + + Matsushita(Panasonic) / Creative CD-ROM Driver (matcd) + Authored by Frank Durda IV + +Copyright 1994, 1995, 2002, 2003 Frank Durda IV. All rights reserved. +"FDIV" is a trademark of Frank Durda IV. + +------------------------------------------------------------------------------ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the author nor the names of their contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +------------------------------------------------------------------------------ + +See matcd.c for Edit History +*/ + +/* $FreeBSD$ +*/ + +/*---------------------------------------------------------------------------- + Structures common in matcd.c and matcd_isa.c +----------------------------------------------------------------------------*/ + +/* This structure is a creation required by the newer FreeBSD 5.0 bus + abstraction. Mainly used by all *_isa_*, attach and probe functions. +*/ + +struct matcd_softc { + device_t dev; + dev_t matcd_dev_t; + struct resource * port; + int port_rid; + int port_type; + bus_space_tag_t port_bst; + bus_space_handle_t port_bsh; +}; + +/*End of matcd_data.h*/ + |