diff options
author | Oleg Safiullin <form@cvs.openbsd.org> | 2008-04-03 20:28:06 +0000 |
---|---|---|
committer | Oleg Safiullin <form@cvs.openbsd.org> | 2008-04-03 20:28:06 +0000 |
commit | 44253edefcdd3c9f4b3237d8a25a7cf7f04be1b0 (patch) | |
tree | 43205ce0bc2b5c2cb7bd2453a422af51da74fdbc /sys/dev/isa/itvar.h | |
parent | 25713af802cddeafae65918278e5be5d223498fd (diff) |
Switch it(4) back to PnP config mode. Avoid possible
conflicts with SMSC or similar chips.
Diffstat (limited to 'sys/dev/isa/itvar.h')
-rw-r--r-- | sys/dev/isa/itvar.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/dev/isa/itvar.h b/sys/dev/isa/itvar.h index 98522c49252..b70cc3a409f 100644 --- a/sys/dev/isa/itvar.h +++ b/sys/dev/isa/itvar.h @@ -1,7 +1,7 @@ -/* $OpenBSD: itvar.h,v 1.7 2007/12/23 17:44:07 form Exp $ */ +/* $OpenBSD: itvar.h,v 1.8 2008/04/03 20:28:05 form Exp $ */ /* - * Copyright (c) 2007 Oleg Safiullin <form@pdp-11.org.ru> + * Copyright (c) 2007-2008 Oleg Safiullin <form@pdp-11.org.ru> * Copyright (c) 2006-2007 Juan Romero Pardines <juan@xtrarom.org> * Copyright (c) 2003 Julien Bordet <zejames@greyhats.org> * All rights reserved. @@ -34,13 +34,12 @@ #define IT_EC_NUMSENSORS 15 #define IT_EC_VREF 4096 -#define IO_IT 0x2e +#define IO_IT1 0x2e +#define IO_IT2 0x4e #define IT_IO_ADDR 0x00 #define IT_IO_DATA 0x01 -#define IT_VEND_ITE 0x90 - #define IT_ID_8705 0x8705 #define IT_ID_8712 0x8712 #define IT_ID_8716 0x8716 @@ -67,7 +66,6 @@ #define IT_EC_FANEXTBASE 0x18 #define IT_EC_VOLTBASE 0x20 #define IT_EC_TEMPBASE 0x29 -#define IT_EC_VENDID 0x58 #define IT_WDT_LDN 0x07 @@ -82,6 +80,8 @@ struct it_softc { bus_space_tag_t sc_iot; bus_space_handle_t sc_ioh; + int sc_iobase; + int sc_ec_iobase; u_int16_t sc_chipid; u_int8_t sc_chiprev; @@ -90,6 +90,8 @@ struct it_softc { struct ksensor sc_sensors[IT_EC_NUMSENSORS]; struct ksensordev sc_sensordev; + + LIST_ENTRY(it_softc) sc_list; }; #endif /* _DEV_ISA_ITVAR_H_ */ |