Deleted Added
full compact
ichsmb_var.h (66703) ichsmb_var.h (69689)
1
2/*
3 * ichsmb_var.h
4 *
5 * Copyright (c) 2000 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

--- 22 unchanged lines hidden (view full) ---

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Archie Cobbs <archie@freebsd.org>
38 *
1
2/*
3 * ichsmb_var.h
4 *
5 * Copyright (c) 2000 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

--- 22 unchanged lines hidden (view full) ---

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Archie Cobbs <archie@freebsd.org>
38 *
39 * $FreeBSD: head/sys/dev/ichsmb/ichsmb_var.h 66703 2000-10-06 00:09:46Z archie $
39 * $FreeBSD: head/sys/dev/ichsmb/ichsmb_var.h 69689 2000-12-07 02:09:39Z archie $
40 */
41
42#ifndef _DEV_ICHSMB_ICHSMB_VAR_H
43#define _DEV_ICHSMB_ICHSMB_VAR_H
44
45#include "smbus_if.h"
46
47/* Per-device private info */

--- 11 unchanged lines hidden (view full) ---

59
60 /* Device state */
61 int ich_cmd; /* ich command, or -1 */
62 int smb_error; /* result of smb command */
63 int block_count; /* count for block read/write */
64 int block_index; /* index for block read/write */
65 u_char block_write; /* 0=read, 1=write */
66 u_char block_data[32]; /* block read/write data */
40 */
41
42#ifndef _DEV_ICHSMB_ICHSMB_VAR_H
43#define _DEV_ICHSMB_ICHSMB_VAR_H
44
45#include "smbus_if.h"
46
47/* Per-device private info */

--- 11 unchanged lines hidden (view full) ---

59
60 /* Device state */
61 int ich_cmd; /* ich command, or -1 */
62 int smb_error; /* result of smb command */
63 int block_count; /* count for block read/write */
64 int block_index; /* index for block read/write */
65 u_char block_write; /* 0=read, 1=write */
66 u_char block_data[32]; /* block read/write data */
67 struct mtx mutex; /* device mutex */
67};
68typedef struct ichsmb_softc *sc_p;
69
70/* SMBus methods */
71extern smbus_callback_t ichsmb_callback;
72extern smbus_quick_t ichsmb_quick;
73extern smbus_sendb_t ichsmb_sendb;
74extern smbus_recvb_t ichsmb_recvb;

--- 16 unchanged lines hidden ---
68};
69typedef struct ichsmb_softc *sc_p;
70
71/* SMBus methods */
72extern smbus_callback_t ichsmb_callback;
73extern smbus_quick_t ichsmb_quick;
74extern smbus_sendb_t ichsmb_sendb;
75extern smbus_recvb_t ichsmb_recvb;

--- 16 unchanged lines hidden ---