i810-tco.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * i810-tco 0.05: TCO timer driver for i8xx chipsets
  3.  *
  4.  * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>, All Rights Reserved.
  5.  * http://www.kernelconcepts.de
  6.  *
  7.  * This program is free software; you can redistribute it and/or
  8.  * modify it under the terms of the GNU General Public License
  9.  * as published by the Free Software Foundation; either version
  10.  * 2 of the License, or (at your option) any later version.
  11.  *
  12.  * Neither kernel concepts nor Nils Faerber admit liability nor provide
  13.  * warranty for any of this software. This material is provided
  14.  * "AS-IS" and at no charge.
  15.  *
  16.  * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>
  17.  * developed for
  18.  *                              Jentro AG, Haar/Munich (Germany)
  19.  *
  20.  * TCO timer driver for i8xx chipsets
  21.  * based on softdog.c by Alan Cox <alan@redhat.com>
  22.  *
  23.  * For history and the complete list of supported I/O Controller Hub's
  24.  * see i810-tco.c
  25.  */
  26. /*
  27.  * Some address definitions for the i810 TCO
  28.  */
  29. #define TCOBASE ACPIBASE + 0x60 /* TCO base address */
  30. #define TCO1_RLD TCOBASE + 0x00 /* TCO Timer Reload and Current Value */
  31. #define TCO1_TMR TCOBASE + 0x01 /* TCO Timer Initial Value */
  32. #define TCO1_DAT_IN TCOBASE + 0x02 /* TCO Data In Register */
  33. #define TCO1_DAT_OUT TCOBASE + 0x03 /* TCO Data Out Register */
  34. #define TCO1_STS TCOBASE + 0x04 /* TCO1 Status Register */
  35. #define TCO2_STS TCOBASE + 0x06 /* TCO2 Status Register */
  36. #define TCO1_CNT TCOBASE + 0x08 /* TCO1 Control Register */
  37. #define TCO2_CNT TCOBASE + 0x0a /* TCO2 Control Register */
  38. #define SMI_EN ACPIBASE + 0x30 /* SMI Control and Enable Register */