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/pccard/pccardreg.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: pcmciareg.h,v 1.7 1998/10/29 09:45:52 enami Exp $      */
    2 /* $FreeBSD$ */
    3 
    4 /*-
    5  * Copyright (c) 1997 Marc Horowitz.  All rights reserved.
    6  *
    7  * Redistribution and use in source and binary forms, with or without
    8  * modification, are permitted provided that the following conditions
    9  * are met:
   10  * 1. Redistributions of source code must retain the above copyright
   11  *    notice, this list of conditions and the following disclaimer.
   12  * 2. Redistributions in binary form must reproduce the above copyright
   13  *    notice, this list of conditions and the following disclaimer in the
   14  *    documentation and/or other materials provided with the distribution.
   15  * 3. All advertising materials mentioning features or use of this software
   16  *    must display the following acknowledgement:
   17  *      This product includes software developed by Marc Horowitz.
   18  * 4. The name of the author may not be used to endorse or promote products
   19  *    derived from this software without specific prior written permission.
   20  *
   21  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   22  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   23  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   24  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
   25  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   26  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   30  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   31  */
   32 
   33 /*
   34  * Card Configuration Registers
   35  */
   36 
   37 #define PCCARD_CCR_OPTION                       0x00
   38 #define PCCARD_CCR_OPTION_SRESET                        0x80
   39 #define PCCARD_CCR_OPTION_LEVIREQ                       0x40
   40 #define PCCARD_CCR_OPTION_CFINDEX                       0x3F
   41 #define PCCARD_CCR_OPTION_IREQ_ENABLE                   0x04
   42 #define PCCARD_CCR_OPTION_ADDR_DECODE                   0x02
   43 #define PCCARD_CCR_OPTION_FUNC_ENABLE                   0x01
   44 #define PCCARD_CCR_STATUS                       0x02
   45 #define PCCARD_CCR_STATUS_PINCHANGED                    0x80
   46 #define PCCARD_CCR_STATUS_SIGCHG                        0x40
   47 #define PCCARD_CCR_STATUS_IOIS8                         0x20
   48 #define PCCARD_CCR_STATUS_RESERVED1                     0x10
   49 #define PCCARD_CCR_STATUS_AUDIO                         0x08
   50 #define PCCARD_CCR_STATUS_PWRDWN                        0x04
   51 #define PCCARD_CCR_STATUS_INTR                          0x02
   52 #define PCCARD_CCR_STATUS_INTRACK                       0x01
   53 #define PCCARD_CCR_PIN                          0x04
   54 #define PCCARD_CCR_PIN_CBVD1                            0x80
   55 #define PCCARD_CCR_PIN_CBVD2                            0x40
   56 #define PCCARD_CCR_PIN_CRDYBSY                          0x20
   57 #define PCCARD_CCR_PIN_CWPROT                           0x10
   58 #define PCCARD_CCR_PIN_RBVD1                            0x08
   59 #define PCCARD_CCR_PIN_RBVD2                            0x04
   60 #define PCCARD_CCR_PIN_RRDYBSY                          0x02
   61 #define PCCARD_CCR_PIN_RWPROT                           0x01
   62 #define PCCARD_CCR_SOCKETCOPY                   0x06
   63 #define PCCARD_CCR_SOCKETCOPY_RESERVED                  0x80
   64 #define PCCARD_CCR_SOCKETCOPY_COPY_MASK                 0x70
   65 #define PCCARD_CCR_SOCKETCOPY_COPY_SHIFT                4
   66 #define PCCARD_CCR_SOCKETCOPY_SOCKET_MASK               0x0F
   67 #define PCCARD_CCR_EXTSTATUS                    0x08
   68 #define PCCARD_CCR_IOBASE0                      0x0A
   69 #define PCCARD_CCR_IOBASE1                      0x0C
   70 #define PCCARD_CCR_IOBASE2                      0x0E
   71 #define PCCARD_CCR_IOBASE3                      0x10
   72 #define PCCARD_CCR_IOSIZE                       0x12
   73 
   74 #define PCCARD_CCR_SIZE                         0x14

Cache object: 0ef0e7075daa0496dd44cc7dee0e4495


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