summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Forced commit. Previous revision was insteadru2008-02-040-0/+0
| | | | Submitted by: Vadim Goncharov
* Improve rev. 1.63. Document -instance and -globalport options.ru2008-02-041-1/+160
| | | | | | | | | Add a MULTIPLE INSTANCES section which provides an example of setting up natd in multi-instance mode (based on the notes.natd file from phk@). Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru> Reviewed by: ru
* After careful consideration (and a brief discussion with attilio@), changedes2008-02-042-3/+3
| | | | | | | | | the semantics of pthread_mutex_islocked_np() to return true if and only if the mutex is held by the current thread. Obviously, change the regression test to match. MFC after: 2 weeks
* Further clean up sorflush:rwatson2008-02-043-14/+14
| | | | | | | | | | | | | | - Expose sbrelease_internal(), a variant of sbrelease() with no expectations about the validity of locks in the socket buffer. - Use sbrelease_internel() in sorflush(), and as a result avoid intializing and destroying a socket buffer lock for the temporary stack copy of the actual buffer, asb. - Add a comment indicating why we do what we do, and remove an XXX since things have gotten less ugly in sorflush() lately. This makes socket close cleaner, and possibly also marginally faster. MFC after: 3 weeks
* - Make geom commands handle multiple library paths in the GEOM_LIBRARY_PATHlulf2008-02-041-11/+31
| | | | | | | environment variable using ':' as a separator. Approved by: pjd (mentor) MFC after: 3 days
* Fix collation order for accented characters.dds2008-02-041-10/+10
| | | | MFC after: 2 weeks
* Fix incorrect handling of malloc failuresmatteo2008-02-042-2/+8
| | | | | PR: bin/83369 MFC after: 1 week
* Fix mount -p and mount -u -ocurrent on gjournaled FSmatteo2008-02-041-1/+0
| | | | | | PR: bin/120162 Submitted by: Niki Denev MFC after: 1 week
* Allocate a stack for thread0 and switch to it before callingmarcel2008-02-043-21/+34
| | | | | mi_startup(). This frees up kstack for static PAL/SAL calls and double-fault handling.
* Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex isdes2008-02-033-0/+32
| | | | | | | locked. This is intended primarily to support the userland equivalent of the various *_ASSERT_LOCKED() macros we have in the kernel. MFC after: 2 weeks
* Add a regression test for pthread_mutex_islocked_np().des2008-02-032-0/+85
| | | | MFC after: 2 weeks
* Remove incomplete support of AI_ALL and AI_V4MAPPED.ume2008-02-031-21/+0
| | | | Reported by: "Heiko Wundram (Beenic)" <wundram__at__beenic.net>
* Move all possible node logic out of the rcvdata() functionmav2008-02-031-96/+90
| | | | | to the newhook()/disconnect(). Unify function names with other nodes.
* correct tx rate displayed by list sta: the reported legacy tx ratesam2008-02-031-4/+7
| | | | | | is still an index into the rate set and not (yet) the rate code Noticed by: JoaoBR
* fix list mac; broken in delta 1.48sam2008-02-031-3/+7
| | | | Noticed by: JoaoBR
* Add -P <port> option to allow binding to a specific port.matteo2008-02-032-3/+61
| | | | | | PR: bin/109494 Submitted by: mtm MFC after: 1 week
* Fix printing of unionfs mounts when using the -p optionmatteo2008-02-031-2/+8
| | | | | PR: bin/75585 MFC after: 1 week
* Remove an empty line that crept into the previous commit.brueffer2008-02-031-1/+0
|
* MLINK hptrr(4) to rr232x(4).brueffer2008-02-031-0/+3
| | | | Requested by: scottl
* Update the hptiop man page for the new driver.scottl2008-02-031-6/+29
|
* Update the hptiop driver to version 1.3. This adds support for the 4xxxscottl2008-02-032-531/+1519
| | | | | | | series of adapters. Thanks again to Highpoint for their continued support of FreeBSD. Submitted by: Highpoint Technologies
* Give sendfile(2) a SF_SYNC flag which makes it wait until all mbufsphk2008-02-033-2/+57
| | | | | | | | referencing the files VM pages are returned from the network stack, making changes to the file safe. This flag does not guarantee that the data has been transmitted to the other end.
* - Correctly handle ALTQ in ieee80211_deliver_data()sephe2008-02-031-2/+6
| | | | | | | - Add comment from sam that ALTQ probably does not work well with WME PR: kern/119548 Approved by: sam (mentor)
* Various bug fixes for 2560 parts of ral(4):sephe2008-02-033-37/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename rt2560_read_eeprom to rt2560_read_config, we already have rt2560_eeprom_read - If hardware gives us wrong encryption done index, shout out loudly and terminate the processing loop - Process encryption done if RX done bit is set in interrupt status register (according to Ralink Linux driver) - Turn VALID/BUSY bits in TX descriptor only after TX descriptor is fully setup - Fix BBP read: RT2560_BBPCSR can't be written until its RT2560_BBP_BUSY bit is off (according to Ralink Linux driver) - Skip invalid (0 of 0xffff) BBP register/value entries stored in EEPROM - Fix channel TX power location in EEPROM, if channel TX power is above 31 set it to 24 (TX power only has 5bits in RF register, "24" is according to Ralink Linux driver) - Configure BBP according to the BBP register/value stored in EEPROM, restore BBP17 (RX sensitivity tuning) to default value after this. - Set TX/RX antenna after BBP is initialized; these two operation will try to set BBP registers - Reconfigure ACK TX time registers according to 802.11g standard (TX @36Mb, other side's ACK should be sent @24Mb). - 2560 parts have two TX ring: one for management/control packets, one for data packets. Add private OACTIVE flag for each of them. Turn on IFF_DRV_OACTIVE if one of private OACTIVE is on; turn off IFF_DRV_OACTIVE iff all of them are off. - Rework watchdog to mimic old if_watchdog action. Process TX done/encryption done in watchdog function (according to Ralink Linux driver) Obtained from: DragonFly Approved by: sam (mentor) Tested by: sam Related to PR: kern/117655 # Forcing long slot time setting is not included in this commit, comment and # related code is in place, so if problem pops up, quick tests could be done.
* Normally, when a header file is removed from the build (as i4b headersdes2008-02-033-3/+10
| | | | | | | | | | | | | | | | | | | | were recently), a simple 'make cleandepend; make depend' is sufficient to keep the tree buildable after a cvs update when doing incremental builds. However, kdump and truss use a script which searches for header files that define ioctls, and generates C code that includes them. This script will usually not need updating when a header file is removed, so the normal dependency mechanism will not realize that it needs to be re-run. One is therefore left with code that references dead files but will only be removed by a full 'make clean', which defeats the purpose of incremental builds. To work around this, modify the cleandepend target in bsd.dep.mk to also remove any files listed in a new variable named CLEANDEPFILES, and modify kdump's and truss's Makefiles accordingly. MFC after: 2 weeks
* These are files are shell scripts; give smart editors a chance to figuredes2008-02-032-8/+12
| | | | | | it out by adding the usual shebang. MFC after: 2 weeks
* Revert previous commit.mav2008-02-031-4/+8
| | | | glebius@ noticed that it was not a bug, but undocumented feature.
* Don't build the rr232x module, it has been removed.brueffer2008-02-031-3/+0
| | | | Approved by: rwatson (mentor)
* The rr232x driver has been removed, kill it here as well.brueffer2008-02-032-3/+0
|
* Remove the rr232x manual page.scottl2008-02-032-98/+0
|
* Remove the rr232x driver. It has been superceded by the hptrr driver.scottl2008-02-0323-13127/+0
|
* Correct a typo.jkoshy2008-02-031-1/+1
|
* Eliminate xargs in favor of find -exec {} +des2008-02-031-2/+1
|
* Add a few more CPUID feature bits while here. We don't support thesedas2008-02-022-2/+4
| | | | features yet.
* SSE4 CPUID bitsdas2008-02-022-3/+6
|
* Add comment that bpfread() has multi-threading issues.rwatson2008-02-021-1/+4
| | | | Fix minor white space nit.
* pc98 lint builds w/o warnings. Remove the last special case from ourimp2008-02-021-2/+0
| | | | | | compiler upgrade. # if tinderbox breaks, I'll fix it, but it shouldn't...
* This commit was generated by cvs2svn to compensate for changes in r175898,obrien2008-02-029-202/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Fix some bugs in dealing with DCMD'd without data. MegaCli was sendingambrisko2008-02-022-58/+94
| | | | | | | | | down some DCMD's without any data. Thanks to Dell and LSI for helping to provide clues to figure out this problem. Now MegaCli can upgrade the firmware and should work identical when run on Linux. Reviewed by: scottl, LSI MFC after: 1 day
* Arm should build fine with -Werror as well.cognet2008-02-021-1/+1
|
* sun4v has a MACHINE_ARCH of sparc64, so it was covered under that clause andimp2008-02-021-1/+1
| | | | shouldn't have been added. Remove it.
* Rather than passing around a cached 'priv', pass in an ucred tobz2008-02-025-59/+30
| | | | | | | | ipsec*_set_policy and do the privilege check only if needed. Try to assimilate both ip*_ctloutput code blocks calling ipsec*_set_policy. Reviewed by: rwatson
* Rewrite to consume significantly less memory, by using find -s instead ofdes2008-02-021-16/+11
| | | | | | | | | | | | | find | sort. As a bonus, this simplifies the logic considerably. Also remove the bogus "overruning the args to ls" comment and the corresponding "-n 20" argument to xargs; the whole point with xargs is precisely that it knows how large the argument list can safely get. Note that the first run of the updated script may hypotheticall produce false positives due to differences between find's and sort's sorting algorithm. I haven't seen this during testing, but others might. MFC after: 2 weeks
* Fix one more grammo.marck2008-02-021-1/+1
| | | | Noticed by: ru
* Some platforms that are currently under development have to cope withimp2008-02-021-2/+4
| | | | | | | | a variety of bootloaders. This sometimes means that different loader scripts are required within one ${MACHINE_ARCH}, which makes the current practice of using ldscript.${MACHINE_ARCH} unsuitable. Instead, make the default the current convention and allow the ld scripts to be overridden as necessary.
* Wall of shame rather than wall of fame for the -Werror suppression.imp2008-02-021-3/+1
| | | | | | | If we aren't arm, pc98 or sun4v, then enable treating warnings like errors. That doesn't mean these platforms aren't -Werror clean, just that we haven't enforced it before. Someone with some spare time should investigate these three platforms to see if any can be removed.
* This commit was generated by cvs2svn to compensate for changes in r175882,obrien2008-02-021-0/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix nit in version 4.23 in which -p does not work (thus updating accessobrien2008-02-021-0/+2
| | | | | | | | | | | | | | | | times when it shouldn't). The PR's patch has been incorporated upstream as magic.c rev 1.46. PR: 107676 Submitted by: Dr. Markus Waldeck <waldeck@gmx.de>
* | add opaque pointer to tx ampdu state for driverssam2008-02-021-0/+1
| | | | | | | | MFC after: 3 days
* | When the state of the interface changes rapidly enough (usually due tobrooks2008-02-011-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | rapid wireless association changes in my experience), there is a race where dhclient is in the process of exiting due to the link going down when the link coming up causes devd to try and start a new one. This results is the link being up, but no dhclient running. Work around this race by checking a second time after a one second delay before refusing to start a dhclient instance due to one already being running. MFC after: 1 week
OpenPOWER on IntegriCloud