History log of /src/sys/dev/acpi/com_acpi.c |
Revision | | Date | Author | Comments |
1.44 |
| 23-Oct-2021 |
jmcneill | Poll only if we don't have an IRQ resource.
|
1.43 |
| 21-Oct-2021 |
jmcneill | acpi: com: Honour the reg-shift property
|
1.42 |
| 25-Mar-2021 |
rin | Introduce sc_poll_ticks and obsolete COM_HW_POLL bit in sc_hwflags. Polling is scheduled at every sc_poll_ticks ticks.
This is useful to work around H/W bug, by which interrupts are lost *sometimes*; interrupt-based I/O mostly works and no need for polling every counter ticks.
|
1.41 |
| 29-Jan-2021 |
thorpej | branches: 1.41.2; Use acpi_compatible_match() / acpi_compatible_lookup().
|
1.40 |
| 01-Mar-2019 |
mlelstv | branches: 1.40.12; Fix build for i386.
The acpi_intr_establish function should really take an AD_HANDLE parameter.
|
1.39 |
| 26-Feb-2019 |
mlelstv | Cast to same type as parameter. NFCI.
|
1.38 |
| 24-Dec-2018 |
christos | - fix compilation on 32 bit systems. - wrap long lines
|
1.37 |
| 21-Dec-2018 |
jmcneill | Support Designware APB UART
|
1.36 |
| 08-Dec-2018 |
thorpej | Clean up initialization of com_regs structure, in preparation for some additional changers.
|
1.35 |
| 05-May-2018 |
ryoon | branches: 1.35.2; Insert a whitespace after comma
|
1.34 |
| 29-Mar-2017 |
jdolecek | branches: 1.34.12; provide intr xname
|
1.33 |
| 11-Jul-2016 |
msaitoh | branches: 1.33.2; 1.33.4; KNF. No functional change.
|
1.32 |
| 22-Jul-2010 |
pgoyette | branches: 1.32.18; 1.32.36; Even if there's an error in attaching the device (failure to find IRQ resource, or I/O mapping), set-up a power management handler so we can sleep later on.
|
1.31 |
| 05-Mar-2010 |
jruoho | branches: 1.31.2; Remove <dev/acpi/acpica.h> from all files. It is included from <dev/acpi/acpivar.h>. Ditto for <dev/sysmon/sysmonvar.h>, <sys/bus.h>, <dev/pci/pcivar.h>, and <dev/isa/isavar.h>.
Also nuke a lot of unused and invalid headers. Some of these are audibly provided by standard headers (namely <sys/param.h> and <sys/device.h>), some have nothing to do with ACPI devices (e.g. <sys/syslog.h>), and some are nonexistent local includes (e.g. "mpu_ym.h"). Moreoever, try to group the includes into their respective blocks.
Tested with GENERIC and ALL (i386). No functional change.
|
1.30 |
| 12-Nov-2009 |
dyoung | branches: 1.30.2; Don't use com_activate(), it's going away.
|
1.29 |
| 13-Jul-2009 |
kiyohara | com@acpi supports memory space. It tested on HP zx6000(ia64).
|
1.28 |
| 17-Feb-2009 |
jmcneill | Cut the amount of spam from acpi devices in roughly half by printing resources on the same line as autoconf messages. Things like: pcppi1 at acpi0 (SPKR, PNP0800) pcppi1: io 0x61 become: pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
|
1.27 |
| 14-Mar-2008 |
cube | branches: 1.27.4; 1.27.12; 1.27.14; 1.27.18; 1.27.22; Split device_t and softc for all com(4) devices (well, everything that uses a com_softc backend). Use proper types and ansify where appropriate.
|
1.26 |
| 29-Feb-2008 |
dyoung | Use pmf_device_register1() instead of shutdownhook_establish() to register com_cleanup() as the shutdown hook.
Add a generic suspend routine. Suspend and resume com@isa.
Protect against dereferencing a NULL softc in comioctl().
Destroy both a mutex and a callout in com_detach().
Cosmetic: use aprint_*_dev(). Use PMF_FN_ARGS, PMF_FN_PROTO.
|
1.25 |
| 21-Dec-2007 |
xtraeme | branches: 1.25.2; 1.25.6; Register a pmf(9) power handler... ok jmcneill@.
|
1.24 |
| 19-Oct-2007 |
ad | branches: 1.24.4; 1.24.8; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.23 |
| 04-May-2007 |
christos | branches: 1.23.6; 1.23.8; 1.23.12; PR/36273: Ryo ONODERA: com_acpi.c lacks a entry for Fujitsu Serial Pen Tablet
|
1.22 |
| 16-Nov-2006 |
christos | branches: 1.22.4; 1.22.8; 1.22.10; __unused removal on arguments; approved by core.
|
1.21 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.20 |
| 14-Jul-2006 |
xtraeme | branches: 1.20.4; 1.20.6; Make this build again and fix the bus_space_tag_t member of the softc, it's defined in the com_regs struct now.
|
1.19 |
| 13-Jul-2006 |
gdamore | Add an option COM_REGMAP to allow com(4) to use an array of register indices. This allows us to convert aucom to just another com attachment, and cleanup some code in the com_arbus.c.
Additionally, we use a common com_cleanup routine rather than having a zillion copies of it in the attachment points.
This has been tested on a number architectures, and it has been shown to get close to comparable performance when COM_REGMAP is defined, and comparable when it is not defined.
Approved by core@. Fixes PR port-evbmips/32362.
|
1.18 |
| 20-Feb-2006 |
kochi | branches: 1.18.2; 1.18.10; use aprint_*
|
1.17 |
| 11-Dec-2005 |
rpaulo | branches: 1.17.2; 1.17.4; 1.17.6; Add NSC (NSC6001) IRDA device.
|
1.16 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.15 |
| 01-May-2004 |
kochi | branches: 1.15.12; specify static where appropriate.
|
1.14 |
| 11-Apr-2004 |
kochi | Clean up memory allocated during autoconfiguration
|
1.13 |
| 11-Apr-2004 |
kochi | change acpi_resource_parse API to support _PRS parsing as well as _CRS
|
1.12 |
| 03-Nov-2003 |
mycroft | Add a SMC ID.
|
1.11 |
| 03-Nov-2003 |
mycroft | More cleanup: * Use ACPI_FAILURE() and ACPI_SUCCESS(). * Output exception strings in a few more places.
|
1.10 |
| 03-Nov-2003 |
mycroft | Clean up some messages: * Use AcpiFormatException() in a bunch of places. * acpi_resource_parse() already prints an error, so don't do it in the callers.
|
1.9 |
| 03-Nov-2003 |
kochi | * now the size of ACPI_DEVICE_INFO is variable: it can now accomodate multiple _CIDs sizeof(ACPI_DEVICE_INFO) should not be used * make ad_devinfo member in acpi_devnode a pointer * implement acpi_match_hid() to simplify matching devices; _CIDs are also taken into account now as well as _HID
|
1.8 |
| 31-Oct-2003 |
mycroft | Catch up with ABI changes in ACPI-CA. Some additional changes to acpi_bat to set the VALID bits correctly, so we don't report garbage for missing batteries.
|
1.7 |
| 09-Jan-2003 |
jdolecek | branches: 1.7.2; need to select proper IST for interrupt - IST_NONE is almost certainly not right
this makes fdc@acpi and com@acpi actually work on my machine; lpt@acpi change untested, but should be same as fdc and com
|
1.6 |
| 28-Dec-2002 |
jmcneill | branches: 1.6.2; Add IBM0071, until we have access to the Compat Ids.
|
1.5 |
| 28-Dec-2002 |
jmcneill | In com_acpi_attach, set sc->sc_iot unconditionally.
|
1.4 |
| 28-Dec-2002 |
matt | Fix an uninitialized variable.
|
1.3 |
| 28-Dec-2002 |
matt | make id const, and use it for the strcmp since we went to the trouble of remembering it.
|
1.2 |
| 28-Dec-2002 |
matt | const the pnpid array.
|
1.1 |
| 28-Dec-2002 |
jmcneill | Add 'com at acpi' and 'wss at acpi' glue. These are both working great on my ThinkPad 600E.
XXX isa_dmainit isn't called early enough for the 'audio at wss' attachment XXX to work, so I'm deferring the call to 'wssattach' until later on. This XXX should be fixed soon.
|
1.6.2.3 |
| 15-Jan-2003 |
thorpej | Sync with HEAD.
|
1.6.2.2 |
| 29-Dec-2002 |
thorpej | Sync with HEAD.
|
1.6.2.1 |
| 28-Dec-2002 |
thorpej | file com_acpi.c was added on branch nathanw_sa on 2002-12-29 20:45:31 +0000
|
1.7.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.7.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.7.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.15.12.6 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.15.12.5 |
| 21-Jan-2008 |
yamt | sync with head
|
1.15.12.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.15.12.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.15.12.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.15.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.17.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.17.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.17.2.1 |
| 01-Mar-2006 |
yamt | sync with head.
|
1.18.10.3 |
| 17-Jun-2006 |
gdamore | Undo the undo. Restore COM_INIT_REGS.
|
1.18.10.2 |
| 17-Jun-2006 |
gdamore | Revert COM_INIT_REGS.
|
1.18.10.1 |
| 15-Jun-2006 |
gdamore | Adapt to new com framework.
|
1.18.2.1 |
| 11-Aug-2006 |
yamt | sync with head
|
1.20.6.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.20.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.20.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.22.10.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.22.8.2 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.22.8.1 |
| 27-May-2007 |
ad | Sync with head.
|
1.22.4.1 |
| 07-May-2007 |
yamt | sync with head.
|
1.23.12.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.23.8.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.23.8.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.23.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.23.6.1 |
| 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.24.8.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.24.4.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.25.6.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.25.2.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.27.22.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
1.27.18.2 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
1.27.18.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.27.14.1 |
| 01-May-2009 |
snj | Pull up following revision(s) (requested by jmcneill in ticket #498): sys/dev/acpi/acpi_ec.c: revision 1.53 sys/dev/acpi/acpi_resource.c: revision 1.27 sys/dev/acpi/atppc_acpi.c: revision 1.16 sys/dev/acpi/attimer_acpi.c: revision 1.12 sys/dev/acpi/com_acpi.c: revision 1.28 sys/dev/acpi/fdc_acpi.c: revision 1.35 sys/dev/acpi/hpet_acpi.c: revision 1.4 sys/dev/acpi/joy_acpi.c: revision 1.9 sys/dev/acpi/lpt_acpi.c: revision 1.18 sys/dev/acpi/mpu_acpi.c: revision 1.9 sys/dev/acpi/pckbc_acpi.c: revision 1.31 sys/dev/acpi/pcppi_acpi.c: revision 1.11 sys/dev/acpi/ug_acpi.c: revision 1.5 sys/dev/acpi/wss_acpi.c: revision 1.20 sys/dev/acpi/ym_acpi.c: revision 1.6 Cut the amount of spam from acpi devices in roughly half by printing resources on the same line as autoconf messages. Things like: pcppi1 at acpi0 (SPKR, PNP0800) pcppi1: io 0x61 become: pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
|
1.27.12.1 |
| 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.27.4.4 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.27.4.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.27.4.2 |
| 18-Jul-2009 |
yamt | sync with head.
|
1.27.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.30.2.2 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.30.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.31.2.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.32.36.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.32.36.1 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
1.32.18.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.33.4.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.33.2.1 |
| 26-Apr-2017 |
pgoyette | Sync with HEAD
|
1.34.12.2 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
1.34.12.1 |
| 21-May-2018 |
pgoyette | Sync with HEAD
|
1.35.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.40.12.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.41.2.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|