aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Unchanged files that are off the vendor branch.Nate Lawson2004-05-253-12/+24
| | | | Notes: svn path=/head/; revision=129687
* This commit was generated by cvs2svn to compensate for changes in r129684,Nate Lawson2004-05-2549-1117/+2045
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=129685
| * Vendor import of Intel ACPI-CA 20040514.Nate Lawson2004-05-2558-1192/+2201
| | | | | | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=129684
| * Only avoid disabling bus mastering on the sleep path. This should fixNate Lawson2004-04-141-13/+13
| | | | | | | | | | | | | | | | | | power off for some users. The patch has been submitted to Intel. Bug: http://bugme.osdl.org/show_bug.cgi?id=2109 Notes: svn path=/vendor-sys/acpica/dist/; revision=128245
* | This commit was generated by cvs2svn to compensate for changes in r129059,Marcel Moolenaar2004-05-0918-190/+1273
|\ \ | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=129060
| * | Update to BETA 7. Besides C++ support, which is irrelevant to us,vendor/libuwx/BETA7Marcel Moolenaar2004-05-0918-190/+1273
| | | | | | | | | | | | | | | | | | | | | | | | this version mostly has bugs fixes. Notes: svn path=/vendor-sys/libuwx/dist/; revision=129059 svn path=/vendor-sys/libuwx/BETA7/; revision=129061; tag=vendor/libuwx/BETA7
* | | Add sys/types.h for both kernel and user compiles.Nate Lawson2004-05-051-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=128978
* | | Commit three imported bugfixes from OpenBSD 3.4-stable:Daniel Hartmeier2004-05-023-19/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - change pf_get_pool() argument rule_number type from u_int32_t to u_int8_t, fixes corruption of address pools with large rulesets (mcbride@) - prevent endless loops with route-to (dhartmei@) - limit option length to 2 octets max (frantzen@) Obtained from: OpenBSD Approved by: mlaier(mentor), bms(mentor) Notes: svn path=/head/; revision=128846
* | | Remove warnings from vendor files. This takes some files off the vendorNate Lawson2004-04-144-11/+11
| | | | | | | | | | | | | | | | | | | | | branch but they have indicated they will not fix these warnings. Notes: svn path=/head/; revision=128255
* | | Even though the patch has been submitted to the vendor, this file is offNate Lawson2004-04-141-13/+13
| | | | | | | | | | | | | | | | | | | | | the vendor branch. Once more, with feeling! Notes: svn path=/head/; revision=128246
* | | Check in files with local changes:Nate Lawson2004-04-142-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. Notes: svn path=/head/; revision=128218
* | | Check in unmodified files off the vendor branch.Nate Lawson2004-04-143-29/+42
| | | | | | | | | | | | Notes: svn path=/head/; revision=128216
* | | This commit was generated by cvs2svn to compensate for changes in r128212,Nate Lawson2004-04-1432-222/+808
|\ \ \ | | |/ | |/| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=128213
| * | Import ACPI-CA 20040402 distribution.Nate Lawson2004-04-1437-259/+870
| | | | | | | | | | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=128212
* | | Add another cleanfile for future imports.Nate Lawson2004-04-141-2/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=128211
* | | Staticize <if>_clone_{create,destroy} functions.Brooks Davis2004-04-142-8/+8
| | | | | | | | | | | | | | | | | | | | | Reviewed by: mlaier Notes: svn path=/head/; revision=128209
* | | Commit import of OpenBSD-stable fix:Max Laier2004-04-111-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix by dhartmei@ and mcbride@ 1.433 Properly m_copyback() modified TCP sequence number after demodulation 1.432 Fix icmp checksum when sequence number modlation is being used. Also fix a daddr vs saddr cut-n-paste error in ICMP error handling. Fixes PR 3724 Obtained from: OpenBSD Reviewed by: dhartmei Approved by: rwatson Notes: svn path=/head/; revision=128129
* | | Remove advertising clause from University of California Regent'sWarner Losh2004-04-071-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | license, per letter dated July 22, 1999 and email from Peter Wemm, Alan Cox and Robert Watson. Approved by: core, peter, alc, rwatson Notes: svn path=/head/; revision=128019
* | | Unbreak the bootloader build by excluding ctype.h.Nate Lawson2004-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Notes: svn path=/head/; revision=127900
* | | Add #include for ctype.h to cover strupr() in the !_KERNEL case.Nate Lawson2004-04-051-0/+1
| | | | | | | | | | | | | | | | | | | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Notes: svn path=/head/; revision=127874
* | | Shut up a couple of annoying gcc warnings. Do not enclose the fixes withMax Laier2004-03-301-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #ifdefs in order to loop it back to OpenBSD after the next import. There are a some implicit asserts involved which might be better spelled out explicitly (af == AF_INET ...) Approved by: bms(mentor) Notes: svn path=/head/; revision=127629
* | | Eliminate support for FreeBSD 3.x and earlier now that we're in theWarner Losh2004-03-291-203/+0
| | | | | | | | | | | | | | | | | | | | | glide path for the 5.x branch. Notes: svn path=/head/; revision=127585
* | | Commit two fixes from OpenBSD's stable branch:Max Laier2004-03-282-6/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix binat for incoming connections when a netblock (not just a single address) is used for source in the binat rule. closes PR 3535, reported by Karl O.Pinc. ok henning@, cedric@ - Fix a problem related to empty anchor rulesets, which could cause a kernel panic. Approved by: bms(mentor) Notes: svn path=/head/; revision=127531
* | | Revert 1.22. Go back to "FreeBSD" as our _OS value. Since we now supportNate Lawson2004-03-221-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | _OSI, we can claim compatibility with MS products without claiming to BE one. :-) Notes: svn path=/head/; revision=127313
* | | Check in files off the vendor branch as well as files with local patches.Nate Lawson2004-03-184-23/+75
| | | | | | | | | | | | Notes: svn path=/head/; revision=127178
* | | This commit was generated by cvs2svn to compensate for changes in r127175,Nate Lawson2004-03-1818-103/+317
|\| | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=127176
| * | Import of Intel ACPI-CA 20040311.Nate Lawson2004-03-1822-126/+392
| | | | | | | | | | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=127175
| * | Remove these on the vendor branch as we no longer import them (and someNate Lawson2004-03-035-2897/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | were never used). CVS surgery credit: joe Notes: svn path=/vendor-sys/acpica/dist/; revision=126520
* | | Style(9) round for the pf kernel parts. Mostly #if defined() -> #ifdefMax Laier2004-03-1710-323/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=127145
* | | Convert callers to the new bus_alloc_resource_any(9) API.Nate Lawson2004-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde Notes: svn path=/head/; revision=127135
* | | Remove `$Name$' leftovers from the port version reporting.Max Laier2004-03-103-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Noticed by: Craig Rodrigues Approved by: bms(mentor) Notes: svn path=/head/; revision=126812
* | | Part 2 of Project Evil: Pretend to be Windows 2000 for buggy ASL thatNate Lawson2004-03-041-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=126577
* | | This commit was generated by cvs2svn to compensate for changes in r126520,Nate Lawson2004-03-035-2897/+0
| | | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=126521
* | | Remove __inline keyword from functions that can't be inlined according toMax Laier2004-02-292-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LINT. This fixes LINT compliation for now, but needs to be revised. Changes do not affect the objects. Approved by: bms(mentor) Notes: svn path=/head/; revision=126409
* | | Strip out new, unused file acnetbsd.hNate Lawson2004-02-281-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=126382
* | | This commit was generated by cvs2svn to compensate for changes in r126380,Nate Lawson2004-02-281-1/+1
|\| | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=126381
| * | Fix an off-by-one in the compiler path. Originally from iwasaki-san'sNate Lawson2004-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | patches for the pmtools port. This change has been submitted to Intel. Notes: svn path=/vendor-sys/acpica/dist/; revision=126380
* | | Local change: emulate a ReturnOp if the AML expects one but it isn'tNate Lawson2004-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | present. Some buggy BIOSs do not have a ReturnOp even though it is required for a function to return a value. Notes: svn path=/head/; revision=126379
* | | Local change: In the resume path, give up after waiting for a whileNate Lawson2004-02-281-32/+123
| | | | | | | | | | | | | | | | | | | | | for WAK_STS to be set. Some BIOSs never set it. Notes: svn path=/head/; revision=126378
* | | Local change: Allow access to the field if it is within the regionNate Lawson2004-02-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=126377
* | | Local change: Put various debugging options under ACPI_DISASSEMBLER.Nate Lawson2004-02-282-4/+4
| | | | | | | | | | | | Notes: svn path=/head/; revision=126376
* | | Unchanged files from ACPICA 20040220 that are off the vendor branch.Nate Lawson2004-02-2813-27/+36
| | | | | | | | | | | | Notes: svn path=/head/; revision=126375
* | | This commit was generated by cvs2svn to compensate for changes in r126372,Nate Lawson2004-02-28168-994/+1784
|\| | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=126373
| * | Vendor import of ACPICA 20040220Nate Lawson2004-02-28186-1070/+1968
| | | | | | | | | | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=126372
* | | Tweak existing header and other build infrastructure to be able to buildMax Laier2004-02-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=126263
* | | Bring diff from the security/pf port. This has code been tested as a portMax Laier2004-02-2611-50/+3205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=126261
* | | This commit was generated by cvs2svn to compensate for changes in r126258,Max Laier2004-02-2611-0/+13723
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=126259
| * | | Vendor import of OpenBSD's packet filter (pf) as of OpenBSD 3.4vendor/pf-sys/3.4Max Laier2004-02-2611-0/+13723
| / / | | | | | | | | | | | | | | | | | | | | | Approved by: bms(mentor), core (in general) Notes: svn path=/vendor-sys/pf/dist/; revision=126258 svn path=/vendor-sys/pf/3.4/; revision=126260; tag=vendor/pf-sys/3.4
* | | Device megapatch 4/6:Poul-Henning Kamp2004-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. Notes: svn path=/head/; revision=126080
* | | Change the disk(9) API in order to make device removal more robust.Poul-Henning Kamp2004-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. Notes: svn path=/head/; revision=125975