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

Cache object: 6deb72f6ec36d1bb8c649e2fde16bbe5


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