Commit Graph

364 Commits

Author SHA1 Message Date
cube 20468175d2 Regen. 2006-03-01 09:30:22 +00:00
cube 687f061948 Add INT0800 (Intel FWH RNG). Make tabulation consistent. 2006-03-01 09:29:47 +00:00
cube 2d6c09f7a7 Resource lists end with END_TAG, not END_DEPENDENT. Makes the
PCI_INTR_FIXUP code "work" again.

Most of the time it will produce a warning about a misaligned resource
pointer, but it's harmless, and the warning was removed in the next version
of the ACPI-CA code.
2006-02-26 18:46:04 +00:00
wiz 078081c6ad Fix typo in aprint argument. 2006-02-23 17:38:03 +00:00
kochi 6f20259365 use aprint_* 2006-02-20 12:17:49 +00:00
kochi f172eb96ae regen. 2006-02-17 04:34:00 +00:00
kochi 5f0ceef69b Correct some existing device names (PCI bridges, ACPI buses) according
to the up-to-date specs (ACPI 3.0a/PCI Firmware spec 3.0).
Add some ACPI specific devices (ACPI000x).
2006-02-17 04:33:12 +00:00
kochi 9fca0c53be define acpi_dbgr as static 2006-02-16 09:23:23 +00:00
kochi 92d51ace0f prototypes don't need argument names 2006-02-16 06:19:26 +00:00
kochi 539e1b8f22 use ACPI_FAILURE() macro instead of directly check AE_OK 2006-02-16 06:18:59 +00:00
kochi 0cdeab4c58 remove ACPI_DISABLE_ON_POWEROFF option, which was there just for
compatibility of our old driver behavior, which is not necessary.
2006-01-31 09:30:06 +00:00
kochi 9e72fe1e5e adapt for ACPI-CA 20060113 2006-01-29 03:12:22 +00:00
kochi 5d63813b95 Merge ACPI-CA 20060113 2006-01-29 03:11:26 +00:00
kochi 86bf0f2eb2 Merge ACPI-CA 20060113 (new files)
CVg: Committing in .CPI-CA 20060113'
2006-01-29 03:10:55 +00:00
kochi 2564e681ae Merge ACPI-CA 20060113 2006-01-29 03:05:46 +00:00
kochi 13bafec3c5 Import the INTEL ACPI-CA 20060113 2006-01-29 03:02:40 +00:00
rpaulo 69846c9381 More comments fixing. 2006-01-05 17:13:20 +00:00
rpaulo e438cb4b93 * defflag ACPI_DSDT_OVERRIDE and defparam ACPI_DSDT_FILE.
* adjust comments to reality
2006-01-05 16:56:54 +00:00
perry 93124077ae Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:27:29 +00:00
sekiya 469147a42c I fixed the cardbus bus enumeration problem awhile back, but the interrupt
fixup problems remain.  Adjust TODO comments to match, and add a link to
cube's comments.
2005-12-21 08:48:25 +00:00
cube 9af385388e machdep.acpi_root -> hw.acpi.root, as discussed on source-changes. 2005-12-13 23:27:31 +00:00
cube 3de4cab6f7 Move the (one liner) logic of AcpiOsGetRootPointer() out of acpica/Osd to
acpi.c and take the opportunity to create a sysctl node that contains the
address of the main ACPI table.

