summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | This commit was generated by cvs2svn to compensate for changes in r171322,sam2007-07-09151-4299/+28919
|\ \ \ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Import of hostapd 0.5.8sam2007-07-09159-6309/+32275
| | | |
* | | | fixup mcast handling in bpf program; this enables forthcoming supportsam2007-07-091-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | for 802.1x over wired interfaces Submitted by: Jouke Witteveen Approved by: re (hrs)
* | | | New release notes: sed(1) case-insensitive matching, setenv(3)bmah2007-07-091-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API change. Modified release notes: Clarify architectures for nfe(4) note and mention that it replaces nve(4) in i386/amd64 GENERIC [1]. Suggested by: Michael Plass [1] Approved by: re (implicitly)
* | | | updates for 802.11-related parameterssam2007-07-091-10/+198
| | | | | | | | | | | | | | | | | | | | Reviewed by: thompsa Approved by: re (hrs)
* | | | Fix duplicates that crept in at the last minute :-(.imp2007-07-091-2/+1
| | | | | | | | | | | | | | | | | | | | Noticed by: Ian Freislich Approved by: re@ (blanket)
* | | | Fix a regression in IPv4 multicast join path (IP_ADD_MEMBERSHIP).bms2007-07-091-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the in_mcast.c code, if an interface for an IPv4 multicast join was not specified, and a route did not exist for the specified group in the unicast forwarding tables, the join would be rejected with the error EADDRNOTAVAIL. This change restores the old behaviour whereby if no interface is specified, and no route exists for the group destination, the IPv4 address list is walked to find a non-loopback, multicast-capable interface to satisfy the join request. This should resolve problems with starting multicast services during system boot or when a default forwarding entry does not exist. Approved by: re (rwatson)
* | | | Correct a reference-counting mistake in the ZFS code which led to abnormaldfr2007-07-094-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | memory usage and pessimal cache performance. Reviewed by: pjd Approved by: re (rwatson)
* | | | document the call to wakeup after a task has been run...jmg2007-07-091-0/+6
| | | | | | | | | | | | | | | | | | | | Approved by: re (hrs) MFC after: 3 days
* | | | Further diff reduction against the proposed merged usbdevs: Add a fewimp2007-07-091-21/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more vendors, use slightly more standardized names. No md5 chagnes for !USBVERBOSE kernels Approved by: re@ (blanket)
* | | | More vendors from the merged list.imp2007-07-091-10/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort NETGEAR list per convention. Swap QUALCOMM and QUALCOMM2. Add a few vendor products. no md5 changes with this file (except when USBVERBOSE is enabled) Approved by: re@ (blanket)
* | | | dma_tag is a static structure. Testing for it being a NULL pointermarcel2007-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't make sense. Rewrite to what was intended. Correctly warned about by: GCC Approved by: re (bmah)
* | | | Fix typo.yongari2007-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | Reported by: Danny Braniss <danny at cs dot huji dot ac dot il> Approved by: re (bmah)
* | | | Eliminate the special case handling of OBJT_DEVICE objects inalc2007-07-081-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vm_fault_additional_pages() that was introduced in revision 1.47. Then as now, it is unnecessary because dev_pager_haspage() returns zero for both the number of pages to read ahead and read behind, producing the same exact behavior by vm_fault_additional_pages() as the special case handling. Approved by: re (rwatson)
* | | | NULL_LDT_BASE is used in !SMP kernels too and set_user_ldt() is notattilio2007-07-081-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | properly called. Address these two issues. Reported by: Tinderbox Tested by: le Approved by: jeff (mentor) Approved by: re
* | | | MFp4:delphij2007-07-084-67/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Plug memory leak. - Respect underlying vnode's properties rather than assuming that the user want root:wheel + 0755. Useful for using tmpfs(5) for /tmp. - Use roundup2 and howmany macros instead of rolling our own version. - Try to fix fsx -W -R foo case. - Instead of blindly zeroing a page, determine whether we need a pagein order to prevent data corruption. - Fix several bugs reported by Coverity. Submitted by: Mingyan Guo <guomingyan gmail com>, Howard Su, delphij Coverity ID: CID 2550, 2551, 2552, 2557 Approved by: re (tmpfs blanket)
* | | | Fix a bug of retrieving configuration ROM.simokawa2007-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Handle directories and leaves other than unit directories and text leaves correctly. - Now we can retrieve CROM of iSight correctly. Approved by: re (hrs) Tested by: flz MFC after: 3 days
* | | | Now that we have a function that can be called from a cdevsw close()njl2007-07-071-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | entry point, use it. Approved by: re
* | | | Actual code shows several problems in ia32 LDT handling:attilio2007-07-072-34/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When a LDT entry changes, the old one is freed while it is still referenced by gdt and ldtr. This can lead to disruptive behaviours in particular on SMP machines. - When a LDT entry changes, it is assumed that the only one entity sharing the same LDT are threads in the same proc. It doesn't take in account edge cases where two processes share the same VM (rfork'ed ones, for example). This patch addresses these two problems and addictionally it fixes the usage of refcount switching back it to the old manually-grown refcount (since in this case would be faster). Diagnosed by: tegge Tested by: pho (a former version) Reviewed by: kib Approved by: jeff (mentor) Approved by: re
* | | | Fix installworld: /usr/bin/printf isn't available then,kientzle2007-07-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | so use awk's printf for the formatting here instead. Pointy hat: Yours Truly Approved by: re
* | | | Minor UDPv4 cleanup: capitalize comment, move statistics update after mbufrwatson2007-07-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | free to be consistent with other error handling, and release socket buffer lock before freeing mbufs and statistics updates rather than after. Approved by: re (kensmith)
* | | | When a cached page is reactivated in vm_fault(), update the counter thatalc2007-07-061-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tracks the total number of reactivated pages. (We have not been counting reactivations by vm_fault() since revision 1.46.) Correct a comment in vm_fault_additional_pages(). Approved by: re (kensmith) MFC after: 1 week
* | | | Trivial differences with the proposed merged BSD usbdevs file mergedimp2007-07-061-95/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in. These are exclusively in the name of the company for this round. No new devices have been added, but the MITEL entry has been eliminated because nothing uses it. You won't see any difference unless you have USBVERBOSE defined for the kernel. Approved by: re@ (blanket)
* | | | uhub already does the printing and naming of a device, so don't do itimp2007-07-061-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | again here for compat drivers. Approved by: re@ (blanket)
* | | | Add a test case for sed(1) regression - we should not ignore casedelphij2007-07-062-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | when not being asked to do so. Approved by: re (hrs)
* | | | Before doing compile_re() which needs a parameter to identifydelphij2007-07-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | whether we should ignore case, determine the flag by calling compile_flags() first. Also, make sure that we obtain an initialized cmd->u.s buffer before processing further. We may want to refine this solution later, but for now, make the changes in order to unbreak world build after a sed(1) with rev. 1.29 of compile.c is installed. Approved by: re (hrs)
* | | | Forced commit to document a cast correction needed to getkientzle2007-07-060-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | clean compiles using either old or new API. I should have just committed this one-line fix separately. Apologies. Approved by: re (Ken Smith)
* | | | Make test suite work with libarchive 1.3.1: Take advantage ofkientzle2007-07-0617-25/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARCHIVE_VERSION_STAMP to selectively disable tests that don't apply to that version; new "skipping()" function reports skipped tests; modify final summary to report component test failures and skips. Note: I don't currently intend to MFC the test suite itself; anyone interested should just checkout and use this version of the test suite, which should work for any library version. Approved by: re (Ken Smith, blanket)
* | | | New "version stamp" simplifies determining the exact versionkientzle2007-07-064-23/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of libarchive being used. I've been taking advantage of this with a recent round of updates to libarchive_test so that it can test older and newer versions of the library. Approved by: re (Ken Smith)
* | | | Fix a typo that prevented the quad symbols from being exporteddeischen2007-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (s/SYM_MAP/SYM_MAPS/). Reported by: kan Approved by: re@ (Ken Smith)
* | | | Fix some problems with lock_profiling in sx locks:attilio2007-07-063-23/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adjust lock_profiling stubs semantic in the hard functions in order to be more accurate and trustable - Disable shared paths for lock_profiling. Actually, lock_profiling has a subtle race which makes results caming from shared paths not completely trustable. A macro stub (LOCK_PROFILING_SHARED) can be actually used for re-enabling this paths, but is currently intended for developing use only. - Use homogeneous names for automatic variables in hard functions regarding lock_profiling - Style fixes - Add a CTASSERT for some flags building Discussed with: kmacy, kris Approved by: jeff (mentor) Approved by: re
* | | | I4B header files were repo-copied from sys/i386/include/ tobz2007-07-066-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/i4b/include/ so they will be available to all architectures once I4B compiles on those. We no longer need these "glue" files. Reminded by: nyan Approved by: re (kensmith)
* | | | Bump version after repo-copy of I4B headers.bz2007-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The headers will now be installed to include/i4b/ and no longer to include/machine/. Approved by: re (kensmith)
* | | | I4B header files are now installed in include/i4b/ and no longer livebz2007-07-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | in include/machine/. Approved by: re (kensmith)
* | | | I4B header files were repo-copied from sys/i386/include/ tobz2007-07-066-1433/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/i4b/include/ so they will be available to all architectures once I4B compiles on those. Approved by: re (kensmith)
* | | | I4B header files are now installed in include/i4b/ and no longerbz2007-07-0619-34/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in include/machine/. Adapt #include paths. Approved by: re (kensmith)
* | | | I4B header files were repo-copied from sys/i386/include tobz2007-07-062-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/i4b/include/ so they will be available to all architectures once I4B compiles on those. I4B header files are now installed in include/i4b/ and no longer in include/machine/. For now we still install the headers for i386 only. Approved by: re (kensmith)
* | | | I4B header files were repo-copied from sys/i386/include/ tobz2007-07-0684-195/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/i4b/include/ so they will be available to all architectures once I4B compiles on those. Adapt #include paths. Approved by: re (kensmith)
* | | | Belately note default driver change for NVIDIA network adapters.yongari2007-07-061-0/+5
| | | | | | | | | | | | | | | | | | | | Requested by: Michael Plass < mfp49_freebsd at plass-family dot net> Approved by: re (hrs)
* | | | Take care that the input to setenv() may actually be a pointer straightscf2007-07-061-14/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from environ; make a copy before manipulating it and passing it to setenv(). Approved by: wes Approved by: re (kensmith)
* | | | I did not intend to turn -Werror on for pc98. Refine the test forpeter2007-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | turning it on for i386. Approved by: re (rwatson, followup)
* | | | Turn on -Werror for sparc64 and sun4v.peter2007-07-061-1/+2
| | | | | | | | | | | | | | | | Approved by: re (rwatson)
* | | | Fix warnings.peter2007-07-062-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nxge: cast page size fragments down to (int). If the vm's demand paging PAGE_SIZE is ever too big for that, we've got far bigger problems. ofw: move va_start() a little earlier. gcc-4.2 doesn't like us modifying the last arg before the va_start(). Approved by: re (rwatson)
* | | | Fix warning - add missing #includepeter2007-07-061-0/+1
| | | | | | | | | | | | | | | | | | | | Submitted by: mjacob Approved by: re (rwatson)
* | | | re(4) devices requires an external EEPROM. Depending on models ityongari2007-07-062-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | would be 93C46(1Kbit) or 93C56(2Kbit). One of differences between them is number of address lines required to access the EEPROM. For example, 93C56 EEPROM needs 8 address lines to read/write data. If 93C56 recevied premature end of required number of serial clock(CLK) to set OP code/address of EEPROM, the result would be unexpected behavior. Previously it tried to detect 93C46, which requires 6 address lines, and then assumed it would be 93C56 if read data was not expected value. However, this approach didn't work in some models/situations as 93C56 requries 8 address lines to access its data. In order to fix it, change EEPROM probing order such that 93C56 is detected reliably. While I'm here change hard-coded address line numbers with defined constant to enhance readability. PR: 112710 Approved by: re (mux)
* | | | Forced commit to note a repo-copy of this file frombz2007-07-050-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | src/sys/i386/include/ so it will be available to all architectures once I4B compiles on those. Approved by: re (kensmith)
* | | | Fix remaining syntax errors (missing semicolons)peter2007-07-051-2/+2
| | | | | | | | | | | | | | | | | | | | Submitted by: Björn König <bkoenig@cs.tu-berlin.de> Approved by: re (kensmith, followup commits)
* | | | Space cleanupdelphij2007-07-0524-163/+163
| | | | | | | | | | | | | | | | Approved by: re (rwatson)
* | | | ANSIfy[1] plus some style cleanup nearby.delphij2007-07-0527-800/+384
| | | | | | | | | | | | | | | | | | | | | | | | Discussed with: gnn, rwatson Submitted by: Karl Sj?dahl - dunceor <dunceor gmail com> [1] Approved by: re (rwatson)
* | | | Added comments eplaining the requirement for device crypto with IPSECgnn2007-07-051-3/+5
| | | | | | | | | | | | | | | | Approved by: re
OpenPOWER on IntegriCloud