Sam Leffler
c01f36ef0c
avoid sneaky double free
...
Noticed by: Coverity Prevent analysis tool
Reviewed by: scottl
2005-02-25 00:16:53 +00:00
Matthew N. Dodd
1f005b6723
- Split out PCI support.
...
- Add previously removed ISA support.
Submitted by: David S. Madole <david AT madole.net>
2005-02-03 23:01:01 +00:00
Nate Lawson
edd973a013
Clean up a small memory leak introduced with the previous commit to
...
dsutils.c. We need to GC the implicitly-returned object.
Submitted by: Robert.Moore at Intel
MFC after: 1 day
2005-01-14 06:37:43 +00:00
Nate Lawson
d26e4b9a02
This commit was generated by cvs2svn to compensate for changes in r140216,
...
which included commits to RCS files with non-trunk default branches.
2005-01-14 06:37:43 +00:00
Nate Lawson
4802655124
Fix handling of the implicit return case for methods called from an
...
external source (i.e., _STA). The previous case only handled calls
occurring within AML. This should fix Toshibas, among others. Thanks
to Robert Moore of Intel for the fix.
MFC after: 2 days
2005-01-12 00:52:40 +00:00
Nate Lawson
6023610d63
This commit was generated by cvs2svn to compensate for changes in r140094,
...
which included commits to RCS files with non-trunk default branches.
2005-01-12 00:52:40 +00:00
Sam Leffler
8c489f7420
clear old files now in public
2004-12-08 18:27:44 +00:00
Sam Leffler
7a4700cda9
resolve merge conflict
2004-12-08 18:18:39 +00:00
Sam Leffler
31801f0d36
Version 0.9.14.12:
...
[Changes listed only since last public release 0.9.12.14; for changes
prior to that consult the CVS logs at http://madwifi.sourceforge.net ]
o reorg directory structure to have a single set of public binary builds
shared by all systems
o support for new parts (all shipping pci/cardbus parts to this date work)
o new capabilities for identifying various chip features
o set/get tx power cap for supporting 802.11h information element
o revised api for set/get tx queue properties
o support for updating CTS in frames when doing packet bursting
o support for querying which tx queues have pending interrupts
2004-12-08 18:06:09 +00:00
Sam Leffler
230d5663fc
This commit was generated by cvs2svn to compensate for changes in r138583,
...
which included commits to RCS files with non-trunk default branches.
2004-12-08 18:06:09 +00:00
Mark Santcroos
697831d611
Oops, remove unnecessary cast in original, out-commented code.
...
This was a debug leftover.
MFC after: 1 week
2004-12-02 00:12:19 +00:00
Mark Santcroos
cdb35b24fe
This commit was generated by cvs2svn to compensate for changes in r138298,
...
which included commits to RCS files with non-trunk default branches.
2004-12-02 00:12:19 +00:00
Mark Santcroos
f42941d3ec
Local change: Supporting code not yet available, use previous behavior
...
instead for the time being. Intel should fix this.
Note that if this commit is correct, it is made on the vendor branch.
We expect the Intel folks to fix it, and we don't want to unnecessarily
take files off the vendor branch.
Approved by: njl
MFC after: 1 week
2004-12-02 00:05:02 +00:00
Mark Santcroos
cc50c2376d
This commit was generated by cvs2svn to compensate for changes in r138296,
...
which included commits to RCS files with non-trunk default branches.
2004-12-02 00:05:02 +00:00
Mark Santcroos
3e5f2bd199
Local change: Remove warnings from vendor files.
...
Approved by: njl
MFC after: 1 week
2004-12-01 23:42:21 +00:00
Mark Santcroos
0f190207e6
Local change: In the resume path, give up after waiting for a while
...
for WAK_STS to be set. Some BIOSs never set it.
Approved by: njl
MFC after: 1 week
2004-12-01 23:40:48 +00:00
Mark Santcroos
40047a89b4
Local change: Put various debugging options under ACPI_DISASSEMBLER.
...
Approved by: njl
MFC after: 1 week
2004-12-01 23:39:45 +00:00
Mark Santcroos
8baa584183
Unchanged files that are off the vendor branch.
...
Approved by: njl
MFC after: 1 week
2004-12-01 23:34:39 +00:00
Mark Santcroos
c846686064
Vendor import of Intel ACPI-CA 20041119
2004-12-01 23:14:10 +00:00
Mark Santcroos
3a36dacc92
This commit was generated by cvs2svn to compensate for changes in r138287,
...
which included commits to RCS files with non-trunk default branches.
2004-12-01 23:14:10 +00:00
Scott Long
7d9aed9c4c
Fix some warnings that only triggered in LINT.
2004-10-24 09:23:07 +00:00
Scott Long
f01be89133
Embed the correct name.
2004-10-24 08:48:32 +00:00
Scott Long
1713e81b9c
Import the HighPoint RocketRAID 182x driver. Thanks to HighPoint for
...
providing the original driver, and thanks to IronSystems for providing
hardware for testing.
2004-10-24 05:37:23 +00:00
Nate Lawson
aaff1d4cfa
Add a padding member to the header overlaid on data allocated in the
...
ACPI_DEBUG case. Without this, use of allocated memory is unaligned and
causes a trap on ia64. Intel may fix this differently in a subsequent
release but this is adequate for now.
Submitted by: marcel
MFC after: 2 days
2004-08-18 05:41:21 +00:00
Nate Lawson
ca36a5dc0d
This commit was generated by cvs2svn to compensate for changes in r133931,
...
which included commits to RCS files with non-trunk default branches.
2004-08-18 05:41:21 +00:00
Robert Watson
9baf5f2da1
Since if_oltr doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-14 00:19:07 +00:00
Poul-Henning Kamp
3f4324df4d
Send the fla driver in the Attic
2004-07-13 17:44:17 +00:00
Mark Santcroos
bde5ba82c2
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-07-02 08:38:55 +00:00
Mark Santcroos
2e8f631a0d
Local diff: allow use of the disassembler.
2004-07-02 08:37:56 +00:00
Mark Santcroos
727fde6f33
Unchanged files that are off the vendor branch.
2004-07-02 08:34:19 +00:00
Mark Santcroos
671d52d8aa
Vendor import of Intel ACPI-CA 20040527
2004-07-02 08:14:36 +00:00
Mark Santcroos
648474d5f4
This commit was generated by cvs2svn to compensate for changes in r131440,
...
which included commits to RCS files with non-trunk default branches.
2004-07-02 08:14:36 +00:00
Poul-Henning Kamp
cb5cb48675
Add missing <sys/module.h> include.
...
Approved by: sam
2004-06-18 08:53:55 +00:00
Poul-Henning Kamp
89c9c53da0
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
Poul-Henning Kamp
77409fe148
Add missing #include <sys/module.h>
2004-05-30 20:34:58 +00:00
Nate Lawson
0d224e7f88
Remove a warning of a constant that is too large. Change submitted to
...
vendor.
2004-05-25 03:06:37 +00:00
Nate Lawson
a86c577a6d
This commit was generated by cvs2svn to compensate for changes in r129694,
...
which included commits to RCS files with non-trunk default branches.
2004-05-25 03:06:37 +00:00
Nate Lawson
275c8028ab
Local change: allow usermode to compile this header. Submitted to vendor.
2004-05-25 02:41:49 +00:00
Nate Lawson
0c3e6e7452
Local change: don't hang forever if WAK_STS is never set.
2004-05-25 02:41:19 +00:00
Nate Lawson
c2c6addc68
Local change: remove warnings.
2004-05-25 02:40:48 +00:00
Nate Lawson
4ace1857d7
Local diff: allow use of the disassembler.
2004-05-25 02:39:46 +00:00
Nate Lawson
6c57d4e8fb
Unchanged files that are off the vendor branch.
2004-05-25 02:39:01 +00:00
Nate Lawson
a5a81f7c89
Vendor import of Intel ACPI-CA 20040514.
2004-05-25 02:34:44 +00:00
Nate Lawson
d57f8354ca
This commit was generated by cvs2svn to compensate for changes in r129684,
...
which included commits to RCS files with non-trunk default branches.
2004-05-25 02:34:44 +00:00
Nate Lawson
c3bac8b5d5
Add sys/types.h for both kernel and user compiles.
2004-05-05 20:02:02 +00:00
Nate Lawson
eccb3e0e14
Remove warnings from vendor files. This takes some files off the vendor
...
branch but they have indicated they will not fix these warnings.
2004-04-14 18:12:29 +00:00
Nate Lawson
95ee367419
Even though the patch has been submitted to the vendor, this file is off
...
the vendor branch. Once more, with feeling!
2004-04-14 16:52:19 +00:00
Nate Lawson
5391902bdf
Only avoid disabling bus mastering on the sleep path. This should fix
...
power off for some users. The patch has been submitted to Intel.
Bug: http://bugme.osdl.org/show_bug.cgi?id=2109
2004-04-14 16:50:32 +00:00
Nate Lawson
aa87b3ef75
Check in files with local changes:
...
* In the resume path, give up after waiting for a while
for WAK_STS to be set. Some BIOSs never set it.
* 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-04-14 02:17:00 +00:00
Nate Lawson
ea905c360c
Check in unmodified files off the vendor branch.
2004-04-14 02:14:51 +00:00
Nate Lawson
e0ef747b89
Import ACPI-CA 20040402 distribution.
2004-04-14 02:10:27 +00:00
Nate Lawson
630c18309b
This commit was generated by cvs2svn to compensate for changes in r128212,
...
which included commits to RCS files with non-trunk default branches.
2004-04-14 02:10:27 +00:00
Nate Lawson
ba551b7d6b
Add another cleanfile for future imports.
2004-04-14 02:03:33 +00:00
Nate Lawson
b3d0ea94b1
Unbreak the bootloader build by excluding ctype.h.
...
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
2004-04-05 17:30:15 +00:00
Nate Lawson
66f8ce8f20
Add #include for ctype.h to cover strupr() in the !_KERNEL case.
...
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
2004-04-05 04:03:09 +00:00
Warner Losh
3666cedd6b
Eliminate support for FreeBSD 3.x and earlier now that we're in the
...
glide path for the 5.x branch.
2004-03-29 21:10:05 +00:00
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
731de42fc8
Import of Intel ACPI-CA 20040311.
2004-03-18 17:42:14 +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
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
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
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
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
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
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
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
Nate Lawson
ad173a0cbe
Add includes to fix user-compilation of acpica. Also clarify a comment
...
about overriding the OS name.
2003-08-07 04:46:17 +00:00
Bruce Evans
ded45a40b0
Broke the warning that this driver uses pessimal (u_short) types for
...
i/o ports by calling the implementation-detail level below inb() and
outb() instead of inb() and outb(). Unpessimizing the types is too
hard since they are mainly used in microcode.
2003-08-06 10:52:16 +00:00
Sam Leffler
8ff991ff7d
Version 0.9.5.2:
...
o correct BSSID setup in ah_writeAssocid for 5211 and 5212 (fixes
reception of broadcast frames after association)
o correct transmit retry counts returned by 5211 in ah_procTxDesc
o add missing regulatory domain support that caused use of 11b channels to be
disallowed with some cards (e.g. mini-pci cards in certain IBM laptops)
o miscellaneous fixes to regulatory domain support
o increase size of 5212 ANI table to avoid overflow
o add monitor mode
o remove OS_QSORT support
o fix handling of HAL_RXDESC_INTREQ in ah_setupRxDesc
o rewrite 5212 descriptor handling for portability
o FreeBSD: track alq_open API change
2003-08-02 05:48:03 +00:00
Sam Leffler
4ef03bf0e3
This commit was generated by cvs2svn to compensate for changes in r118339,
...
which included commits to RCS files with non-trunk default branches.
2003-08-02 05:48:03 +00:00
Peter Wemm
3718a191eb
Make this compile on 64 bit systems again. You cannot just cast a 32 bit
...
int to a 64 bit pointer. This file is already off the vendor branch.
2003-07-28 10:25:26 +00:00
Nate Lawson
8a7e9ab4b7
Fix the ACPI_DEBUG build for the non-module case. Move the #define into
...
acfreebsd.h and remove it from the Makefile. Now ACPI_DEBUG implies
ACPI_DISASSEMBLER.
Noticed by: marcel
2003-07-15 19:18:41 +00:00
Nate Lawson
4bad3a1025
Remove a multiply-defined function. The change has been submitted to the
...
vendor.
2003-07-14 02:58:00 +00:00
Nate Lawson
726c457a48
This commit was generated by cvs2svn to compensate for changes in r117535,
...
which included commits to RCS files with non-trunk default branches.
2003-07-14 02:58:00 +00:00
Nate Lawson
0078ca95f5
Fix handling of _BST in the new dist.
...
Submitted by: kochi@netbsd.org
2003-07-13 22:52:51 +00:00
Nate Lawson
377a65490a
This commit was generated by cvs2svn to compensate for changes in r117527,
...
which included commits to RCS files with non-trunk default branches.
2003-07-13 22:52:51 +00:00
Nate Lawson
1fd6e80f3e
Patch for global lock error messages that the vendor will import eventually.
...
Originally committed as 1.1.1.17
2003-07-13 22:50:30 +00:00
Nate Lawson
767fb63125
This commit was generated by cvs2svn to compensate for changes in r117525,
...
which included commits to RCS files with non-trunk default branches.
2003-07-13 22:50:30 +00:00
Nate Lawson
a4ae793658
Commit local patches for files off the vendor branch.
2003-07-13 22:47:01 +00:00
Nate Lawson
4f42014b1c
Unmodified files from the vendor 0619 dist that should no longer be off the
...
vendor branch.
2003-07-13 22:45:34 +00:00
Nate Lawson
4146e46ceb
ACPICA import from the 0619 dist.
2003-07-13 22:44:13 +00:00
Nate Lawson
5303348047
This commit was generated by cvs2svn to compensate for changes in r117521,
...
which included commits to RCS files with non-trunk default branches.
2003-07-13 22:44:13 +00:00
Sam Leffler
d9d1087cff
Initial import of Atheros Hardware Access Layer (HAL)
2003-06-25 06:06:52 +00:00
Sam Leffler
92b901ac4d
This commit was generated by cvs2svn to compensate for changes in r116801,
...
which included commits to RCS files with non-trunk default branches.
2003-06-25 06:06:52 +00:00
Nate Lawson
f47e25c34e
Fix a bug in register access. This should fix warning messages of:
...
ACPI-0340: *** Error: Could not release ACPI Global Lock, AE_BAD_PARAMETER
Submitted by: jhb
2003-06-23 17:38:38 +00:00
Nate Lawson
121053bff9
This commit was generated by cvs2svn to compensate for changes in r116748,
...
which included commits to RCS files with non-trunk default branches.
2003-06-23 17:38:38 +00:00
Nate Lawson
d0e9cc3b3a
Revert to using TABLE_ID_DSDT as the default. It looks like the dynamic
...
ID allocation is not there yet. This fixes a few warnings about \_OS_ not
being found and an S3 freeze for one user.
Re-staticize AcpiNsRemoveReference() since it is not needed elsewhere.
Approved by: re (scottl)
2003-05-28 17:32:31 +00:00
Nate Lawson
2ce0a0b9ec
This commit was generated by cvs2svn to compensate for changes in r115367,
...
which included commits to RCS files with non-trunk default branches.
2003-05-28 17:32:31 +00:00
Nate Lawson
006b3ddb51
Fix false AE_NOT_FOUND messages, reported in NetBSD port-i386/20897.
...
NetBSD dsmethod.c rev 1.7
Fix parent-child loop problem
Fix a reference count problem that may cause unexpected memory free
Intel 20030512 ACPICA drop (nsalloc.c)
Approved by: re (jhb)
Obtained from: NetBSD, Intel
Reported by: mbr, kochi AT netbsd.org
2003-05-27 19:19:05 +00:00
Nate Lawson
480170d0b4
This commit was generated by cvs2svn to compensate for changes in r115351,
...
which included commits to RCS files with non-trunk default branches.
2003-05-27 19:19:05 +00:00
Warner Losh
0f78c17f6f
Fix halt -p. I've done this with an import because kochi-san reports
...
this is fixed in a newer version of ACPICA and I don't want to take
this off the vendor branch for a trivial reason. This patch was
applied to NetBSD by kochi-san, who also posted the patch to
acpi-jp@jp.freebsd.org .
# My Dell Inspiron 8000 now powers off!
Submitted by: takayoshi kochi-san kochi at netbsd dot org
2003-05-03 17:16:40 +00:00
Warner Losh
d2d8d8cf9d
This commit was generated by cvs2svn to compensate for changes in r114584,
...
which included commits to RCS files with non-trunk default branches.
2003-05-03 17:16:40 +00:00
John Baldwin
e0f7366574
Restore local changes accidentally lost in the last import.
...
Reviewed by: njl
2003-05-01 20:40:03 +00:00
Nate Lawson
adfda8d3b3
Resolve conflicts.
2003-04-29 19:11:00 +00:00
Nate Lawson
f6c1dddac5
Updated import-preparation script. It now removes vendor paths from header
...
info. With these changes, no manual prep of the dist was necessary.
2003-04-29 18:48:17 +00:00
Nate Lawson
b1684d35da
Resolve conflicts
2003-04-29 18:46:31 +00:00
Nate Lawson
d0a7944aac
Import of Intel ACPI 20030228 vendor distribution
2003-04-29 18:39:30 +00:00
Nate Lawson
94c7fa9ffd
This commit was generated by cvs2svn to compensate for changes in r114239,
...
which included commits to RCS files with non-trunk default branches.
2003-04-29 18:39:30 +00:00
Nate Lawson
17b7010ddc
Import of Intel ACPI 20030228 vendor distribution
2003-04-29 18:39:29 +00:00
Nate Lawson
77c1b96631
This commit was generated by cvs2svn to compensate for changes in r114237,
...
which included commits to RCS files with non-trunk default branches.
2003-04-29 18:39:29 +00:00
Poul-Henning Kamp
891619a66d
Use bioq_flush() to drain a bio queue with a specific error code.
...
Retain the mistake of not updating the devstat API for now.
Spell bioq_disksort() consistently with the remaining bioq_*().
#include <geom/geom_disk.h> where this is more appropriate.
2003-04-01 15:06:26 +00:00
Poul-Henning Kamp
b4b138c27f
Including <sys/stdint.h> is (almost?) universally only to be able to use
...
%j in printfs, so put a newsted include in <sys/systm.h> where the printf
prototype lives and save everybody else the trouble.
2003-03-18 08:45:25 +00:00
Matthew N. Dodd
2d6bcb381e
Catch up with recent infrastructure changes.
2003-03-16 00:24:18 +00:00
Matthew N. Dodd
669404e48e
Register module dependencies.
2003-03-15 23:26:41 +00:00
Matthew N. Dodd
c8fa3105ce
G/C unused varilable.
2003-03-15 23:21:32 +00:00
Matthew N. Dodd
326231bc52
Catch up with recent changes.
2003-03-15 23:20:10 +00:00
Poul-Henning Kamp
60794e0478
Centralize the devstat handling for all GEOM disk device drivers
...
in geom_disk.c.
As a side effect this makes a lot of #include <sys/devicestat.h>
lines not needed and some biofinish() calls can be reduced to
biodone() again.
2003-03-08 08:01:31 +00:00
Poul-Henning Kamp
d0083ea9ce
NO_GEOM cleanup:
...
Move to "struct disk *" centric use of disk_* API.
Remove NOOP ioctl, spl*() and some debug printfs.
2003-02-22 09:32:57 +00:00
Warner Losh
a163d034fa
Back out M_* changes, per decision of the TRB.
...
Approved by: trb
2003-02-19 05:47:46 +00:00
Poul-Henning Kamp
eb3543e4cc
Mark our struct disk with DISKFLAG_CANDELETE instead of the cdevsw with
...
D_CANFREE.
2003-02-11 12:35:01 +00:00
Alfred Perlstein
8deebb0160
Consolidate MIN/MAX macros into one place (param.h).
...
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
2003-02-02 13:17:30 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Mitsuru IWASAKI
21b5fd3cfd
Resolve conflicts arising from the ACPI CA 20021118 import.
2002-11-27 18:09:20 +00:00
Mitsuru IWASAKI
716b1ee2b9
Vendor import of the Intel ACPI CA 20021118 drop.
...
Approved by: re
2002-11-27 18:07:48 +00:00
Mitsuru IWASAKI
360aac4e22
This commit was generated by cvs2svn to compensate for changes in r107325,
...
which included commits to RCS files with non-trunk default branches.
2002-11-27 18:07:48 +00:00
Sam Leffler
6fc32a2495
network interface and link layer changes:
...
o on input don't strip the Ethernet header from packets
o input packet handling is now done with if_input
o track changes to ether_ifattach/ether_ifdetach API
o track changes to bpf tapping
o call ether_ioctl for default handling of ioctl's
o use constants from net/ethernet.h where possible
Reviewed by: many
Approved by: re
2002-11-15 00:00:15 +00:00
Mitsuru IWASAKI
17341d1011
Resolve conflicts arising from the ACPI CA 20021002 import.
2002-10-04 20:09:19 +00:00
Mitsuru IWASAKI
07a5b5c0b6
Vendor import of the Intel ACPI CA 20021002 drop.
2002-10-04 20:07:58 +00:00
Mitsuru IWASAKI
2bff3f6b33
This commit was generated by cvs2svn to compensate for changes in r104470,
...
which included commits to RCS files with non-trunk default branches.
2002-10-04 20:07:58 +00:00
Poul-Henning Kamp
7812d86f03
(This commit touches about 15 disk device drivers in a very consistent
...
and predictable way, and I apologize if I have gotten it wrong anywhere,
getting prior review on a patch like this is not feasible, considering
the number of people involved and hardware availability etc.)
If struct disklabel is the messenger: kill the messenger.
Inside struct disk we had a struct disklabel which disk drivers used to
communicate certain metrics to the disklayer above (GEOM or the disk
mini-layer). This commit changes this communication to use four
explicit fields instead.
Amongst the benefits is that the fields do not get overwritten by
wrong or bogus on-disk disklabels.
Once that is clear, <sys/disk.h> which is included in the drivers
no longer need to pull <sys/disklabel.h> and <sys/diskslice.h> in,
the few places that needs them, have gotten explicit #includes for
them.
The disklabel inside struct disk is now only for internal use in
the disk mini-layer, so instead of embedding it, we malloc it as
we need it.
This concludes (modulus any mistakes) the series of disklabel related
commits.
I belive it all amounts to a NOP for all the rest of you :-)
Sponsored by: DARPA & NAI Labs.
2002-09-20 19:36:05 +00:00
Poul-Henning Kamp
78bc4b68cc
Don't call dkunit() to find our unit number, it is in our softc.
...
Sponsored by: DARPA & NAI Labs.
2002-09-20 16:26:12 +00:00
Mitsuru IWASAKI
c4d2c0a1de
Fix kernel build breakage when ACPI_DEBUG option is specified.
2002-08-29 08:31:06 +00:00
Mitsuru IWASAKI
d62ab2f4a1
Resolve conflicts arising from the ACPI CA 20020815 import.
2002-08-29 01:52:27 +00:00
Mitsuru IWASAKI
2d12e67c7d
Vendor import of the Intel ACPI CA 20020815 drop.
2002-08-29 01:51:24 +00:00
Mitsuru IWASAKI
b7a95606db
This commit was generated by cvs2svn to compensate for changes in r102550,
...
which included commits to RCS files with non-trunk default branches.
2002-08-29 01:51:24 +00:00
Mitsuru IWASAKI
173ff9844f
Prepare for importing newer version of ACPI CA.
2002-08-22 15:21:15 +00:00
Mitsuru IWASAKI
b69ed3f4c6
Resolve conflicts arising from the ACPI CA 20020725 import.
2002-07-30 19:35:32 +00:00
Mitsuru IWASAKI
da9df8d45e
Vendor import of the Intel ACPI CA 20020725 drop.
2002-07-30 19:33:39 +00:00
Mitsuru IWASAKI
432a633569
This commit was generated by cvs2svn to compensate for changes in r100966,
...
which included commits to RCS files with non-trunk default branches.
2002-07-30 19:33:39 +00:00
Mitsuru IWASAKI
98479b041b
Resolve conflicts arising from the ACPI CA 20020611 import.
2002-07-09 17:54:02 +00:00
Mitsuru IWASAKI
7174287062
Vendor import of the Intel ACPI CA 20020611 drop.
2002-07-09 17:51:31 +00:00
Mitsuru IWASAKI
155ce7bfa3
This commit was generated by cvs2svn to compensate for changes in r99679,
...
which included commits to RCS files with non-trunk default branches.
2002-07-09 17:51:31 +00:00
Mitsuru IWASAKI
74fc979a09
Resolve conflicts arising from the ACPI CA 20020404 import.
2002-06-30 17:53:12 +00:00
Mitsuru IWASAKI
3f12fee6bc
Vendor import of the Intel ACPI CA 200200404 drop.
2002-06-30 17:50:46 +00:00
Mitsuru IWASAKI
733e46c474
This commit was generated by cvs2svn to compensate for changes in r99146,
...
which included commits to RCS files with non-trunk default branches.
2002-06-30 17:50:46 +00:00
Mitsuru IWASAKI
0305323763
- Add sanity check for argument.
...
- Add new entry to stripdirs. The `generate' directory appeared in
acpica-unix-20020517.
2002-06-12 14:55:19 +00:00
Alfred Perlstein
205c9d4c30
fix blockno printf formatting warnings.
2002-03-19 20:46:30 +00:00
Doug Rabson
789327f183
Remove a couple of stray linuxisms to make this work for FreeBSD/ia64.
2002-03-18 10:16:57 +00:00
Mike Smith
fd87aacdcc
Merge local changes for the 20020308 ACPI CA update.
2002-03-16 02:23:30 +00:00