diff options
author | nsouch <nsouch@FreeBSD.org> | 1998-10-31 11:39:54 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 1998-10-31 11:39:54 +0000 |
commit | f519ba042eceeba21aaf59a1db7c622bbaa1ce3f (patch) | |
tree | 6c3b542435e12935c92aba41d4db917c92a55078 /sys/dev/smbus/smbconf.h | |
parent | 2ae8dc409583e4ed96ca74b7f4817f015685e45f (diff) | |
download | FreeBSD-src-f519ba042eceeba21aaf59a1db7c622bbaa1ce3f.zip FreeBSD-src-f519ba042eceeba21aaf59a1db7c622bbaa1ce3f.tar.gz |
New callback mechanism to allow iicbus bus allocation when requesting
smbus over iicsmb(4).
Diffstat (limited to 'sys/dev/smbus/smbconf.h')
-rw-r--r-- | sys/dev/smbus/smbconf.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/smbus/smbconf.h b/sys/dev/smbus/smbconf.h index 10fc3bc..0a442ec 100644 --- a/sys/dev/smbus/smbconf.h +++ b/sys/dev/smbus/smbconf.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: smbconf.h,v 1.1.1.2 1998/08/13 15:16:58 son Exp $ + * $Id: smbconf.h,v 1.1.1.1 1998/09/03 20:52:54 nsouch Exp $ */ #ifndef __SMBONF_H #define __SMBONF_H @@ -43,10 +43,18 @@ #define SMB_INTR 0x2 /* + * callback index + */ +#define SMB_REQUEST_BUS 0x1 +#define SMB_RELEASE_BUS 0x2 + +/* * SMB bus errors */ #define SMB_ENOERR 0x0 #define SMB_EBUSERR 0x1 +#define SMB_ENOTSUPP 0x2 +#define SMB_ENOACK 0x3 /* * How Quick command is executed |