Annotation of sys/arch/hppa64/stand/boot/conf.c, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: conf.c,v 1.1 2005/04/01 10:40:48 mickey Exp $ */
! 2:
! 3: /*
! 4: * Copyright (c) 2005 Michael Shalayeff
! 5: * All rights reserved.
! 6: *
! 7: * Permission to use, copy, modify, and distribute this software for any
! 8: * purpose with or without fee is hereby granted, provided that the above
! 9: * copyright notice and this permission notice appear in all copies.
! 10: *
! 11: * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
! 12: * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
! 13: * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
! 14: * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
! 15: * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN
! 16: * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
! 17: * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
! 18: */
! 19:
! 20: #include <sys/types.h>
! 21: #include <libsa.h>
! 22: #include <lib/libsa/ufs.h>
! 23: #include <lib/libsa/cd9660.h>
! 24: #include <dev/cons.h>
! 25:
! 26: const char version[] = "0.8";
! 27: int debug = 0;
! 28:
! 29: struct fs_ops file_system[] = {
! 30: { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek,
! 31: ufs_stat, ufs_readdir },
! 32: { cd9660_open, cd9660_close, cd9660_read, cd9660_write, cd9660_seek,
! 33: cd9660_stat, cd9660_readdir },
! 34: { lif_open, lif_close, lif_read, lif_write, lif_seek,
! 35: lif_stat, lif_readdir },
! 36: };
! 37: int nfsys = NENTS(file_system);
! 38:
! 39: struct devsw devsw[] = {
! 40: { "dk", iodcstrategy, dkopen, dkclose, noioctl },
! 41: { "ct", iodcstrategy, ctopen, ctclose, noioctl },
! 42: { "lf", iodcstrategy, lfopen, lfclose, noioctl }
! 43: };
! 44: int ndevs = NENTS(devsw);
! 45:
! 46: struct consdev constab[] = {
! 47: { ite_probe, ite_init, ite_getc, ite_putc },
! 48: { NULL }
! 49: };
! 50: struct consdev *cn_tab;
! 51:
CVSweb