jhb
8d2a500ba5
- Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle
...
from softc.
- Mark interrupt handlers MPSAFE as these drivers have been locked for a
while.
2008-06-06 18:29:56 +00:00
remko
57ca86731e
Add the Intel 82801FB (ICH6) SMBus controller and the
...
Intel 82801GB (ICH7) SMBus controller.
PR: 85106 [1]
PR: 99663 [2]
Approved by: imp (mentor), jhb
Submitted by: Oliver Fromme <olli at lurza.secnetix dot de>, [1]
Arthur Hartwig <arthur dot hartwig at nokia dot com>, [1]
Lowell Gilbert <lgfbsd at be-well dot ilk dot org> [2]@
MFC After: 3 days
2007-11-26 19:54:54 +00:00
jhb
88e6756135
Add a device ID for the 631xESB/6321ESB SMBus controller.
...
Submitted by: Reed A. Cartwright <reed scit.us>
2007-01-11 21:13:27 +00:00
jhb
afb4cfc547
Various updates to most of the smbus(4) drivers:
...
- Use printf() and device_printf() instead of log() in ichsmb(4).
- Create the mutex sooner during ichsmb(4) attach.
- Attach the interrupt handler later during ichsmb(4) attach to avoid
races.
- Don't try to set PCIM_CMD_PORTEN in ichsmb(4) attach as the PCI bus
driver does this already.
- Add locking to alpm(4), amdpm(4), amdsmb(4), intsmb(4), nfsmb(4), and
viapm(4).
- Axe ALPM_SMBIO_BASE_ADDR, it's not really safe to write arbitrary values
into BARs, and the PCI bus layer will allocate resources now if needed.
- Merge intpm(4) and intsmb(4) into just intsmb(4). Previously, intpm(4)
attached to the PCI device and created an intsmb(4) child. Now,
intsmb(4) just attaches to PCI directly.
- Change several intsmb functions to take a softc instead of a device_t
to make things simpler.
2007-01-11 19:56:24 +00:00
brian
8b3f56edd4
Make ichsmb unloadable.
...
It seems that the unload problems were due to a dodgy sc->smb usage and a
missing mtx_destroy().
Sponsored by: ActiveState/Sophos
MFC after: 3 weeks
2005-07-29 00:20:50 +00:00
takawata
024ebcc52b
Make ichsmb(4) child device handling properly.
2005-06-10 16:12:43 +00:00
takawata
d71b449fa2
Make ichsmb loadable.
...
PR: kern/81912
Submitted by: nork
2005-06-05 11:55:29 +00:00
imp
5536442ca3
Use BUS_PROBE_DEFAULT for pci probe return value
2005-03-05 18:17:35 +00:00
ambrisko
08157e234b
Add PCI Device ID for 6300ESB ICH. If allocating 16 bytes fails then try 32.
...
This is also require for 6300ESB.
2004-06-24 18:21:28 +00:00
phk
9d102d7d5a
Add missing <sys/module.h> includes
2004-05-30 20:08:47 +00:00
njl
05a1f56fc9
Convert callers to the new bus_alloc_resource_any(9) API.
...
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
2004-03-17 17:50:55 +00:00
njl
2e20fc26fb
Update the comment to indicate ICH5 support
2003-08-31 19:23:00 +00:00
njl
b1cfa5d003
Add support for the 82801EB (ICH5) SMBus controller.
...
PR: kern/55485
Submitted by: Shin-ichi Yoshimoto <yosimoto@waishi.jp>
MFC after: 1 day
2003-08-31 01:28:02 +00:00
obrien
c63dab466c
Use __FBSDID().
...
Also some minor style cleanups.
2003-08-24 17:55:58 +00:00
imp
e0b1369473
Prefer new location of pci include files (which have only been in the
...
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
2003-08-22 06:00:27 +00:00
nyan
9247d17937
typo.
...
Submitted by: SAWADA Hodaka <hoda@tail.gr.jp>
MFC after: 1 day
2002-10-18 12:06:01 +00:00
mp
b1615f2268
Add PCI ID for ICH4 SMBus controller.
2002-08-12 16:22:12 +00:00
jhb
dc404ea620
Detect and attach to the ICH3 SMBus controller.
...
PR: i386/36972
Submitted by: Colin Perkins <csp@isi.edu>
Requested by: Larry Rosenman <ler@lerctr.org>
MFC After: 7 days
2002-05-08 00:51:54 +00:00
jhb
b47bfbe544
Catch up to header include changes:
...
- <sys/mutex.h> now requires <sys/systm.h>
- <sys/mutex.h> and <sys/sx.h> now require <sys/lock.h>
2001-03-28 09:17:56 +00:00
archie
97c59af9ef
Add missing #include.
2000-12-08 00:49:37 +00:00
archie
9226f07233
Driver for the Intel 82801AA (ICH) SMBus controller and compatibles.
...
Obtained from: Whistle source tree
2000-10-06 00:09:46 +00:00