Commit Graph

257 Commits

Author SHA1 Message Date
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
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
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
Sam Leffler
f668bdbdb5 Version 0.9.6.1:
o support for 5112 and 2112 radios on 5212-based products
o revised interface for ah_procRxDesc needed to handle a race
  condition created with the use of self-linked rx descriptors
o support for setting the MAC address
o remove some unused methods from the public API
o revised diagnostic API (replace dump* methods with getDiagState)
o const'ify set key cache method parameters
o support for optional 32khz sleep clock
o implement ah_setSlotTime for 5211 parts
o ANI improvements for 5212 parts

Approved by:    re (scottl)
2003-11-29 01:11:48 +00:00
Sam Leffler
ddbe8403a5 This commit was generated by cvs2svn to compensate for changes in r123041,
which included commits to RCS files with non-trunk default branches.
2003-11-29 01:11:48 +00:00
Nate Lawson
7158f454ee Commit rev 1.1.1.20 to HEAD. This file was off the vendor branch and thus
the changes need to be made to HEAD.

Approved by:	re (previously)
2003-11-22 00:48:08 +00:00
Nate Lawson
beb443da7a Update code for checking the reference count and performing the final
delete of objects.  Also revert our temporary workaround in dsmthdat.c
that always copied objects.  This is the correct fix for errors
evaluating _BST (and GBST) on IBM Thinkpads where an argument (Arg3)
was returned to the caller and the object was freed while still in use.
This will be in a future ACPI-CA dist.

Thanks to:	kochi@netbsd.org, shaohua.li@intel.com
2003-11-21 21:24:31 +00:00
Nate Lawson
f4275c3682 This commit was generated by cvs2svn to compensate for changes in r122945,
which included commits to RCS files with non-trunk default branches.
2003-11-21 21:24:31 +00:00
Nate Lawson
847c562d46 Add the byte offset to the base address for IndexField objects. This
fixes an interrupt storm for certain users.  This is done on the vendor
branch since the code is already in the 20031029 ACPI-CA dist and will
be imported after 5.2R.

Tested by:	sebastian ssmoller <sebastian.ssmoller@gmx.net>
PR:		i386/57909
Approved by:	re (jhb)
2003-11-21 21:21:17 +00:00
Nate Lawson
0e4c356acf Fix a bug in iasl(8) that caused it to core dump while parsing a DSDT
on ia64.  The bug is present in i386 as well but didn't show up due to
more relaxed page protections.  This fix has been submitted to the vendor.

Submitted by:	marcel
2003-11-05 20:51:25 +00:00
Nate Lawson
64e353a082 This commit was generated by cvs2svn to compensate for changes in r122137,
which included commits to RCS files with non-trunk default branches.
2003-11-05 20:51:25 +00:00
Sam Leffler
eaf6a10849 Version 0.9.5.17:
o change os glue API to be compatible with Linux so hal.o's can
  be used on any system
o add ABI version to catch driver-HAL mismatches
o move hal version information from ah_osdep.c to binary component
o remove ath_hal_wait os glue component
o assign constant values to all enums to avoid potential compiler
  incompatibilities
o add support for 3Com badged cards (PCI vendor ID)
o add support for IBM mini-pci cards (PCI device ID)
o expose MAC, PHY, and radio hardware revisions
o support for big-endian platforms
o new method to set slot time in us
o bug fix for 5211: beacon timers not setup correctly
o bug fix for 5212: don't crash when handed a 5112 radio
2003-11-01 03:19:51 +00:00
Sam Leffler
d0342231f9 This commit was generated by cvs2svn to compensate for changes in r121837,
which included commits to RCS files with non-trunk default branches.
2003-11-01 03:19:51 +00:00
Brooks Davis
9bf40ede4a Replace the if_name and if_unit members of struct ifnet with new members
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Approved By:	re (in principle)
Reviewed By:	njl, imp
Tested On:	i386, amd64, sparc64
Obtained From:	NetBSD (if_xname)
2003-10-31 18:32:15 +00:00
Nate Lawson
dc0b8f8933 Allow access to the field if it is within the region size rounded up
to a multiple of the access byte width.  This overcomes errors in the
AML often found in Toshiba laptops.  These errors were allowed by
the Microsoft ASL compiler and interpreter.  This will NOT be imported
by ACPI-CA so make the change on our local branch.  File was already off
the vendor branch.

