summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix ioctls on the control vnode: ioctls on a character device fail withrwatson2007-07-112-2/+2
| | | | | | | | ENOTTY. Make the control vnode a regular file so that ioctls are passed through to our kernel module. Submitted by: Jan Harkes <jaharkes@cs.cmu.edu> Approved by: re (kensmith)
* Avoid a panic in insmntque when we pass a NULL mount: this reenablesrwatson2007-07-112-14/+2
| | | | | | | | | some previously disabled code which according to the comment caused a problem during shutdown. But even that is still better than triggering a kernel panic whenever venus is started. Submitted by: Jan Harkes <jaharkes@cs.cmu.edu> Approved by: re (kensmith)
* Replace CODA_OPEN with CODA_OPEN_BY_FD: coda_open was disabled becauserwatson2007-07-1112-262/+108
| | | | | | | | | | | we can't open container files by device/inode number pair anymore. Replace the CODA_OPEN upcall with CODA_OPEN_BY_FD, where venus returns an open file descriptor for the container file. We can then grab a reference on the vnode coda_psdev.c:vc_nb_write and use this vnode for further accesses to the container file. Submitted by: Jan Harkes <jaharkes@cs.cmu.edu> Approved by: re (kensmith)
* Now that wicontrol has been removed from the base system the correspondingthompsa2007-07-112-1/+15
| | | | | | | | ioctls can be removed. These have been #ifdef'd out and left as a reference in case any of the RIDs need to be turned into sysctls at a later date. Reviewed by: sam, avatar Approved by: re (kensmith)
* Resolve Coda mount failing because Coda failed to match the devicerwatson2007-07-112-16/+8
| | | | | | | | operations. But we don't have to, if we find the coda_mntinfo structure for this device in our linked list, we know the device is good. Submitted by: Jan Harkes <jaharkes@cs.cmu.edu> Approved by: re (kensmith)
* Avoid crash when opening Coda device: when allocating coda_mntinfo, werwatson2007-07-114-14/+20
| | | | | | | | need to initialize dev so that we can actually find the allocated coda_mntinfo structure later on. Submitted by: Jan Harkes <jaharkes@cs.cmu.edu> Approved by: re (kensmith)
* Fix kbdmux(4) issue with backslash/underscore key not working onemax2007-07-111-0/+3
| | | | | | | | | Japanese 106/109 keyboard. PR: kern/112214, kern/99090 Submitted by: TOMITA Yoshinori, TAKAHASHI Yoshihiro Approved by: re (hrs) MFC after: 3 days
* Fix userland applications compilation by using correct KPI protectionattilio2007-07-111-0/+7
| | | | | | | | | macros for lock_profiling. Reported by: Tom McLaughlin <tmclaugh@sdf.lonestar.org> Tested by: Tom McLaughlin <tmclaugh@sdf.lonestar.org> Approved by: jeff (mentor) Approved by: re
* update for wpa_supplicant 0.5.8 import:sam2007-07-115-6/+48
| | | | | | | | | | | o unix domain socket to wpa_cli is configured w/ CONFIG_CTRL_IFACE_UNIX o terminate on last interface option is configured w/ CONFIG_TERMINATE_ONLASTIF o ndis/Packet32.c fixups to force roaming mode to manual o document new mixed_cell config knob Submitted by: thompsa (Packet32.c) Reviewed by: thompsa, sephe Approved by: re (hrs)
* update for 0.5.8 importsam2007-07-112-4/+16
| | | | Approved by: re (hrs)
* resolve merge conflictssam2007-07-1110-1971/+1372
| | | | | Reviewed by: thompsa, sephe Approved by: re (hrs)
* This commit was generated by cvs2svn to compensate for changes in r171366,sam2007-07-11205-9098/+48300
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of WPA supplicant 0.5.8sam2007-07-11211-9538/+49687
| |
* | This commit was generated by cvs2svn to compensate for changes in r171364,harti2007-07-111-7/+7
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Vendor patch to remove some __inline qualifiers on non-static functionsharti2007-07-111-7/+7
| | | | | | | | | | | | | | | | | | | | | because they seem to cause warnings in gcc-4.2. Submitted by: mjacob Approved by: re
* | | Protect against divide by zero while calculating bus speed due toariff2007-07-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | possible broken kernel timecounter. Reported/Tested by: silby Approved by: re (hrs) MFC after: 1 day
* | | MFp4: Make use of the kernel unit number allocation facilitydelphij2007-07-113-18/+10
| | | | | | | | | | | | | | | | | | | | | for tmpfs nodes. Submitted by: Mingyan Guo <guomingyan gmail com> Approved by: re (tmpfs blanket)
* | | Mention that BZIP2 1.0.4 was MFC'ed.delphij2007-07-111-1/+2
| | | | | | | | | | | | Approved by: re (bmah)
* | | Remove now-stale 00READ file in the Coda tree; rvb isn't the currentrwatson2007-07-111-15/+0
| | | | | | | | | | | | | | | | | | contact for the Coda kernel module in FreeBSD. Approved by: re (kensmith)
* | | - Chase for crypto_if.m -> crytpodev_if.m rename in order todelphij2007-07-111-1/+6
| | | | | | | | | | | | | | | | | | | | | fix doxygen generation. - Add some missing *_if.m files. Approved by: re (hrs)
* | | Add another SMC device.imp2007-07-111-3/+4
| | | | | | | | | | | | | | | | | | Submitted by: ken wongk at abo dot dnsalias stop org PR: 66343 Approved by: re@ (hrs)
* | | Add Micro Research PCMCIA LAN Adapter MR10TPC support. Patch slightlyimp2007-07-112-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | reworked by me. Submitted by: Osamu Hasegawa-san PR: 93393 Approved by: re (hrs)
* | | Add --no-warn-mismatch to ld(1) when linking binary files intomarcel2007-07-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ELF files. On ia64 the ELF header contains information about characteristics of the machine code and ld(1) needs that to determine whether input files are compatible for linking. To this end non-ELF files are not supported by binutils on ia64. However, the resulting ELF file seems to be correct despite the warnings and the non-supportedness of non-ELF files and it appears enough to unbreak the build of firmware(9) files on ia64 by simply supressing the warning. Ran into by: gallatin@ Approved by: re (hrs) Looks good to me: mlaier@
* | | Mark ng_h4(4) as not MPSAFE and disconnect it from the LINT build for now.emax2007-07-111-1/+1
| | | | | | | | | | | | Approved by: re (rwatson)
* | | Add additional product id and quirks entry for MetaGeek Wi-Spyimp2007-07-102-0/+5
| | | | | | | | | | | | | | | | | | Submitted by: Robert Noland PR: 114481 Approved by: re@ (blanket)
* | | Correct a problem in the ZERO_COPY_SOCKETS option, specifically, inalc2007-07-101-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vm_page_cowfault(). Initially, if vm_page_cowfault() sleeps, the given page is wired, preventing it from being recycled. However, when transmission of the page completes, the page is unwired and returned to the page queues. At that point, the page is not in any special state that prevents it from being recycled. Consequently, vm_page_cowfault() should verify that the page is still held by the same vm object before retrying the replacement of the page. Note: The containing object is, however, safe from being recycled by virtue of having a non-zero paging-in-progress count. While I'm here, add some assertions and comments. Approved by: re (rwatson) MFC After: 3 weeks
* | | Mark ng_h4(4) as not MPSAFE and disconnect it from the build for now.emax2007-07-102-2/+3
| | | | | | | | | | | | Approved by: re (rwatson)
* | | Fix commit mail retrieval when using message-id.flz2007-07-101-8/+4
| | | | | | | | | | | | | | | Submitted by: novel Approved by: re (hrs)
* | | Don't use almost perfectly pessimal cluster allocation. Allocationbde2007-07-102-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the the first cluster in a file (and, if the allocation cannot be continued contiguously, for subsequent clusters in a file) was randomized in an attempt to leave space for contiguous allocation of subsequent clusters in each file when there are multiple writers. This reduced internal fragmentation by a few percent, but it increased external fragmentation by up to a few thousand percent. Use simple sequential allocation instead. Actually maintain the fsinfo sequence index for this. The read and write of this index from/to disk still have many non-critical bugs, but we now write an index that has something to do with our allocations instead of being modified garbage. If there is no fsinfo on the disk, then we maintain the index internally and don't go near the bugs for writing it. Allocating the first free cluster gives a layout that is almost as good (better in some cases), but takes too much CPU if the FAT is large and the first free cluster is not near the beginning. The effect of this change for untar and tar of a slightly reduced copy of /usr/src on a new file system was: Before (msdosfs 4K-clusters): untar: 459.57 real untar from cached file (actually a pipe) tar: 342.50 real tar from uncached tree to /dev/zero Before (ffs2 soft updates 4K-blocks 4K-frags) untar: 39.18 real tar: 29.94 real Before (ffs2 soft updates 16K-blocks 2K-frags) untar: 31.35 real tar: 18.30 real After (msdosfs 4K-clusters): untar 54.83 real tar 16.18 real All of these times can be improved further. With multiple concurrent writers or readers (especially readers), the improvement is smaller, but I couldn't find any case where it is negative. 342 seconds for tarring up about 342 MB on a ~47MB/S partition is just hard to unimprove on. (This operation would take about 7.3 seconds with reasonably localized allocation and perfect read-ahead.) However, for active file systems, 342 seconds is closer to normal than the 16+ seconds above or the 11 seconds with other changes (best I've measured -- won easily by msdosfs!). E.g., my active /usr/src on ffs1 is quite old and fragmented, so reading to prepare for the above benchmark takes about 6 times longer than reading back the fresh copies of it. Approved by: re (kensmith)
* | | Forced commit to say that the previous changeset was:delphij2007-07-100-0/+0
| | | | | | | | | | | | | | | Submitted by: YAMAMOTO Shigeru <shigeru iij ad jp> Approved by: re (rwatson, implicit)
* | | Add sed(1) to cross tools. We do want newly built version duringdelphij2007-07-101-0/+1
| | | | | | | | | | | | | | | | | | buildworld. Approved by: re (rwatson)
* | | Further cleanup of UDPv4:rwatson2007-07-102-98/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move udp_sendspace and udp_recvspace global variables and associated sysctls to the top of the file where most other such things are present. - Rename static variable 'blackhole' to 'udp_blackhole' and unstaticize so that we can add blackhole support for UDPv6 using the same MIB variable. - Move udp_append() above udp_input() to match the function order in udp6_usrreq.c. Approved by: re (kensmith)
* | | Fixing the mount_smbfs(8) hanging by utilising the destroy_dev_sched() KPI.avatar2007-07-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relevant threads: http://lists.freebsd.org/pipermail/freebsd-current/2007-June/074329.html Reviewed by: kib, bp (slightly different version) Tested by: Yuri Pankov <yuri.pankov at gmail dot com>, Jiawei Ye <leafy7382 at gmail dot com> Approved by: re (kensmith)
* | | Get rid of a couple of Coverity found sign comparison errors.mjacob2007-07-101-3/+3
| | | | | | | | | | | | | | | Approved by: re (Ken) MFC after: 3 days
* | | Be more conservative- turn off fast posting and RIO for 22XX cards.mjacob2007-07-101-7/+2
| | | | | | | | | | | | | | | Approved by: re (ken) MFC after: 3 days
* | | MFp4 122896kmacy2007-07-103-42/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - reduce cpu usage by as much as 25% (40% -> 30) by doing txq reclaim more efficiently - use mtx_trylock when trying to grab the lock to avoid spinning during long encap loop - add per-txq reclaim task - if mbufs were successfully re-claimed try another pass - track txq overruns with sysctl Approved by: re (blanket)
* | | Cast the arguments to atomic_*_ptr() when mapping it to atomic_*_32()marcel2007-07-101-3/+8
| | | | | | | | | | | | | | | | | | This is a minimal fix. Approved by: re (kensmith)
* | | Fix alignment of context switch traces.jhb2007-07-101-1/+1
| | | | | | | | | | | | | | | MFC after: 1 week Approved by: re (rwatson: "I like simple patches.")
* | | Missed in last commit: add usb task for rue to use for its ticks.imp2007-07-091-0/+1
| | | | | | | | | | | | Approved by: re (bmah)
* | | - Add codec id for Realtek ALC268.ariff2007-07-092-18/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add controller id for Intel 82801I (ICH9). PR: kern/114399 Submitted by: Michael Fuckner <michael@fuckner.net> - MSI support. Disable by default due to various issues with too many broken hardwares. MSI can be enabled through device.hints(5) or kenv(8) by setting "hint.pcm.%d.msi=1". Partially submitted by: kevlo YAMAMOTO Taku <taku@tackymt.homeip.net> Tested by: joel, kevlo, YAMAMOTO Taku Approved by: re (hrs) MFC after: 3 days
* | | Fix stream suspend/resume activity due to its states beingariff2007-07-091-12/+27
| | | | | | | | | | | | | | | | | | clobbered by pcm channel start/stop trigger operation. Approved by: re (hrs)
* | | General style, white space, and comment cleanup; move to ANSI Crwatson2007-07-093-101/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prototypes, don't use register, etc. Synchronize structure and layout to the IPv4 versions of these functions to a greater extent, making visual comparison easier. Remove now stale or incorrect comments. Enable full lock assertions, and correct one exception handling case where the wrong label was jumped to. Tested by: bz Approved by: re (bmah)
* | | When all the other drivers were converted to scheduling a taskqueue toimp2007-07-091-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do the heavy lifting of the 'mii_tick' function, rue was left behind. Implement this in a naive way. Reports from the field show this makes the driver functional with some locking issues, as opposed to an instant panic. Those will be addressed in a later version of the driver. Approved by: re@ (bmah)
* | | update for 0.5.8 importsam2007-07-095-78/+90
| | | | | | | | | | | | Approved by: re (hrs)
* | | resolve conflictssam2007-07-096-2007/+3346
| | | | | | | | | | | | Approved by: re (hrs)
* | | 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)
OpenPOWER on IntegriCloud