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/dev/tc/tcreg.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 /*      $NetBSD: tcreg.h,v 1.1 1995/12/20 00:48:36 cgd Exp $    */
    2 
    3 /*
    4  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
    5  * All rights reserved.
    6  *
    7  * Author: Chris G. Demetriou
    8  * 
    9  * Permission to use, copy, modify and distribute this software and
   10  * its documentation is hereby granted, provided that both the copyright
   11  * notice and this permission notice appear in all copies of the
   12  * software, derivative works or modified versions, and any portions
   13  * thereof, and that both notices appear in supporting documentation.
   14  * 
   15  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 
   16  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 
   17  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   18  * 
   19  * Carnegie Mellon requests users of this software to return to
   20  *
   21  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   22  *  School of Computer Science
   23  *  Carnegie Mellon University
   24  *  Pittsburgh PA 15213-3890
   25  *
   26  * any improvements or extensions that they make and grant Carnegie the
   27  * rights to redistribute these changes.
   28  */
   29 
   30 #ifndef __DEV_TC_TCREG_H__
   31 #define __DEV_TC_TCREG_H__
   32 
   33 /*
   34  * TurboChannel bus and register definitions.
   35  */
   36 
   37 #define TC_ROM_LLEN             8
   38 #define TC_ROM_SLEN             4
   39 #define TC_ROM_TEST_SIZE        16
   40 
   41 #define TC_SLOT_ROM             0x000003e0
   42 #define TC_SLOT_PROTOROM        0x003c03e0
   43 
   44 typedef struct tc_padchar {
   45         u_int8_t        v;
   46         u_int8_t        pad[3];
   47 } tc_padchar_t;
   48 
   49 struct tc_rommap {
   50         tc_padchar_t    tcr_width;
   51         tc_padchar_t    tcr_stride;
   52         tc_padchar_t    tcr_rsize;
   53         tc_padchar_t    tcr_ssize;
   54         u_int8_t        tcr_test[TC_ROM_TEST_SIZE];
   55         tc_padchar_t    tcr_rev[TC_ROM_LLEN];
   56         tc_padchar_t    tcr_vendname[TC_ROM_LLEN];
   57         tc_padchar_t    tcr_modname[TC_ROM_LLEN];
   58         tc_padchar_t    tcr_firmtype[TC_ROM_SLEN];
   59 };
   60 
   61 #endif /* __DEV_TC_TCREG_H__ */

Cache object: 5910eb3cdc1e4379d043aefd41a8f563


[ 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.