Nate Lawson
bf4c71fd65
Revert 1.22. Go back to "FreeBSD" as our _OS value. Since we now support
...
_OSI, we can claim compatibility with MS products without claiming to BE
one. :-)
2004-03-22 20:11:49 +00:00
Nate Lawson
fce89338bf
Check in files off the vendor branch as well as files with local patches.
2004-03-18 17:46:27 +00:00
Nate Lawson
55545f899c
This commit was generated by cvs2svn to compensate for changes in r127175,
...
which included commits to RCS files with non-trunk default branches.
2004-03-18 17:42:14 +00:00
Nate Lawson
731de42fc8
Import of Intel ACPI-CA 20040311.
2004-03-18 17:42:14 +00:00
Max Laier
cc7e902276
Style(9) round for the pf kernel parts. Mostly #if defined() -> #ifdef
...
Also set HOOK_HACK to true (remove the related #ifdef's) as we have the
hooks in the kernel this was missed during the merge from the port.
Noticed by: Amir S. (for the HOOK_HACK part)
Approved by: bms(mentor)
2004-03-17 21:11:02 +00:00
Nate Lawson
5f96beb9e0
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
Max Laier
7b3832e8d6
Remove `$Name$' leftovers from the port version reporting.
...
Noticed by: Craig Rodrigues
Approved by: bms(mentor)
2004-03-10 15:08:21 +00:00
Nate Lawson
d64168a5a2
Part 2 of Project Evil: Pretend to be Windows 2000 for buggy ASL that
...
always expects to be running on some MS OS. A survey of ASL shows that
this is the 2nd most common expected OS value. (1st is Win98 and we don't
emulate its buggy ACPI support.) Our ACPI support is similar to Win2k,
also. Put this behavior under ACPICA_PEDANTIC so we can get back to our
previous behavior for OSV testing.
2004-03-04 05:57:41 +00:00
Nate Lawson
31b8e5b3b6
Remove these on the vendor branch as we no longer import them (and some
...
were never used).
CVS surgery credit: joe
2004-03-03 05:47:09 +00:00
Nate Lawson
6d0267157c
This commit was generated by cvs2svn to compensate for changes in r126520,
...
which included commits to RCS files with non-trunk default branches.
2004-03-03 05:47:09 +00:00
Max Laier
01315efca3
Remove __inline keyword from functions that can't be inlined according to
...
LINT. This fixes LINT compliation for now, but needs to be revised.
Changes do not affect the objects.
Approved by: bms(mentor)
2004-02-29 16:34:43 +00:00
Nate Lawson
2676fbe88c
Strip out new, unused file acnetbsd.h
2004-02-28 20:56:25 +00:00
Nate Lawson
0161891aa1
Fix an off-by-one in the compiler path. Originally from iwasaki-san's
...
patches for the pmtools port. This change has been submitted to Intel.
2004-02-28 20:42:10 +00:00
Nate Lawson
fd73230997
This commit was generated by cvs2svn to compensate for changes in r126380,
...
which included commits to RCS files with non-trunk default branches.
2004-02-28 20:42:10 +00:00
Nate Lawson
4c80f45557
Local change: emulate a ReturnOp if the AML expects one but it isn't
...
present. Some buggy BIOSs do not have a ReturnOp even though it is
required for a function to return a value.
2004-02-28 20:40:24 +00:00
Nate Lawson
e222f620d1
Local change: In the resume path, give up after waiting for a while
...
for WAK_STS to be set. Some BIOSs never set it.
2004-02-28 20:39:50 +00:00
Nate Lawson
56491b7ba0
Local change: Allow access to the field if it is within the region
...
size rounded up to a multiple of the access byte width. This overcomes
"off-by-one" programming errors in the AML often found in Toshiba
laptops.
2004-02-28 20:39:09 +00:00
Nate Lawson
7420bf68bb
Local change: Put various debugging options under ACPI_DISASSEMBLER.
2004-02-28 20:38:40 +00:00
Nate Lawson
96f2784ee5
Unchanged files from ACPICA 20040220 that are off the vendor branch.
2004-02-28 20:35:57 +00:00
Nate Lawson
2a2a3f2735
Vendor import of ACPICA 20040220
2004-02-28 20:23:30 +00:00
Nate Lawson
6a5f0d2f49
This commit was generated by cvs2svn to compensate for changes in r126372,
...
which included commits to RCS files with non-trunk default branches.
2004-02-28 20:23:30 +00:00
Max Laier
cc5934f5af
Tweak existing header and other build infrastructure to be able to build
...
pf/pflog/pfsync as modules. Do not list them in NOTES or modules/Makefile
(i.e. do not connect it to any (automatic) builds - yet).
Approved by: bms(mentor)
2004-02-26 03:53:54 +00:00
Max Laier
2bbe8ffc9d
Bring diff from the security/pf port. This has code been tested as a port
...
for a long time and is run in production use. This is the code present in
portversion 2.03 with some additional tweaks.
The rather extensive diff accounts for:
- locking (to enable pf to work with a giant-free netstack)
- byte order difference between OpenBSD and FreeBSD for ip_len/ip_off
- conversion from pool(9) to zone(9)
- api differences etc.
Approved by: bms(mentor) (in general)
2004-02-26 02:34:12 +00:00
Max Laier
3ef891af51
This commit was generated by cvs2svn to compensate for changes in r126258,
...
which included commits to RCS files with non-trunk default branches.
2004-02-26 02:04:28 +00:00
Max Laier
5c45a928b9
Vendor import of OpenBSD's packet filter (pf) as of OpenBSD 3.4
...
Approved by: bms(mentor), core (in general)
2004-02-26 02:04:28 +00:00
Poul-Henning Kamp
dc08ffec87
Device megapatch 4/6:
...
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
2004-02-21 21:10:55 +00:00
Poul-Henning Kamp
0b7ed341e1
Change the disk(9) API in order to make device removal more robust.
...
Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.
Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.
Unfortunately, this results in a ton of "s/\./->/" changes to device
drivers.
Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:
The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT
A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.
Manual page update to follow shortly.
2004-02-18 21:36:53 +00:00
Nate Lawson
b88cf1027b
When creating a package element via "Store(0xXXX, Index(ArgX, 0xXXX))",
...
be sure to increment the refcount of the argument so it is not
prematurely deleted. This is a workaround and may appear in a different
form in ACPI-CA. This fixes battery evaluation on Thinkpads that was
broken by fixing the Dell battery state.
Submitted by: Luming Yu <luming.yu@intel.com>
2004-01-14 18:54:22 +00:00
Nate Lawson
2cb740cc11
This commit was generated by cvs2svn to compensate for changes in r124528,
...
which included commits to RCS files with non-trunk default branches.
2004-01-14 18:54:22 +00:00
Nate Lawson
59cb1d160c
Fix for "UtAllocate: Attempt to allocate zero bytes" warnings on Dell
...
laptops that resulted in problems reading battery status. Don't
copy Buffers, Packages, or Regions in DsStoreObjectToLocal().
Tested by: scottl, sam
Submitted by: Luming Yu (Intel)
2004-01-04 06:35:01 +00:00
Nate Lawson
9ca39f70b1
This commit was generated by cvs2svn to compensate for changes in r124120,
...
which included commits to RCS files with non-trunk default branches.
2004-01-04 06:35:01 +00:00
Nate Lawson
99d3ab068f
Changes to the import script to handle the compiler/debugger import.
2003-12-09 03:13:37 +00:00
Nate Lawson
fe2e9bd26c
Fix an off-by-one in the compiler path. Originally from iwasaki-san's
...
patches for the pmtools port.
2003-12-09 03:11:40 +00:00
Nate Lawson
4d304b42df
This commit was generated by cvs2svn to compensate for changes in r123331,
...
which included commits to RCS files with non-trunk default branches.
2003-12-09 03:11:40 +00:00
Nate Lawson
2dfad8a854
Eliminate a warning. Patch has been sent to the vendor.
2003-12-09 03:06:28 +00:00
Nate Lawson
90d4766d51
This commit was generated by cvs2svn to compensate for changes in r123329,
...
which included commits to RCS files with non-trunk default branches.
2003-12-09 03:06:28 +00:00
Nate Lawson
f5f92fb181
Add the APIC_HEADER definition back in and use the correct definition
...
for local APIC override (64 bits). Changes have been submitted to the
vendor.
2003-12-09 03:06:09 +00:00
Nate Lawson
b8a1658528
This commit was generated by cvs2svn to compensate for changes in r123327,
...
which included commits to RCS files with non-trunk default branches.
2003-12-09 03:06:09 +00:00
Nate Lawson
2d4c34274d
Unchanged files that are off the vendor branch.
2003-12-09 03:00:55 +00:00
Nate Lawson
3a3f40629a
Local change: In the resume path, give up after waiting for a while
...
for WAK_STS to be set. Some BIOSs never set it.
2003-12-09 02:57:46 +00:00
Nate Lawson
7fc6af078c
Import for 20031203 file off vendor branch.
2003-12-09 02:57:30 +00:00
Nate Lawson
aba5e23de1
Local change: emulate a ReturnOp if the AML expects one but it isn't
...
present. Some buggy BIOSs do not have a ReturnOp even though it is
required for a function to return a value.
2003-12-09 02:55:47 +00:00
Nate Lawson
552bf8f4e2
Local change: Allow access to the field if it is within the region
...
size rounded up to a multiple of the access byte width. This overcomes
"off-by-one" programming errors in the AML often found in Toshiba
laptops.
2003-12-09 02:54:47 +00:00
Nate Lawson
f5fccb1dda
Local change: Put various debugging options under ACPI_DISASSEMBLER.
2003-12-09 02:51:09 +00:00
Nate Lawson
dee7748c35
Unchanged files that are off the vendor branch.
2003-12-09 02:48:38 +00:00
Nate Lawson
e50beb517d
Import ACPI-CA 20031203
2003-12-09 02:45:16 +00:00
Nate Lawson
2afe25109b
This commit was generated by cvs2svn to compensate for changes in r123315,
...
which included commits to RCS files with non-trunk default branches.
2003-12-09 02:45:16 +00:00
Nate Lawson
4f023945ac
Remove files on the vendor branch that we no longer use. Some are no longer
...
distributed with ACPI-CA. Note that all of these have been gone from HEAD
since 20030228.
2003-12-09 02:29:59 +00:00
Sam Leffler
aea8889fc4
This commit was generated by cvs2svn to compensate for changes in r123202,
...
which included commits to RCS files with non-trunk default branches.
2003-12-07 04:07:35 +00:00
Sam Leffler
586a7cc9c2
Version 0.9.6.3:
...
o relax analog radio hardware revision checking for 5212 cards
so newer revs are allowed to attach
2003-12-07 04:07:35 +00:00