add TWSI registers. from OpenBSD.

This commit is contained in:
cegger 2009-07-28 21:03:46 +00:00
parent 1eb42625ea
commit bba07db346

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_agereg.h,v 1.2 2009/02/23 07:33:58 cegger Exp $ */
/* $NetBSD: if_agereg.h,v 1.3 2009/07/28 21:03:46 cegger Exp $ */
/* $OpenBSD: if_agereg.h,v 1.1 2009/01/16 05:00:34 kevlo Exp $ */
/*-
@ -86,6 +86,9 @@
#define AGE_SPI_OP_READ 0x217 /* 8bits */
#define AGE_TWSI_CTRL 0x218
#define TWSI_CTRL_SW_LD_START 0x00000800
#define TWSI_CTRL_HW_LD_START 0x00001000
#define TWSI_CTRL_LD_EXIST 0x00400000
#define AGE_DEV_MISC_CTRL 0x21C