The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sqtzdc/ioconf.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1991 Carnegie Mellon University
    4  * Copyright (c) 1991 Sequent Computer Systems
    5  * All Rights Reserved.
    6  * 
    7  * Permission to use, copy, modify and distribute this software and its
    8  * documentation is hereby granted, provided that both the copyright
    9  * notice and this permission notice appear in all copies of the
   10  * software, derivative works or modified versions, and any portions
   11  * thereof, and that both notices appear in supporting documentation.
   12  * 
   13  * CARNEGIE MELLON AND SEQUENT COMPUTER SYSTEMS ALLOW FREE USE OF
   14  * THIS SOFTWARE IN ITS "AS IS" CONDITION.  CARNEGIE MELLON AND
   15  * SEQUENT COMPUTER SYSTEMS DISCLAIM ANY LIABILITY OF ANY KIND FOR
   16  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   17  * 
   18  * Carnegie Mellon requests users of this software to return to
   19  * 
   20  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   21  *  School of Computer Science
   22  *  Carnegie Mellon University
   23  *  Pittsburgh PA 15213-3890
   24  * 
   25  * any improvements or extensions that they make and grant Carnegie Mellon 
   26  * the rights to redistribute these changes.
   27  */
   28 
   29 /*
   30  * HISTORY
   31  * $Log:        ioconf.h,v $
   32  * Revision 2.3  91/07/31  18:07:56  dbg
   33  *      Changed copyright.
   34  *      [91/07/31            dbg]
   35  * 
   36  * Revision 2.2  91/05/08  13:07:43  dbg
   37  *      Added, from Sequent SYMMETRY sources.
   38  *      [91/02/26            dbg]
   39  * 
   40  */
   41 
   42 /*
   43  * $Copyright:  $
   44  * Copyright (c) 1984, 1985, 1986, 1987 Sequent Computer Systems, Inc.
   45  * All rights reserved
   46  *  
   47  * This software is furnished under a license and may be used
   48  * only in accordance with the terms of that license and with the
   49  * inclusion of the above copyright notice.   This software may not
   50  * be provided or otherwise made available to, or used by, any
   51  * other person.  No title to or ownership of the software is
   52  * hereby transferred.
   53  */
   54 
   55 /*
   56  * ZDC configuration structures.
   57  * 
   58  * ioconf.h contains structure definitions for items generated by
   59  * config for the zdc controller.
   60  */
   61 
   62 /*
   63  *
   64  * Revision 1.1  89/07/05  13:21:04  kak
   65  * Initial revision
   66  * 
   67  */
   68 
   69 #ifndef _SQTZDC_IOCONF_H_
   70 #define _SQTZDC_IOCONF_H_
   71 
   72 #define ANY     -1              /* Wildcard */
   73 
   74 /*
   75  * The zdc_conf structure provides the input to drive
   76  * the autoconfiguration of zdc disk drives.
   77  */
   78 struct  zdc_conf {
   79         struct  zdc_driver *zc_driver;          /* -> per-driver data */
   80         int     zc_nent;                        /* # entries in zdc_dev[] */
   81         struct  zdc_dev    *zc_dev;             /* describes related HW */
   82 };
   83 
   84 /*
   85  * This is a stub for the zdc driver.
   86  */
   87 struct  zdc_driver {
   88         char    *zcd_name;              /* name, eg "zd" (no digit) */
   89 };
   90 
   91 /*
   92  * zdc_conf (zc_dev) entry points at array of zdc_dev's; each zdc_dev structure
   93  * describes a single zdc disk drive.
   94  *
   95  * After conf_zdc(), probe_zdc_devices is called to resolve any wildcarding
   96  * of drives given the following as input.
   97  */
   98 struct  zdc_dev {
   99         int     zdv_idx;                /* zdc index;   -1 == wildcard */
  100         int     zdv_drive;              /* drive index; -1 == wildcard */
  101         int     zdv_drive_type;         /* Drive type index; -1 == wildcard */
  102 };
  103 
  104 /*
  105  * These are generated in ioconf.c by configuration utilities.
  106  */
  107 #ifdef  KERNEL
  108 extern  struct  zdc_conf zdc_conf[];
  109 extern  struct  zdc_dev zdc_zd[];
  110 #endif  KERNEL
  111 
  112 #endif  /* _SQTZDC_IOCONF_H_ */

Cache object: fad54f7d6169e1afaa54014f2b19db0f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.