summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove IEEE80211_C_WPA from capabilities flags. WPA support is not fullydamien2005-08-201-2/+1
| | | | | | implemented in ipw. MFC after: 1 week
* Export adapter's internal statistics sysctl even if IPW_DEBUG is not defined.damien2005-08-201-6/+0
| | | | MFC after: 1 week
* Export adapter's internal statistics sysctl even if IWI_DEBUG is not defined.damien2005-08-201-6/+0
| | | | MFC after: 1 week
* Don't automatically start scanning in if_init() if IEEE80211_ROAMING_MANUALdamien2005-08-203-12/+18
| | | | | | flag is set. MFC after: 1 week
* Remove a stale occurrence of 'alpha' in a comment.stefanf2005-08-201-1/+1
|
* Properly un-giant-trick the cdevsw in fini_cdevsw()phk2005-08-201-3/+7
| | | | Tripped over by: Huang wen hui <huang@gddsn.org.cn>
* Add a __packed keyword to g_eli_metadata struct definition, sopjd2005-08-201-1/+1
| | | | | | | | | | | sizeof(struct g_eli_metadata) will return the exact number of bytes needed for storing it on the disk. Without this change GELI was unusable on amd64 (and probably other 64-bit archs), because sizeof(struct g_eli_metadata) was greater than 512 bytes and geli(8) was failing on assertion. Reported by: Michael Reifenberger <mike@Reifenberger.com> MFC after: 3 days
* Do not place paragraph information post-macro unless required by mdoc(7).trhodes2005-08-201-2/+2
|
* - Correctly parse output, when logging amount is limited in theglebius2005-08-201-7/+15
| | | | | | | | | | rule itself, not in verbose_limit sysctl. [1] - Do check rules, even if verbose_limit is set 0. Rules may have their own log limits. PR: conf/77929 Submitted by: Andriy Gapon [1] Reviewed by: matteo
* Fix the "unexpected operator" bug some people are seeing.netchild2005-08-201-2/+2
| | | | First noticed by: kris
* Remove reference to raid(4), the RAIDframe manual page, which wassimon2005-08-201-1/+0
| | | | | | | | deleted a while ago. PR: docs/85142 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> MFC after: 3 days
* Bail if interface is misspelled instead of falling out into theru2005-08-201-0/+2
| | | | | "all interfaces" mode. (Only works with -w, but still better than nothing.)
* Include <sys/types.h> and <limits.h> ourselves, don't assume they are includedstefanf2005-08-205-0/+5
| | | | | | | | | | through <pthread.h>. gen/sem.c: Prerequisite for <_semaphore.h> net/getprotoent.c: USHRT_MAX net/getservent.c: USHRT_MAX stdio/ungetwc.c: MB_LEN_MAX stdio/vfwscanf.c: MB_LEN_MAX
* Add missing brackets.davidxu2005-08-191-1/+1
| | | | Noticed by: stefanf@
* Allow to change number of iterations for PKCS#5v2. It can only be usedpjd2005-08-193-25/+85
| | | | | | when there is only one key set. MFC after: 3 days
* - Add a missing period.pjd2005-08-191-3/+3
| | | | | | - Fix number of spaces. MFC after: 3 days
* Move function for calculating number of bits into more central place.pjd2005-08-193-6/+14
| | | | | | I want to use it so more. MFC after: 3 days
* Avoid code duplication and implement bitcount32() function in systm.h only.pjd2005-08-195-113/+55
| | | | | Reviewed by: cperciva MFC after: 3 days
* - Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution.stefanf2005-08-199-17/+13
| | | | | | - Remove the macros MUTEX_TYPE_FAST and MUTEX_TYPE_COUNTING_FAST. OK'ed by: deischen
* -- storage engineer on the virtues of FC-ALwilko2005-08-191-1/+6
|
* Move the "yiddish cooking has killed more jews than Hitler" quote backmurray2005-08-192-3/+3
| | | | | | | | | to the offensive file. The other Hitler quotes/references stay in the unoffensive file, as they offer more historical perspective than this one. Approved by: core
* Fix a LOR between sched_lock and sleep queue lock.davidxu2005-08-192-7/+8
|
* Update man page to reflect the fact that VOP_LISTEXTATTRrodrigc2005-08-191-5/+7
| | | | | | | | | | does not return a list of ASCII NUL terminated strings. Instead, a list of attribute names is returned, where each list entry consists of one byte for the name length, followed by the name, without a terminating ASCII NUL. This in similar to change 1.17 to extattr_get_file.2 Reviewed by: rwatson, ru
* Move up code for testing KEF_HOLD to avoid ke_cpu being changed unexpectlydavidxu2005-08-191-8/+8
| | | | for PRI_ITHD and PRI_REALTIME threads.
* Sync code with the error report: calloc(number, 1) is equivalent topjd2005-08-191-1/+1
| | | | malloc(number).
* Remove parameter names, the identifiers were in the user namespace.stefanf2005-08-191-5/+3
|
* Correct a performance bug in revision 1.462. The effect of the bug is toalc2005-08-191-14/+7
| | | | | | | execute the outer loop in procedures such as pmap_protect() many more times than necessary. Reviewed by: tegge
* Forced commit to note that the preceeding commit also makes it possiblecperciva2005-08-190-0/+0
| | | | | | to override the BRANCH specified in newvers.sh via a BRANCH_OVERRIDE environment variable. This is useful for my FreeBSD Update builds, and might possibly be useful for someone else at some point.
* Pad the strings sccs[], version[], and osrelease[] up to a minimum ofcperciva2005-08-191-3/+10
| | | | | | | | 128 bytes, 256 bytes, and 32 bytes respectively. This makes it much easier to identify when two kernels are identical apart from a version number bump (as often happens on security branches). Discussed on: freebsd-arch, in May 2005
* Correct typos found by ispell.murray2005-08-192-2/+2
|
* Add missing braces around bpf_filter which were missed when Icsjp2005-08-181-2/+4
| | | | | | | | merged the bpfstat code. Pointed out by: iedowse Pointy hat to: csjp MFC after: 3 days
* Add a new switch -h for interface stats mode, which prints all interfaceglebius2005-08-184-10/+29
| | | | | | | statistics in human readable form. In collaboration with: vsevolod Reviewed by: cperciva
* Mark the callouts as MPSAFE as if_bridge has been giant-free since day 1.thompsa2005-08-182-8/+9
| | | | | | | Use the SMP friendly callout_init_mtx() while we are here. Approved by: mlaier (mentor) MFC after: 3 days
* Refer to the OpenBSD dhclient instead of the ISC dhclient.brooks2005-08-181-3/+7
| | | | | Reported by: Bob Johnson <bob89 at eng dot ufl dot edu> PR: 84963
* Various fixups to locking:jhb2005-08-182-49/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | - Remove a lot of superfluous locking during attach. There is no need to lock access to the driver until some other thread has a way of getting to it. For ethernet drivers the other ways include registering an interrupt handler via bus_setup_intr(), calling ether_ifattach() to hook into the network stack, and kicking off a callout-driven timer via callout_reset(). - Use callout_* rather than timeout/untimeout. - Break out of xl_rxeof() if IFF_DRV_RUNNING is clear after ifp->if_input returns to handle the case where the interface was stopped while we were passing a packet up the stack. Don't call xl_rxeof() in xl_rxeof_task() unless IFF_DRV_RUNNING is set. With these fixes in place, any outstanding task will gracefully terminate as soon as it gets a chance to run after the interface has been stopped via xl_stop(). As a result, taskqueue_drain() is no longer required in xl_stop(). The task is still drained in detach() however to make sure that detach() can safely destroy the driver mutex at the end of the function. - Lock the driver lock in the ifmedia callouts and don't lock across ifmedia_ioctl() in xl_ioctl(). Note: glebius came up with most of (3) as well independently. I took a rather roundabout way of arriving at the same conclusion. MFC after: 3 days
* Be more specific about supported chipsets.joel2005-08-183-6/+48
| | | | Approved by: brueffer (mentor)
* Fixup locking and mark MPSAFE:jhb2005-08-182-140/+154
| | | | | | | | | | | | | - Add locked versions of start and init. The SRM_MEDIA code in dc_init() stayed in dc_init() instead of moving to dc_init_locked() to make the locking saner. - Use callout_init_mtx(). - Fixup locking in detach and ioctl. - Lock the driver in the ifmedia callouts. - Don't recurse on the driver lock. - De-spl. MFC after: 3 days
* New release notes: snd_t4dwave(4) manual page added.joel2005-08-182-2/+6
| | | | Approved by: brueffer (mentor)
* This commit was generated by cvs2svn to compensate for changes in r149245,dougb2005-08-181-2/+4
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Update the vendor branch with a patch to this file that wasdougb2005-08-181-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | researched by glebius, and incorporated by ISC into the next version of BIND. Unfortunately, it looks like their release will come after the release of FreeBSD 6, so we will bring this in now. The patch addresses a problem with high-load resolvers which hit memory barriers. Without this patch, running the resolving name server out of memory would lead to "unpredictable results." Of course, the canonical answer to this problem is to put more memory into the system, however that is not always possible, and the code should be able to handle this situation gracefully in any case.
| * Remove files from the vendor branch that were [re]moved in 9.3.1dougb2005-03-1726-16519/+0
| |
* | When we started calling if_findindex() from if_alloc() with an emptybrooks2005-08-181-56/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | struct ifnet most of if_findindex() become a complex no-op. Remove it and replace it with a corrected version of the four line for loop it devolved to plus some error handling. This should probably be replaced with subr_unit at some point. Switch from checking ifaddr_byindex to ifnet_byindex when looking for empty indexes. Since we're doing this from if_alloc/if_free, we can only be sure that ifnet_byindex will be correct. This fixes panics when loading the ef(4) module. The panics were caused by the fact that if_alloc was called four time before if_attach was called and thus ifaddr_byindex was not set and the same unit was allocated again. This in turn caused the first if_attach to fail because the ifp was not the one in ifnet_byindex(ifp->if_index). Reported by: "Wojciech A. Koszek" <dunstan at freebsd dot czest dot pl> PR: kern/84987 MFC After: 1 day
* | (forced)sobomax2005-08-180-0/+0
| | | | | | | | | | | | Previous commit was related to kern/85005, not a kern/80005. Pointed out by: jhb
* | Fixup locking for sf(4) and mark MPSAFE:jhb2005-08-184-106/+166
| | | | | | | | | | | | | | | | | | | | | | | | - Add locked variants of start, init, and ifmedia_upd. - Use callout_* instead of timeout/untimeout. - Don't recurse on the driver lock. - Fixup locking in ioctl. - Lock the driver lock in the ifmedia handlers rather than across ifmedia_ioctl(). Tested by: brueffer MFC after: 3 days
* | - don't forget to save freqency when priority is raised.ume2005-08-181-3/+2
| | | | | | | | - nuke redundant variable initialization.
* | don't forget to update curr_priority. even when frequency isume2005-08-181-0/+1
| | | | | | | | not changed, priority may be changed.
* | Change the modem description of the previous commit to something that iskeramida2005-08-181-2/+1
| | | | | | | | | | | | | | more likely to match the product name, as seen by the user on product listings. Suggested by: blackend, brueffer
* | Define the target for opt_compat.h only if KERNBUILDDIRyar2005-08-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is not defined, so that the module will get the compatibility options from the current kernel configuration if built with the latter, not with the world. [Some other modules seem in need of fixing WRT this, too.] Add more compatibility options found in GENERIC to the default opt_compat.h. While not all of them are used in the procfs code, we can't tell for sure if the system .h files don't need them either, so let's stay on the safe side. Submitted by: kensmith Reviewed by: ru
* | Add aliases for atomic operations on 64-bit integers just like otherjhb2005-08-181-0/+20
| | | | | | | | | | | | 64-bit platforms. MFC after: 1 week
* | In re_shutdown() mark interface as down since otherwise we will panic ifsobomax2005-08-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | interrupt comes in later on, which can happen in some uncommon cases. Another possible fix is to call re_detach() instead of re_stop(), like ve(4) does, but I am not sure if the latter is really RTTD, so that stick with this one-liner for now. PR: kern/80005 Approved by: silence on -arch, no reply from selected network gurus
OpenPOWER on IntegriCloud