Deleted Added
full compact
smbconf.h (50477) smbconf.h (93023)
1/*-
2 * Copyright (c) 1998 Nicolas Souchu
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1998 Nicolas Souchu
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/smbus/smbconf.h 50477 1999-08-28 01:08:13Z peter $
26 * $FreeBSD: head/sys/dev/smbus/smbconf.h 93023 2002-03-23 15:49:15Z nsouch $
27 */
28#ifndef __SMBONF_H
29#define __SMBONF_H
30
31#include <sys/queue.h>
32
33#define SMBPRI (PZERO+8) /* XXX sleep/wakeup queue priority */
34

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

96 (SMBUS_READW(device_get_parent(bus), slave, cmd, word))
97#define smbus_pcall(bus,slave,cmd,sdata,rdata) \
98 (SMBUS_PCALL(device_get_parent(bus), slave, cmd, sdata, rdata))
99#define smbus_bwrite(bus,slave,cmd,count,buf) \
100 (SMBUS_BWRITE(device_get_parent(bus), slave, cmd, count, buf))
101#define smbus_bread(bus,slave,cmd,count,buf) \
102 (SMBUS_BREAD(device_get_parent(bus), slave, cmd, count, buf))
103
27 */
28#ifndef __SMBONF_H
29#define __SMBONF_H
30
31#include <sys/queue.h>
32
33#define SMBPRI (PZERO+8) /* XXX sleep/wakeup queue priority */
34

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

96 (SMBUS_READW(device_get_parent(bus), slave, cmd, word))
97#define smbus_pcall(bus,slave,cmd,sdata,rdata) \
98 (SMBUS_PCALL(device_get_parent(bus), slave, cmd, sdata, rdata))
99#define smbus_bwrite(bus,slave,cmd,count,buf) \
100 (SMBUS_BWRITE(device_get_parent(bus), slave, cmd, count, buf))
101#define smbus_bread(bus,slave,cmd,count,buf) \
102 (SMBUS_BREAD(device_get_parent(bus), slave, cmd, count, buf))
103
104#define SMBUS_MODVER 1
105#define SMBUS_MINVER 1
106#define SMBUS_MAXVER 1
107#define SMBUS_PREFVER SMBUS_MODVER
108
104#endif
109#endif