Home | History | Annotate | Download | only in isa
History log of /src/sys/dev/isa/ug_isa.c
RevisionDateAuthorComments
 1.10  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.9  29-Jun-2022  mlelstv unregister sensors only when registered.
 1.8  24-Jun-2020  jdolecek rearrange to avoid allocating softc on stack in ug_isa_match()
 1.7  04-Apr-2008  xtraeme Don't forget to unmap I/O space in the error paths.
 1.6  26-Mar-2008  xtraeme Split device_t/softc for ug(4) and other related cosmetic changes.
 1.5  16-Nov-2007  xtraeme branches: 1.5.14;
Extend the envsys2 API (one more time, sorry) as defined in:

http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html

sysmon_envsys_create() and sysmon_envsys_destroy() were added to
create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).

sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were
added to attach/detach sensors to a specified sysmon_envsys device.

The events framework is now per device and configurable via the
ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).

Update all users and documentation to reflect these changes.
 1.4  19-Oct-2007  ad branches: 1.4.2;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.3  09-Sep-2007  xtraeme branches: 1.3.4;
Add the detach method, will be used by the LKM.
 1.2  01-Jul-2007  xtraeme branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.12;
Imported envsys 2, a brief description of the new features:
(Part 2: drivers)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
sysmon_power(9) and powerd(8), that means there is no 32 bytes event
size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
 1.1  08-May-2007  xtraeme branches: 1.1.2; 1.1.4; 1.1.6;
Split the ug(4) driver in three components:

* dev/ic/ug.c (main code shared by the attachments)
* dev/isa/ug_isa.c (isa attachment)
* dev/acpi/ug_acpi.c (acpi attachment)

That means that ug(4) can now be attached via ACPI.

Thanks to Mihai Chelaru for the good work.
 1.1.6.5  23-Oct-2007  ad Sync with head.
 1.1.6.4  09-Oct-2007  ad Sync with head.
 1.1.6.3  15-Jul-2007  ad Sync with head.
 1.1.6.2  09-Jun-2007  ad Sync with head.
 1.1.6.1  08-May-2007  ad file ug_isa.c was added on branch vmlocking on 2007-06-09 21:37:20 +0000
 1.1.4.2  17-May-2007  yamt sync with head.
 1.1.4.1  08-May-2007  yamt file ug_isa.c was added on branch yamt-idlelwp on 2007-05-17 13:41:28 +0000
 1.1.2.3  13-May-2007  pavel Fix new files from ticket #633.
 1.1.2.2  13-May-2007  pavel Pull up patch (requested by xtraeme in ticket #633):
sys/arch/amd64/conf/GENERIC: patch
sys/arch/i386/conf/ALL: patch
sys/arch/i386/conf/GENERIC: patch
sys/conf/files: patch
sys/dev/acpi/files.acpi: patch
sys/dev/acpi/ug_acpi.c: patch
sys/dev/ic/ug.c: patch
sys/dev/ic/ugreg.h: patch
sys/dev/ic/ugvar.h: patch
sys/dev/isa/files.isa: patch
sys/dev/isa/ug_isa.c: patch
share/man/man4/ug.4: patch
doc/CHANGES: patch
sys/dev/isa/ug.c: delete
sys/dev/isa/ugvar.h: delete

Add an acpi attachement for the ug hardware monitor driver.
 1.1.2.1  08-May-2007  pavel file ug_isa.c was added on branch netbsd-4 on 2007-05-13 06:52:54 +0000
 1.2.12.4  07-Dec-2007  yamt sync with head
 1.2.12.3  27-Oct-2007  yamt sync with head.
 1.2.12.2  03-Sep-2007  yamt sync with head.
 1.2.12.1  01-Jul-2007  yamt file ug_isa.c was added on branch yamt-lazymbuf on 2007-09-03 14:35:46 +0000
 1.2.10.2  09-Jan-2008  matt sync with HEAD
 1.2.10.1  06-Nov-2007  matt sync with HEAD
 1.2.8.3  21-Nov-2007  joerg Sync with HEAD.
 1.2.8.2  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.2.8.1  02-Oct-2007  joerg Sync with HEAD.
 1.2.4.1  10-Sep-2007  skrll Sync with HEAD.
 1.2.2.2  11-Jul-2007  mjf Sync with head.
 1.2.2.1  01-Jul-2007  mjf file ug_isa.c was added on branch mjf-ufs-trans on 2007-07-11 20:06:33 +0000
 1.3.4.2  18-Nov-2007  bouyer Sync with HEAD
 1.3.4.1  25-Oct-2007  bouyer Sync with HEAD.
 1.4.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.5.14.2  02-Jun-2008  mjf Sync with HEAD.
 1.5.14.1  03-Apr-2008  mjf Sync with HEAD.

RSS XML Feed