[BACK]Return to wbsioreg.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / isa

Annotation of src/sys/dev/isa/wbsioreg.h, Revision 1.1

1.1     ! msaitoh     1: /* $Id */
        !             2: /* $OpenBSD: wbsioreg.h,v 1.4 2015/01/02 23:02:54 chris Exp $ */
        !             3: /*
        !             4:  * Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
        !             5:  *
        !             6:  * Permission to use, copy, modify, and distribute this software for any
        !             7:  * purpose with or without fee is hereby granted, provided that the above
        !             8:  * copyright notice and this permission notice appear in all copies.
        !             9:  *
        !            10:  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
        !            11:  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
        !            12:  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
        !            13:  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
        !            14:  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
        !            15:  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
        !            16:  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
        !            17:  */
        !            18:
        !            19: /*
        !            20:  * Winbond LPC Super I/O driver registers
        !            21:  */
        !            22:
        !            23: /* ISA bus registers */
        !            24: #define WBSIO_INDEX            0x00    /* Configuration Index Register */
        !            25: #define WBSIO_DATA             0x01    /* Configuration Data Register */
        !            26:
        !            27: #define WBSIO_IOSIZE           0x02    /* ISA I/O space size */
        !            28:
        !            29: #define WBSIO_CONF_EN_MAGIC    0x87    /* enable configuration mode */
        !            30: #define WBSIO_CONF_DS_MAGIC    0xaa    /* disable configuration mode */
        !            31:
        !            32: /* Configuration Space Registers */
        !            33: #define WBSIO_LDN              0x07    /* Logical Device Number */
        !            34: #define WBSIO_ID               0x20    /* Device ID */
        !            35: #define WBSIO_REV              0x21    /* Device Revision */
        !            36:
        !            37: #define WBSIO_ID_W83627HF      0x52
        !            38: #define WBSIO_ID_W83627SF      0x59
        !            39: #define WBSIO_ID_W83697HF      0x60
        !            40: #define WBSIO_ID_W83697UG      0x68
        !            41: #define WBSIO_ID_W83637HF      0x70
        !            42: #define WBSIO_ID_W83627THF     0x82
        !            43: #define WBSIO_ID_W83687THF     0x85
        !            44: #define WBSIO_ID_W83627EHF     0x88
        !            45: #define WBSIO_ID_W83627DHG     0xa0
        !            46: #define WBSIO_ID_W83627UHG     0xa2
        !            47: #define WBSIO_ID_W83667HG      0xa5
        !            48: #define WBSIO_ID_W83627DHGP    0xb0
        !            49: #define WBSIO_ID_W83667HGB     0xb3
        !            50: #define WBSIO_ID_NCT6775       0xb4
        !            51: #define WBSIO_ID_NCT6776F      0xc3
        !            52: #define WBSIO_ID_NCT5104D      0xc4 /* XXX 6102 or 6106? */
        !            53: #define WBSIO_ID_NCT6779       0xc5
        !            54: #define WBSIO_ID_NCT6791       0xc8
        !            55: #define WBSIO_ID_NCT6792       0xc9
        !            56: #define WBSIO_ID_NCT6793       0xd1
        !            57:
        !            58: /* Logical Device Number (LDN) Assignments */
        !            59: #define WBSIO_LDN_HM           0x0b
        !            60:
        !            61: /* Hardware Monitor Control Registers (LDN B) */
        !            62: #define WBSIO_HM_ADDR_MSB      0x60    /* Address [15:8] */
        !            63: #define WBSIO_HM_ADDR_LSB      0x61    /* Address [7:0] */
        !            64:

CVSweb <webmaster@jp.NetBSD.org>