Commit Graph

25 Commits

Author SHA1 Message Date
msaitoh
22c389a767 Add support for Intel 6 series. 2011-05-15 01:00:52 +00:00
hannken
61ba7ebc8c Make the SMbus Send/Receive functions work.
If cmdlen = 0 and len = 1 use the XXX_HC_CMD_BYTE protocol, send
data through XXX_SMB_HCMD or receive data from XXX_SMB_HD0.

Ok: Paul Goyette
2011-02-10 13:52:36 +00:00
njoly
7ca92dcdc4 Adjust for Intel ICH10 devices update. 2010-07-30 15:28:09 +00:00
tnn
6c77458a9c Attach to SMBus on Intel P55 chipset. 2010-02-06 14:09:25 +00:00
cegger
59717d7121 struct cfdata * -> cfdata_t, no functional changes intended. 2009-05-06 09:25:14 +00:00
cegger
c363a9cb62 bzero -> memset 2009-03-18 16:00:08 +00:00
pgoyette
7eb6f514e7 Update the i2c_exec() functions to handle quick_read/quick_write protocol.
Although interface routines i2c_smbus_*() exist, nothing in NetBSD actually
uses them yet.
2009-02-03 16:27:13 +00:00
christos
9a5d3f2817 replace bitmask_snprintf(9) with snprintb(3) 2008-12-16 22:35:21 +00:00
christos
98f48d5f26 ICH10 support from Brad du Plessis 2008-10-01 15:38:14 +00:00
njoly
dcebe2386c Add missing newline in debug message. 2008-09-08 20:49:41 +00:00
njoly
5e265d5272 Improve message for SMI interrupts. 2008-09-08 20:47:09 +00:00
njoly
fa492bbaa9 Fix compilation with ICHIIC_DEBUG. 2008-09-08 20:37:38 +00:00
cegger
9d57c80079 use aprint_*_dev and device_xname 2008-04-10 19:13:36 +00:00
kiyohara
b5ce3aaf20 Split device_t/softc. 2008-03-28 02:40:19 +00:00
jmcneill
4c1d81b2b5 Merge jmcneill-pm branch. 2007-12-09 20:27:42 +00:00
ad
a2a3828545 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
riz
a550eae132 For SMBus, add the ability to enumerate devices on the bus.
This does NOT identify the devices, merely indicates the
presence of devices at certain addresses.  Tested on ichsmb
and nfsmb - other SMBus devices will need to ensure the
proper bus type is set. (I2C_TYPE_SMBUS)

From Nicolas Joly, via Paul Goyette, in PR#36744.
2007-09-01 22:19:25 +00:00
xtraeme
87186fcca6 Use rwlock(9) rather than lockmgr(9). 2007-08-27 15:57:13 +00:00
xtraeme
5d1b643f3f Attach to the ICH9 SMBus device too. 2007-08-27 09:09:22 +00:00
xtraeme
31ee4220f6 Add missing __KERNEL_RCSID(). 2007-08-27 06:01:10 +00:00
xtraeme
268e268682 Move the ICH SMB defs to dev/ic/i82801lpcreg.h, it's where it belongs.
This is to avoid code duplication.
2007-08-26 18:39:43 +00:00
kiyohara
1d0746259f Use bitmask_snprintf(). 2007-08-09 16:54:21 +00:00
xtraeme
09161dfd7a Repeat after me: %zu for size_t, %zd for ssize_t. Reminded by yamt@. 2007-08-05 23:05:02 +00:00
xtraeme
6e07b7e97b Use %zd to printf size_t. 2007-08-05 22:48:36 +00:00
kiyohara
37b3e2d574 Add support for Intel ICH SMBus controller. 2007-07-28 10:51:56 +00:00