Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove some includes include-what-you-use claims don't | 2015-03-14 | 1 | -2/+1 | |
| | | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@ | ||||
* | remove uneeded proc.h includes | 2014-09-14 | 1 | -2/+1 | |
| | | | | ok mpi@ kspillner@ | ||||
* | Make acpiprt(4) handle interrupts with non-standard polarity and trigger mode | 2014-05-02 | 1 | -25/+84 | |
| | | | | | | correctly. Tested by nobody. | ||||
* | Bail out early if the PCI bus number is -1. This means the hardware isn't | 2013-12-22 | 1 | -4/+6 | |
| | | | | there and the AML might reference stuff that isn't there. | ||||
* | Remove old code that figures out the PCI bus number. The new code gets some | 2010-08-03 | 1 | -87/+5 | |
| | | | | | | | corner cases right that the old code messed up. As a bonus, this noticibly speeds up booting my Dell XPS M1330. ok deraadt@, marco@, jordan@ | ||||
* | spacing and indents that are driving me crazy | 2010-07-21 | 1 | -2/+2 | |
| | |||||
* | clean up a pile of prototypes and shred some macros which were just covering | 2010-07-21 | 1 | -3/+3 | |
| | | | | for ones everyone knows better | ||||
* | Verify _ADR bdf is correct (some systems return 0xffff) | 2010-07-10 | 1 | -2/+2 | |
| | | | | Works on Dell x9xx and Studio 1555 | ||||
* | Add mapping for ACPI device to PCI bdf (match autoconf tree) | 2010-07-08 | 1 | -14/+15 | |
| | | | | | | Simplify resource parsing function to use buffer argument Convert namespace linked lists to use queue macros ok marco@, deraadt@ | ||||
* | Backout recent AML changes, breaks on R210 and others | 2010-07-01 | 1 | -8/+88 | |
| | |||||
* | Simplified aml_parse_resource call, cleanup code | 2010-07-01 | 1 | -9/+4 | |
| | | | | ok marco | ||||
* | Use new ACPI PCI mapping to get _PRT bus | 2010-06-29 | 1 | -80/+5 | |
| | | | | | Delete old unused code ok kettenis | ||||
* | Backout previous change; it breaks more machines than it fixes. | 2009-03-31 | 1 | -1/+7 | |
| | |||||
* | Always re-route interrupts, even when doing so appears to be a no-op. Some | 2009-03-21 | 1 | -7/+1 | |
| | | | | | | BIOSen flat out lie to us when we ask for the current routing. ok marco@ | ||||
* | More aml_evalinteger fixup | 2009-03-11 | 1 | -13/+10 | |
| | | | | ok marco@ | ||||
* | Cleanup.. use aml_evalinteger instead of aml_evalname | 2009-03-11 | 1 | -5/+4 | |
| | | | | ok marco@ | ||||
* | Turns out the IRQ Information is optional in IRQ Descriptor resources, so | 2009-01-27 | 1 | -4/+4 | |
| | | | | | allow resources that are only 5 bytes long. Prevents dmesg spamming on the OQO. | ||||
* | On many systems the information returned by _PRT is an absolute lie, especially | 2008-12-19 | 1 | -48/+6 | |
| | | | | | | in the PIC case. So if _CRS returns a plausible value, go with that, and only chose an interrupt from the list returned by _PRT if the value returned by _CRS makes no sense. | ||||
* | Make the code that picks an IRQ from the list of possible IRQs a bit smarter | 2008-12-17 | 1 | -2/+62 | |
| | | | | | | | | by avoiding legacy IRQs if possible. Fixes problems (some, not all) with machines that advertise legacy IRQs as usable even if they have ISA devices onboard that need those IRQs. ok marco@ | ||||
* | Make acpiprt(4) check whether the current interrupt routing is "possible" and | 2008-12-07 | 1 | -55/+90 | |
| | | | | | | | | | | | | | pick a new one from the list of possible routings if it isn't or if a pin is currently not routed. Delay re-routing interrupts until we establish a handler for it. This prevents us from messing with unused interrupt pins which may have fatal consequences (some machines spontaniously reboot). The heuristics for picking an interrupt from the list of possibe ones probably needs some tweaking still, but this makes several NVIDIA-based boards work much better than before. tested by many, ok marco@ | ||||
* | Fix $OpenBSD$ for once and for all | 2008-06-11 | 1 | -1/+1 | |
| | |||||
* | Add _?RS methods evaluation to obtain additional heuristics and setting | 2008-06-06 | 1 | -7/+72 | |
| | | | | | | interrupt routing. Fixes several HP & IBM machines. ok deraadt ketennis | ||||
* | Re-enable new parser. Lots of testing by various folks. Fits all media | 2008-06-01 | 1 | -4/+57 | |
| | | | | | | now too. ok kettenis deraadt | ||||
* | back out jordans new parser. | 2008-05-16 | 1 | -53/+3 | |
| | | | | | | | | it didnt have enough oks from the right people, it did break machines that were previously working, and it bloated the RAMDISKS and install media beyond the constraints of the media. requested by deraadt@ | ||||
* | Removed debugging printfs | 2008-05-14 | 1 | -2/+4 | |
| | |||||
* | Clean up a bit. | 2008-05-14 | 1 | -7/+5 | |
| | | | | ok jordan@ | ||||
* | Adding new ACPI Parser code | 2008-05-14 | 1 | -3/+53 | |
| | | | | | | Old guts of code still exists, needs to be torn out next ok marco@ ok brad@ | ||||
* | spacing | 2007-11-12 | 1 | -3/+3 | |
| | |||||
* | a little less excitement (every printf does not need to end in !) | 2007-11-12 | 1 | -2/+2 | |
| | |||||
* | More simple memset(,0,) -> M_ZERO changes. In this batch move to | 2007-10-08 | 1 | -3/+2 | |
| | | | | | | size(*p) as the first malloc() parameter where p is declared locally and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c even though there is no obvious bzero or memset nearby. | ||||
* | Fix code that figures out the PCI bus number for a _PRT configuration object. | 2007-09-07 | 1 | -18/+39 | |
| | | | | | | | This should get rid of the "multiple bus 0" problem seen on some machines, and fix PCI interrupt routing on them. ok marco@ (a while ago) | ||||
* | Added support for getting host-bridge _BBN from _CRS resources | 2007-02-23 | 1 | -1/+24 | |
| | | | | | suggestions by kettenis ok marco@ | ||||
* | Make an acpi-enabled GENERIC.MP work on systems that only support PIC mode. | 2007-02-21 | 1 | -25/+28 | |
| | | | | ok marco@ | ||||
* | Fix a few memory leaks. | 2007-02-21 | 1 | -8/+19 | |
| | | | | ok jordan@ | ||||
* | Deal with weird systems that return bogus device numbers for stuff that's not | 2007-01-24 | 1 | -2/+12 | |
| | | | | really there. | ||||
* | Check whether PCI interrupt link devices are enabled. | 2007-01-18 | 1 | -5/+6 | |
| | | | | Based on a diff from marco@. | ||||
* | even more knf love | 2006-12-21 | 1 | -9/+6 | |
| | |||||
* | spacing | 2006-12-21 | 1 | -14/+14 | |
| | |||||
* | more minor knf | 2006-12-21 | 1 | -2/+2 | |
| | |||||
* | move proto to the right place | 2006-12-18 | 1 | -4/+2 | |
| | |||||
* | Post-process PCI config space opregions | 2006-11-27 | 1 | -4/+6 | |
| | | | | | Fixed acpiprt for stinky presario v3000 ok marco@ | ||||
* | Make normal pic interrupt routing work too. | 2006-11-27 | 1 | -6/+39 | |
| | |||||
* | Add check for acpi pointer. This prevents some ugly panics. | 2006-11-27 | 1 | -1/+5 | |
| | | | | ok ketennis. | ||||
* | Fixes for acpiprt routing | 2006-11-27 | 1 | -27/+50 | |
| | | | | | Post-parse fixup for namerefs ok kettenis@ | ||||
* | Handle objrefs in _PRT. | 2006-11-27 | 1 | -3/+6 | |
| | | | | ok jordan@ | ||||
* | sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for multi-ioapic systems. | 2006-11-25 | 1 | -3/+6 | |
| | | | | ok kettenis | ||||
* | dd pseudo-devices to handle acpi apic interrupt routing. | 2006-11-15 | 1 | -0/+214 | |
ok jordan@ |