summaryrefslogtreecommitdiffstats
path: root/sys/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Device megapatch 4/6:phk2004-02-212-0/+4
| | | | | | | | 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.
* Change the disk(9) API in order to make device removal more robust.phk2004-02-181-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* This commit was generated by cvs2svn to compensate for changes in r124528,njl2004-01-141-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * When creating a package element via "Store(0xXXX, Index(ArgX, 0xXXX))",njl2004-01-141-1/+1
| | | | | | | | | | | | | | | | | | 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>
* | This commit was generated by cvs2svn to compensate for changes in r124120,njl2004-01-041-1/+6
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Fix for "UtAllocate: Attempt to allocate zero bytes" warnings on Dellnjl2004-01-041-1/+6
| | | | | | | | | | | | | | | | 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)
* | Changes to the import script to handle the compiler/debugger import.njl2003-12-091-4/+13
| |
* | This commit was generated by cvs2svn to compensate for changes in r123331,njl2003-12-091-1/+1
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Fix an off-by-one in the compiler path. Originally from iwasaki-san'snjl2003-12-091-1/+1
| | | | | | | | patches for the pmtools port.
* | This commit was generated by cvs2svn to compensate for changes in r123329,njl2003-12-091-1/+0
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Eliminate a warning. Patch has been sent to the vendor.njl2003-12-091-1/+0
| |
* | This commit was generated by cvs2svn to compensate for changes in r123327,njl2003-12-091-1/+9
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Add the APIC_HEADER definition back in and use the correct definitionnjl2003-12-091-1/+9
| | | | | | | | | | for local APIC override (64 bits). Changes have been submitted to the vendor.
* | Unchanged files that are off the vendor branch.njl2003-12-093-6/+16
| |
* | Local change: In the resume path, give up after waiting for a whilenjl2003-12-091-0/+11
| | | | | | | | for WAK_STS to be set. Some BIOSs never set it.
* | Import for 20031203 file off vendor branch.njl2003-12-091-40/+72
| |
* | Local change: emulate a ReturnOp if the AML expects one but it isn'tnjl2003-12-091-23/+30
| | | | | | | | | | present. Some buggy BIOSs do not have a ReturnOp even though it is required for a function to return a value.
* | Local change: Allow access to the field if it is within the regionnjl2003-12-091-135/+174
| | | | | | | | | | | | 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.
* | Local change: Put various debugging options under ACPI_DISASSEMBLER.njl2003-12-091-13/+14
| |
* | Unchanged files that are off the vendor branch.njl2003-12-095-34/+129
| |
* | This commit was generated by cvs2svn to compensate for changes in r123315,njl2003-12-0988-962/+1525
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import ACPI-CA 20031203njl2003-12-09100-1199/+1951
| |
| * Remove files on the vendor branch that we no longer use. Some are no longernjl2003-12-091-869/+0
| | | | | | | | | | distributed with ACPI-CA. Note that all of these have been gone from HEAD since 20030228.
* | This commit was generated by cvs2svn to compensate for changes in r123202,sam2003-12-073-2011/+2011
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Version 0.9.6.3:sam2003-12-073-2011/+2011
| | | | | | | | | | | | | | | o relax analog radio hardware revision checking for 5212 cards so newer revs are allowed to attach
* | | Use parens more reasionably so we match the vendor code. This is partbrooks2003-12-021-2/+2
| | | | | | | | | | | | | | | | | | | | | of the if_xname change. Submitted by: darrenr Approved by: re (scottl)
* | | This commit was generated by cvs2svn to compensate for changes in r123041,sam2003-11-293-3167/+3429
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Version 0.9.6.1:sam2003-11-293-3167/+3429
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | Commit rev 1.1.1.20 to HEAD. This file was off the vendor branch and thusnjl2003-11-221-9/+19
| | | | | | | | | | | | | | | | | | the changes need to be made to HEAD. Approved by: re (previously)
* | | This commit was generated by cvs2svn to compensate for changes in r122945,njl2003-11-212-25/+45
|\ \ \ | | |/ | |/| | | | which included commits to RCS files with non-trunk default branches.
| * | Update code for checking the reference count and performing the finalnjl2003-11-212-25/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Add the byte offset to the base address for IndexField objects. Thisnjl2003-11-211-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | This commit was generated by cvs2svn to compensate for changes in r122208,harti2003-11-071-2/+2
|\ \ \ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Re-import of the original NgATM file version 0.91harti2003-11-071-2/+2
| | | |
* | | | These two files are generated with the ../genfiles script and areharti2003-11-072-0/+707
| | | | | | | | | | | | | | | | not part of the imported distribution.
* | | | This commit was generated by cvs2svn to compensate for changes in r122205,harti2003-11-0714-0/+10928
|\ \ \ \ | |/ / / | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Virgin import of signaling layer of NgATM shared kernel/user part 0.91harti2003-11-0714-0/+10928
| | | |
* | | | This commit was generated by cvs2svn to compensate for changes in r122137,njl2003-11-051-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Fix a bug in iasl(8) that caused it to core dump while parsing a DSDTnjl2003-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Explain how to handle the generated files. Explain that the importharti2003-11-031-2/+14
| | | | | | | | | | | | | | | | must actually be done into the netnatm sub-directory.
* | | | These files are generated by the genfiles script. See FREEBSD-upgradeharti2003-11-034-0/+6258
| | | | | | | | | | | | | | | | for instructions how to upgrade these.
* | | | This commit was generated by cvs2svn to compensate for changes in r121934,harti2003-11-0320-0/+11628
|\ \ \ \ | | |/ / | |/| | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Virgin import of NgATM shared kernel/user part 0.91harti2003-11-0320-0/+11628
| | | |
* | | | This commit was generated by cvs2svn to compensate for changes in r121837,sam2003-11-016-3310/+3401
|\ \ \ \ | | |_|/ | |/| | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Version 0.9.5.17:sam2003-11-016-3310/+3401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-314-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | This commit was generated by cvs2svn to compensate for changes in r121642,marcel2003-10-2929-572/+773
|\ \ \ \ | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | | Import beta6 of libuwx. This release has some minor fixes andmarcel2003-10-2929-572/+773
| | | | | | | | | | | | | | | | | | | | some minor corrections to beta5.
* | | | | Allow access to the field if it is within the region size rounded upnjl2003-10-221-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Some upgrade instructions.harti2003-10-221-0/+14
| | | | |
OpenPOWER on IntegriCloud