summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Try to create some sort of consistency in how the routings to find theobrien2003-11-1331-370/+349
| | | | | | | multicast hash are written. There are still two distinct algorithms used, and there actually isn't any reason each driver should have its own copy of this function as they could all share one copy of it (if it grew an additional argument).
* Add cross reference to the em(4) driver, which also supports the NICssimon2003-11-131-0/+1
| | | | supported by the gx(4) driver.
* It is obivous this started out as a copy of a Bill Paul driver so he hasobrien2003-11-131-0/+30
| | | | | a copyright on this driver as well. Bill uses a 4-clause BSDL, so we need to add a complete copy of Bill's copyright.
* Make this WARNS=2 clean byjohan2003-11-132-2/+1
| | | | | | | | - constifying copyright PR: 39867 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe
* Make this WARNS=2 clean byjohan2003-11-133-8/+10
| | | | | | | | | | - #include <timeconv.h> for _time_to_time32 et al - use (uintmax_t) and %j - remove unused variable 'j' (from PR 39866) PR: 39866 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe
* Whitespace.jhb2003-11-132-10/+10
|
* Document CVS_CLIENT_PORT.obrien2003-11-131-0/+7
|
* Add a few more devices from the hardware notes.simon2003-11-131-0/+12
|
* Fix a typo.jhb2003-11-132-2/+2
|
* - Add Linksys EG1032 and SMC 9452TX to the list of supported devices.simon2003-11-131-1/+5
| | | | - Sort the device list.
* - make command line argument parsing POSIX compliant. comment fromume2003-11-132-182/+281
| | | | | | | | | | | | | deraadt NOTE: -I needs to take an arg (there's no way we can take no arg/an arg with a single option) - sscanf overrun - no variable name on prototype. - u_int32_t may not be u_long. - skipped non-host route when printing neighbor cache entries. - valid and preferred lifetimes are unsigned. - wording. Obtained from: KAME
* Make the defines that prevent multiple includes look like theharti2003-11-133-6/+6
| | | | others in netgraph.
* add sysctl MIB net.key.esp_auth which was wrongly droppedume2003-11-131-0/+6
| | | | during recent KAME merge.
* Fix a bug relating to the "files before directories" sort order whenphk2003-11-131-0/+51
| | | | comparing two spec files.
* Add an empty definition of the MIBS variable so that the makefile doesharti2003-11-132-0/+2
| | | | | | not try to use a MIBS definition from the environment. Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
* Various minor details:phk2003-11-131-8/+17
| | | | | | | | Give the HZ/overflow check a 10% margin. Eliminate bogus newline. If timecounters have equal quality, prefer higher frequency. Some inspiration from: bde
* Don't disable the TSC with statclock_disable.phk2003-11-132-18/+18
|
* Initialize b_iooffset correctly.phk2003-11-131-0/+1
|
* - Unlock the clock lock before calling timeout in sysbeep(). This is almostjeff2003-11-131-1/+1
| | | | the same code that i386/isa/clock.c uses.
* Do not ignore any possible errors that fseeko() may have. The factmarcel2003-11-131-22/+24
| | | | | | | | | | | | | | | | | | | | | is that fseeko() fails in very predictable and frequent ways on ia64. This is because the offset is actually an address in the process' address space, which on ia64 can be larger than long (for lseek) or off_t (for fseeko). The crux is the signedness. The register stack and memory stack are in region 4 on ia64. This means that the sign bit is 1. The large positive virtual address is wrongly interpreted as a negative file offset. There's no quick fix. Even if you get around the API by using a SEEK_SET up to LONG_MAX and follow it up with a SEEK_CUR for the remainder, the kernel simply cannot deal with it. and the second seek will just fail. Therefore, this change does not actually fix the root cause. It just makes sure we're not spitting out all kinds of garbage or that the get_struct() function in particular does not cause truss(1) to exit. This, I might add, invariably happened way too soon for truss(1) to be of any use on ia64...
* Whitespace cleanup.des2003-11-131-378/+376
|
* Respect RB_KDB flag.simokawa2003-11-131-0/+5
|
* Add tunables.simokawa2003-11-131-4/+10
|
* Don't count PHY errors as input errors. This is important forsam2003-11-131-1/+9
| | | | | | | | 5212-based devices because PHY errors are used to collect data on environmental noise that and doesn't truly reflect the state of the communications media. The result is confused users. Folks that want to watch PHY errors can still get the statistics through the device ioctl (used by athstats).
* Don't mmap(2) and munmap(2) zero-length files.alc2003-11-131-1/+2
| | | | Submitted by: Wiktor Niesiobedzki <bsd@w.evip.pl>
* o insure the current channel is in a good state before starting an AP scansam2003-11-131-13/+44
| | | | | | | o reject scan requests for a device that isn't marked up This fixes a problem where requesting a scan before marking the device up would cause a panic because the current channel was set to "any" (0xffff).
* add missing inpcb lock before call to tcp_twclose (which reclaims the inpcb)sam2003-11-131-0/+1
| | | | Supported by: FreeBSD Foundation
* o reorder some locking asserts to reflect the order of the lockssam2003-11-131-3/+4
| | | | | | | o correct a read-lock assert in in_pcblookup_local that should be a write-lock assert (since time wait close cleanups may alter state) Supported by: FreeBSD Foundation
* Save the device so we can do a device_printf.imp2003-11-133-76/+69
| | | | | | Use this in preference to aha_name. Remove aha_name function and #define it to device_get_unitname() Minor indentation tweaks resulting therefrom
* Call free(9) after the vnode interlock is released, avoiding a lock-orderalc2003-11-131-1/+1
| | | | reversal.
* Stop pretending to support kernel profiling. The FAKE_MCOUNT() etcpeter2003-11-133-13/+0
| | | | | calls are just gradually getting more and more stale. At this point it would be better to start from scratch once prof_machdep.c is adapted.
* - Add the WITNESS_SKIPSPIN option to the GENERIC kernel so that users whojeff2003-11-131-0/+1
| | | | | enable WITNESS on alphas will not get the expensive spin lock checking by default. This mirrors the default config settings for i386.
* Move global variables for icmp_input() to its stack. With SMP orandre2003-11-131-10/+18
| | | | | | | | preemption two CPUs can be in the same function at the same time and clobber each others variables. Remove register declaration from local variables. Reviewed by: sam (mentor)
* add in-kernel ttcp performance toolsam2003-11-137-0/+1196
|
* Warn that you won't be able to build a kernel if you do an installworldimp2003-11-131-8/+16
|
* - Close a race where a thread on another CPU could release a contested lockjhb2003-11-121-4/+12
| | | | | | | | | | | | and empty its turnstile while the blocking threads still pointed to the turnstile. If the thread on the first CPU blocked on a lock owned by one of the threads blocked on the turnstile just woken up, then the first CPU could try to manipulate a bogus thread queue in the turnstile during priority propagation. - Update locking notes for ts_owner and always clear ts_owner, not just under INVARIANTS. Tested by: sam (1)
* Fix on sparc64.sobomax2003-11-121-1/+1
| | | | | Reported by: rwatson/tinderbox MFC after: 2 weeks
* Do not fragment a packet with hardware assistance if it has the DFandre2003-11-121-1/+2
| | | | | | bit set. Reviewed by: sam (mentor)
* Attempt to save the last dregs of emacs users' sanity by saving theceri2003-11-121-1/+1
| | | | | | | | | | contents of the PR when an interrupt is received during the editor session. This stops the use of ^G from deleting a filled PR from underneath the user. PR: bin/59201 Submitted by: Heikki Suonsivu <hsu@evoluutio.bbnetworks.net> MFC After: 2 weeks
* Add vendor ID to make Marvell chipset work. E.g. to be foundwilko2003-11-124-0/+20
| | | | | | | | on SMC9452TX it seems Submitted by: Jung-uk Kim <jkim@niksun.com> Tested by: <Radu Bogdan 'veedee' Rusu> veedee@c7.campus.utcluj.ro MFC after: 2 weeks
* At the request of several developers, restore the DIAGNOSIC codemckusick2003-11-121-0/+28
| | | | | | | | | | deleted in 1.81. Increase the initial timeout limit to 2ms to eliminate spurious messages of excessive timeouts in the NFS client code. Requested by: Poul-Henning Kamp <phk@phk.freebsd.dk> Requested by: Mike Silbersack <silby@silby.com> Requested by: Sam Leffler <sam@errno.com>
* Mark __mac_get_pid() as MPSAFE in the comment, as it runs withoutrwatson2003-11-123-111/+45
| | | | | | | | | | | Giant and is also MPSAFE. Push Giant further down into __mac_get_fd() and __mac_set_fd(), grabbing it only for constrained regions dealing with VFS, and dropping it entirely for operations related to labeling of pipes. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Bump the major version on libtuil. libutil now relies on the mac_*rwatson2003-11-121-1/+1
| | | | | | | | symbols exported by newer versions of libc, and so we want applications depending on the newer library code to be required to link against the newer libc. Discussed with: scottl, kris, imp
* Fix format strings (intmax_t is %jd, not %qd)kris2003-11-121-2/+2
| | | | Reviewed by: tjr
* reflect ip6_pktopts and ip6_moptions into embeded scope ofume2003-11-121-3/+17
| | | | | | destination address. it makes `ping6 -I <if> <link-local>' work again. since we don't merge scope cleanup yet, we need this for workaround.
* Update from DRI CVS. Includes locking fixes (including PR 59202), changes foranholt2003-11-1215-314/+833
| | | | | | Radeon IGP support (still lacking PCI IDs), and DRM interface 1.2 updates which include finally tying the DRM instances to specific devices rather than relying on the X Server.
* Add a new sysctl knob, net.inet.udp.strict_mcast_mship, to the udp_input path.bms2003-11-121-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | This switch toggles between strict multicast delivery, and traditional multicast delivery. The traditional (default) behaviour is to deliver multicast datagrams to all sockets which are members of that group, regardless of the network interface where the datagrams were received. The strict behaviour is to deliver multicast datagrams received on a particular interface only to sockets whose membership is bound to that interface. Note that as a matter of course, multicast consumers specifying INADDR_ANY for their interface get joined on the interface where the default route happens to be bound. This switch has no effect if the interface which the consumer specifies for IP_ADD_MEMBERSHIP is not UP and RUNNING. The original patch has been cleaned up somewhat from that submitted. It has been tested on a multihomed machine with multiple QuickTime RTP streams running over the local switch, which doesn't do IGMP snooping. PR: kern/58359 Submitted by: William A. Carrel Reviewed by: rwatson MFC after: 1 week
* Add a card carryring member of the Pointless Comparison Collection.phk2003-11-121-0/+11
|
* Fix some typos.jhb2003-11-121-3/+3
|
* dropwithreset is not needed in this case as tcp_drop() is already notifyingandre2003-11-122-2/+2
| | | | the other side. Before we were sending two RST packets.
OpenPOWER on IntegriCloud