diff options
author | nsouch <nsouch@FreeBSD.org> | 1999-02-14 14:36:45 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 1999-02-14 14:36:45 +0000 |
commit | c30e87e63a89b1265197a2373650e258bde477cb (patch) | |
tree | 9dec0e73166f7d2f4228b06248993048dc3e0467 /sys/dev/smbus/smbconf.h | |
parent | fe07f4870451301093bcd9d4d6049f9482f65331 (diff) | |
download | FreeBSD-src-c30e87e63a89b1265197a2373650e258bde477cb.zip FreeBSD-src-c30e87e63a89b1265197a2373650e258bde477cb.tar.gz |
Return approriate errors to userland.
Diffstat (limited to 'sys/dev/smbus/smbconf.h')
-rw-r--r-- | sys/dev/smbus/smbconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/smbus/smbconf.h b/sys/dev/smbus/smbconf.h index c5fca85..c260de4 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.3 1999/01/27 19:58:53 dillon Exp $ + * $Id: smbconf.h,v 1.4 1999/02/13 17:57:19 nsouch Exp $ */ #ifndef __SMBONF_H #define __SMBONF_H @@ -74,6 +74,7 @@ extern int smbus_request_bus(device_t, device_t, int); extern int smbus_release_bus(device_t, device_t); extern device_t smbus_alloc_bus(device_t); +extern int smbus_error(int error); extern void smbus_intr(device_t, u_char, char low, char high, int error); |