Submitted by:	blaz
Original idea:	Rick Richardson for Linux
2003-10-22 22:30:57 +00:00
Nate Lawson
050b6a0427 Fix an overflow in the resource list code for Address16, 32, 64, and
extended irq lists.  If the resource has a trailing byte but not the full
resource string, do not attempt to parse the resource string.  This fixes
panics on transition to battery and shutdown for Larry.  Patch has been
submitted to vendor and they will incorporate in next release.

Tested by:	Larry Rosenman <ler@lerctr.org>
PR:		kern/56254
2003-09-19 19:08:55 +00:00
Nate Lawson
b5155e8fbc This commit was generated by cvs2svn to compensate for changes in r120239,
which included commits to RCS files with non-trunk default branches.
2003-09-19 19:08:55 +00:00
Warner Losh
5ccace6f2c Prefer new location of pci include files (which have only been in the
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
2003-08-22 15:28:22 +00:00
Nate Lawson
3b8fe955eb Fix a few more s/UINT32/ACPI_SIZE issues. iasl and acpidb now build on
ia64.

Tested on:	pluto2
Pointed out by:	tinderbox
2003-08-12 04:56:45 +00:00
Nate Lawson
725d623fae This commit was generated by cvs2svn to compensate for changes in r118812,
which included commits to RCS files with non-trunk default branches.
2003-08-12 04:56:45 +00:00
Nate Lawson
fcf000c13c Fix AcpiOsMapMemory to match the function definition. Don't use UINT32
as a cast for a pointer.  Change has been submitted to the vendor.

Pointed out by:		marcel, obrien
2003-08-11 05:54:31 +00:00
Nate Lawson
5f06786496 This commit was generated by cvs2svn to compensate for changes in r118765,
which included commits to RCS files with non-trunk default branches.
2003-08-11 05:54:31 +00:00
Nate Lawson
ade9d6fdcf Fix a bug that would result in a very long sleep. Change has been
submitted to the vendor.

Obtained from:	iwasaki
2003-08-07 18:19:12 +00:00
Nate Lawson
0eb1dbb16e This commit was generated by cvs2svn to compensate for changes in r118624,
which included commits to RCS files with non-trunk default branches.
2003-08-07 18:19:12 +00:00
Nate Lawson
c7fe6a7bfb Import the userland interface from acpica 0619 2003-08-07 16:59:44 +00:00
Nate Lawson
65782e561a This commit was generated by cvs2svn to compensate for changes in r118617,
which included commits to RCS files with non-trunk default branches.
2003-08-07 16:59:44 +00:00
Nate Lawson
59db4265c5 Import common/ files from acpica 0619 2003-08-07 16:38:54 +00:00
Nate Lawson
64f80a8302 This commit was generated by cvs2svn to compensate for changes in r118613,
which included commits to RCS files with non-trunk default branches.
2003-08-07 16:38:54 +00:00
Nate Lawson
53289f6a61 Import compiler/ files from acpica 0619 2003-08-07 16:38:31 +00:00
Nate Lawson
b9361fabdb This commit was generated by cvs2svn to compensate for changes in r118611,
which included commits to RCS files with non-trunk default branches.
2003-08-07 16:38:31 +00:00
Nate Lawson
22d162d7d1 Remove the user include of ctype.h and instead include it for each utility
that uses strupr().
2003-08-07 15:52:42 +00:00
Nate Lawson
7f325bba26 Comment out ctype.h. It's not ok to always include in the !_KERNEL case
since the bootblocks have their own local includes.  Sorry for breaking
world.
2003-08-07 14:17:23 +00:00