The name of the node, "machdep.acpi_root", is questionable but matches the
one FreeBSD has, which will make it easier to port their acpidump(8)
program.
2005-12-12 15:04:50 +00:00
rpaulo c747cf7094 Add NSC (NSC6001) IRDA device. 2005-12-11 18:48:51 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
rpaulo 861d507d5b regen 2005-11-12 11:54:29 +00:00
rpaulo 645b6b622a Add ACPI Three-wire Device Bus. 2005-11-12 11:53:30 +00:00
kochi ec63345182 regen. 2005-11-11 02:11:07 +00:00
kochi 2d0bb278d1 add HPET timer PNP ID.
reported in PR32040 by  Nicolas Joly
2005-11-11 02:10:09 +00:00
rpaulo 07c827131f regen 2005-11-10 13:31:03 +00:00
rpaulo 7928f127e6 Add NSC IrDA Fast Infrared Port. 2005-11-10 13:30:46 +00:00
rpaulo f5602021b6 regen 2005-11-10 13:26:34 +00:00
rpaulo 066abf15d0 Add Synaptics PS/2-style Touchpad. 2005-11-10 13:25:59 +00:00
kochi 1b13c5e5de revive a piece of code for workaround for buggy BIOSes.
this code was accidentally dropped when the last merge of ACPI-CA.
(this code is one of NetBSD-local changes against original ACPI-CA)
2005-10-23 16:39:29 +00:00
drochner fbdec13c62 reduce the last commit to its essence; the rest was
not so helpful
2005-07-11 18:31:12 +00:00
christos 79de18714f PR/30720: Nicolas Joly: compilation failure with ACPI_FDC_DEBUG 2005-07-11 14:40:00 +00:00
sekiya 13e5f23389 Fix up interrupt line when line == 0. Discussed with christos@ 2005-06-30 22:28:03 +00:00
christos 66276ec095 There is an error when we return -1, not < 1. 2005-06-30 19:31:53 +00:00
sekiya b72e560799 Likewise, ACPI_PCI_FIXUP has been replaced by PCI_INTR_FIXUP, and we should
notify when an old kernel config is used.  Recommended by wiz@
2005-06-21 11:49:10 +00:00
sekiya 0919f4d283 Rework the configuration scheme for PCI fixups:
* bus enumeration fixups are not PCIBIOS-specific, interrupt fixups are done
  by both PCIBIOS and ACPI.  The redundancy is very redundant.  Therefore,
  rename PCIBIOS_*_FIXUP to PCI_*_FIXUP, use PCI_INTR_FIXUP in place of
  ACPI_PCI_FIXUP, and change code refences to match.

* move the fixup defines from opt_pcibios.h to opt_pcifixup.h to reflect
  the above.

* fix up the PCI bus numbering in mainbus_attach(), right after we detect the
  configuration mode.  This probably renders the fixup in pcibios.c
  redundant -- but it should be harmless.

These changes make cardbus work in ACPI-only machines, when PCI_BUS_FIXUP
and PCI_INTR_FIXUP are defined.
2005-06-21 08:19:25 +00:00
sekiya da1b13d741 Also fix up interrupt line if interrupt is zero, as well as 255. Fixes
interrupt issues on two of my laptops that lack PCIBIOS.
2005-06-20 12:21:36 +00:00
drochner a5c2eed454 kill the "busname" attach arg, it is not really needed 2005-06-01 16:44:38 +00:00
drochner 3f6e0487d2 lots of cast-qual fallout 2005-05-31 21:08:37 +00:00
christos 85d43e7f3d Sprinkle const freely and delete unnecessary casts. 2005-05-29 20:56:02 +00:00
kochi a7c9d49c21 Merge changes for ACPI-CA 20050408 2005-05-02 14:53:04 +00:00
kochi 57d7792cce Merge ACPI-CA 20050408 2005-05-02 14:52:09 +00:00
kochi 1b73770414 Import the INTEL ACPI-CA 20050408 2005-05-02 14:42:07 +00:00
cube 040e3b19e5 Add attimer(4) driver, with ISA and ACPI attachments.
attimer(4) is the new body of the part of pcppi(4) that mapped the TIMER1
register to set the pitch of the bell.  It was necessary to separate them
in order to have a working ACPI attachment (as the two appear as different
devices in the ACPI structures).
2005-03-25 23:06:19 +00:00
xtraeme 57218e5576 Add pcppi(4) ACPI attachment, which matches the "AT-style speaker
sound" ACPI device.

Reviewed by christos@.
2005-03-21 14:06:46 +00:00
perry f11b400470 regen 2005-02-27 05:18:58 +00:00
perry 23679f7026 remove trailing whitespace from the "generated from:" line 2005-02-27 05:18:32 +00:00