1*3e8db259Sjmcneill /* $NetBSD: elantechreg.h,v 1.1 2008/12/14 00:42:33 jmcneill Exp $ */ 2*3e8db259Sjmcneill 3*3e8db259Sjmcneill /*- 4*3e8db259Sjmcneill * Copyright (c) 2008 Jared D. McNeill <jmcneill@invisible.ca> 5*3e8db259Sjmcneill * All rights reserved. 6*3e8db259Sjmcneill * 7*3e8db259Sjmcneill * Redistribution and use in source and binary forms, with or without 8*3e8db259Sjmcneill * modification, are permitted provided that the following conditions 9*3e8db259Sjmcneill * are met: 10*3e8db259Sjmcneill * 1. Redistributions of source code must retain the above copyright 11*3e8db259Sjmcneill * notice, this list of conditions and the following disclaimer. 12*3e8db259Sjmcneill * 2. Redistributions in binary form must reproduce the above copyright 13*3e8db259Sjmcneill * notice, this list of conditions and the following disclaimer in the 14*3e8db259Sjmcneill * documentation and/or other materials provided with the distribution. 15*3e8db259Sjmcneill * 16*3e8db259Sjmcneill * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17*3e8db259Sjmcneill * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18*3e8db259Sjmcneill * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19*3e8db259Sjmcneill * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20*3e8db259Sjmcneill * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21*3e8db259Sjmcneill * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22*3e8db259Sjmcneill * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23*3e8db259Sjmcneill * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24*3e8db259Sjmcneill * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25*3e8db259Sjmcneill * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26*3e8db259Sjmcneill * POSSIBILITY OF SUCH DAMAGE. 27*3e8db259Sjmcneill */ 28*3e8db259Sjmcneill 29*3e8db259Sjmcneill #ifndef _DEV_PCKBCPORT_ELANTECHREG_H 30*3e8db259Sjmcneill #define _DEV_PCKBCPORT_ELANTECHREG_H 31*3e8db259Sjmcneill 32*3e8db259Sjmcneill #define ELANTECH_FW_VERSION 0x01 33*3e8db259Sjmcneill #define ELANTECH_CAPABILITIES 0x02 34*3e8db259Sjmcneill #define ELANTECH_REG_READ 0x10 35*3e8db259Sjmcneill #define ELANTECH_REG_WRITE 0x11 36*3e8db259Sjmcneill #define ELANTECH_CUSTOM_CMD 0xf8 37*3e8db259Sjmcneill 38*3e8db259Sjmcneill #endif /* !_DEV_PCKBCPORT_ELANTECHREG_H */ 39