summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* create sysctl tree dynamically. it is required to shareume2005-08-111-10/+21
| | | | | | net.inet6.ip6.fw with upcomming ipfw2 improvement for IPv6. Requested by: bz
* Decouple the unrefing of a page table page from the removal of a pv entry.alc2005-08-112-48/+30
| | | | | | | In other words, change pmap_remove_entry() such that it no longer unrefs the page table page. Now, it only removes the pv entry. Reviewed by: tegge
* Document methods people use to load linux shared libraries in FreeBSDimp2005-08-101-0/+21
| | | | binaries. A very neat trick.
* Use device_printf() and if_printf() and remove dc_unit from softc.jhb2005-08-104-72/+62
|
* Use if_printf() and device_printf() and axe sf_unit from the softc as ajhb2005-08-104-42/+32
| | | | result.
* - Remove pre-new-bus code under #if 0 and some other rotted code underjhb2005-08-101-55/+2
| | | | | | | | | #if 0. - Use pci_enable_busmaster() to enable busmastering instead of frobbing the command register directly. - Don't check to see if memory or I/O can be enabled by writing to the command register. The PCI bus driver's bus_alloc_resource() method already checks this and will fail if it can't enable the bit.
* - Use if_printf() and device_printf() instead of outputting my%d:jhb2005-08-102-68/+47
| | | | | | | | everywhere. This means that my_unit is no longer used as well. The watchdog routine now also prints 'my0: ...' rather than 'm0x0: ...'. - Don't bzero the softc and don't try to free it in detach or if attach fails. - A whitespace fix.
* - Use callout_init_mtx() to close races between hme_stop() and hme_tick().jhb2005-08-101-57/+22
| | | | | | | | | | | - Use the driver lock instead of Giant in a bus dma callback. - Clear IFF_DRV_(RUNNING|OACTIVE) in hme_stop() instead of just clearing RUNNING in hme_ioctl() to be more like other ethernet drivers. - Lock the driver lock around mii operations. - Remove spls. - Cleanup locking in hme_ioctl(). MFC after: 1 week
* Don't use ic_curmode to decide when to do 11g station accounting,sam2005-08-102-5/+6
| | | | | | | | | | use the station channel properties. Fixes assert failure/bogus operation when an ap is operating in 11a and has associated stations then switches to 11g. Noticed by: Michal Mertl Reviewed by: avatar MFC after: 2 weeks
* removed RFC1885-related code. it was obsoleted by RFC2463, and theume2005-08-101-52/+0
| | | | | | | code was #ifdef'ed out for a long time. Submitted by: suz Obtained from: KAME
* Be a nice community member and honor the request for backout afterschweikh2005-08-102-73/+78
| | | | stirring the hornet's nest. This issue will be resolved by core.
* fix typo.ume2005-08-101-3/+3
| | | | | Submitted by: suz Obtained from: KAME
* Clarify/fix handling of the current channel:sam2005-08-1014-243/+339
| | | | | | | | | | | | | | | | | | | o add ic_curchan and use it uniformly for specifying the current channel instead of overloading ic->ic_bss->ni_chan (or in some drivers ic_ibss_chan) o add ieee80211_scanparams structure to encapsulate scanning-related state captured for rx frames o move rx beacon+probe response frame handling into separate routines o change beacon+probe response handling to treat the scan table more like a scan cache--look for an existing entry before adding a new one; this combined with ic_curchan use corrects handling of stations that were previously found at a different channel o move adhoc neighbor discovery by beacon+probe response frames to a new ieee80211_add_neighbor routine Reviewed by: avatar Tested by: avatar, Michal Mertl MFC after: 2 weeks
* Record an error message if there are write errors when extracting thekientzle2005-08-101-1/+4
| | | | content of an archive entry to a file descriptor.
* Minor configuration fix to disable ACL support on MacOS X (whichkientzle2005-08-102-4/+13
| | | | | | lacks ACL_USER). Thanks to: Marcus Geiger, Joe Esch, and Markus Slopianka
* Remove unused variable.cperciva2005-08-101-2/+1
| | | | Reported by: stefanf
* Move <sys/cdefs.h> up to reduce diff to NetBSD.stefanf2005-08-101-2/+2
|
* Submitted to and merged from NetBSD (rev. 1.23 and 1.24):stefanf2005-08-101-6/+7
| | | | | | - Don't delete the current line when typing `yy'. - Don't use a possibly stale pointer in cv_paste(). -
* Do not drop the vnode interlock if vdropl is called on already doomed vnode.kan2005-08-101-3/+1
| | | | | | vdropl callers expect it to return with interlock still being held. MFC after: 2 days
* supports stealth forwarding in IPv6, as well as in IPv4suz2005-08-104-1/+22
| | | | | PR: kern/54625 MFC after: 1 week
* Remove public declarations of variables that were forgotten when they wereobrien2005-08-108-11/+0
| | | | made static.
* Remove the need to forward declare statics by moving them around.obrien2005-08-102-72/+67
|
* Match IPv6 and use a static struct pr_usrreqs nousrreqs.obrien2005-08-102-3/+3
|
* Style nit.obrien2005-08-101-1/+1
|
* Add an option to tell what version of config(8) this is.obrien2005-08-102-2/+10
|
* Use the ISO standard function variable vs. a GCC'ism.obrien2005-08-106-18/+18
|
* fixed a kernel crash at the start-up time of an IPv6 multicast daemons osuz2005-08-101-0/+1
| | | | | | (e.g. pim6dd, pim6sd) MFC after: 3 days
* Style cleanup.obrien2005-08-102-28/+15
|
* Fix FBSDid style nit.obrien2005-08-101-1/+0
|
* Add proper copyright attribution.obrien2005-08-101-0/+1
|
* Remove a reference to compute_stats(), since it is no longer documented atken2005-08-101-4/+1
| | | | | | | least. Submitted by: osa MFC after: 1 week
* Don't allow pagedaemon to skip pages while scanning PQ_ACTIVE or PQ_INACTIVEtegge2005-08-102-5/+75
| | | | | | | | | | | | | | | | | | | due to the vm object being locked. When a process writes large amounts of data to a file, the vm object associated with that file can contain most of the physical pages on the machine. If the process is preempted while holding the lock on the vm object, pagedaemon would be able to move very few pages from PQ_INACTIVE to PQ_CACHE or from PQ_ACTIVE to PQ_INACTIVE, resulting in unlimited cleaning of dirty pages belonging to other vm objects. Temporarily unlock the page queues lock while locking vm objects to avoid lock order violation. Detect and handle relevant page queue changes. This change depends on both the lock portion of struct vm_object and normal struct vm_page being type stable. Reviewed by: alc
* Document kvm(3)-related error constants, and correct minor formattingrwatson2005-08-091-2/+20
| | | | nits.
* Call tulip_start() rather than tulip_ifstart() from the interrupt handlerjhb2005-08-092-2/+2
| | | | | | | to avoid recursing on the driver lock. Not sure why my test box didn't catch this earlier. MFC after: 3 days
* There's no reason to check the valence. This allows ciss to workps2005-08-092-8/+0
| | | | on the P600.
* Add helper function ip_findmoptions(), which accepts an inpcb, and attemptsrwatson2005-08-091-33/+58
| | | | | | | | | | | | | | | | | | | | | to atomically return either an existing set of IP multicast options for the PCB, or a newlly allocated set with default values. The inpcb is returned locked. This function may sleep. Call ip_moptions() to acquire a reference to a PCB's socket options, and perform the update of the options while holding the PCB lock. Release the lock before returning. Remove garbage collection of multicast options when values return to the default, as this complicates locking substantially. Most applications allocate a socket either to be multicast, or not, and don't tend to keep around sockets that have previously been used for multicast, then used for unicast. This closes a number of race conditions involving multiple threads or processes modifying the IP multicast state of a socket simultaenously. MFC after: 7 days
* Grammar improvements.murray2005-08-091-13/+9
| | | | | | PR: docs/84619 Submitted by: Gary W. Swearingen <garys@opusnet.com> MFC after: 3 days
* Fix typo.murray2005-08-091-1/+1
| | | | | | PR: docs/84660 Submitted by: Dirk Gouders <gouders@et.bocholt.fh-ge.de> MFC after: 3 days
* NetBSD merged our typo fixes, update $NetBSD$.stefanf2005-08-096-6/+6
|
* Merge a change I missed in the last commit.stefanf2005-08-091-1/+1
|
* nForce3 and nForce4 are supported as well.brueffer2005-08-091-1/+5
| | | | MFC after: 3 days
* Merge NetBSD's 1.25 which fixes a small bug introduced in 1.24.stefanf2005-08-091-1/+3
|
* Add an order between UDP inpcb locks and the IPv4 multicast addressrwatson2005-08-091-1/+2
| | | | | | | list lock, as there has been a report that an alternative lock order is getting introduced. This should help ferret it out. Reported by: Ed Maste <emaste at phaedrus dot sandvine dot ca>
* Sort the list of supported hardware.brueffer2005-08-091-6/+6
| | | | MFC after: 3 days
* For each interface flag, indicate whether or not it is owned by therwatson2005-08-091-22/+28
| | | | | | | | | | | device driver, owned by the network stack, or initialized by the device driver before attach and read-only from then on. Not all device drivers and network stack components currently follow these rules, especially with respect to IFF_UP, and a few exceptions with IFF_ALLMULTI. MFC after: 7 days
* corrected the fourth argument to ni6_addrs().ume2005-08-091-7/+4
|
* Wrap the new world order in __FreeBSD__ to ease future imports.mlaier2005-08-092-0/+14
|
* Fix a typobrian2005-08-091-1/+1
|
* Mention how to ensure that a device hasn't already been identifiedbrian2005-08-091-2/+6
|
* Fix a couple of typosbrian2005-08-091-2/+2
|
OpenPOWER on IntegriCloud