summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant include.ru2005-10-141-1/+0
|
* Get rid of duplicate -I's in CFLAGS.ru2005-10-141-5/+1
|
* Sort SUBDIR and surrounding definitions.ru2005-10-141-4/+4
|
* Change I-O data WB-B11/CFZ entry to ELSA XI330 as the former is aimp2005-10-141-1/+1
| | | | rebadged version of the latter.
* Add ELSA XI330 product. This is rebadged and sold as SMC 2532W-B andimp2005-10-141-0/+2
| | | | I/O Data also resells it. Add an alternative airvast an100 id.
* Add sigqueue function prototype.davidxu2005-10-141-9/+2
|
* Regen for sigqueue syscall.davidxu2005-10-145-7/+16
|
* 1. Change prototype of trapsignal and sendsig to use ksiginfo_t *, mostdavidxu2005-10-1444-525/+1038
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes in MD code are trivial, before this change, trapsignal and sendsig use discrete parameters, now they uses member fields of ksiginfo_t structure. For sendsig, this change allows us to pass POSIX realtime signal value to user code. 2. Remove cpu_thread_siginfo, it is no longer needed because we now always generate ksiginfo_t data and feed it to libpthread. 3. Add p_sigqueue to proc structure to hold shared signals which were blocked by all threads in the proc. 4. Add td_sigqueue to thread structure to hold all signals delivered to thread. 5. i386 and amd64 now return POSIX standard si_code, other arches will be fixed. 6. In this sigqueue implementation, pending signal set is kept as before, an extra siginfo list holds additional siginfo_t data for signals. kernel code uses psignal() still behavior as before, it won't be failed even under memory pressure, only exception is when deleting a signal, we should call sigqueue_delete to remove signal from sigqueue but not SIGDELSET. Current there is no kernel code will deliver a signal with additional data, so kernel should be as stable as before, a ksiginfo can carry more information, for example, allow signal to be delivered but throw away siginfo data if memory is not enough. SIGKILL and SIGSTOP have fast path in sigqueue_add, because they can not be caught or masked. The sigqueue() syscall allows user code to queue a signal to target process, if resource is unavailable, EAGAIN will be returned as specification said. Just before thread exits, signal queue memory will be freed by sigqueue_flush. Current, all signals are allowed to be queued, not only realtime signals. Earlier patch reviewed by: jhb, deischen Tested on: i386, amd64
* Fix parsing of mdmfs(8) option "-w <user>:<group>" in case <user> orrse2005-10-141-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | <group> is a numeric user/group ID instead of a user/group name (as explicitly intended to be allowed by both the manual page and the implementation). Before this fix, mdmfs(8) aborted: | # mdmfs -s 32m -w 0:0 md /var/tmp/foo | Assertion failed: (mip->mi_have_uid), function extract_ugid, file /usr/src/sbin/mdmfs/mdmfs.c, line 555. | Abort trap (core dumped) The "mi_have_[ug]id" fields were only set in case a name lookup was successful. Instead they also have to be set in case the string to integer conversion was successful. Additionally, as a result of this fix, two assertions at the end of the function are now always true and hence can be just be removed. It is guarrantied that both the UID and the GID are set when the function returns regularily, else it would have been already bailed out with usage()/exit(3) or errx(3) before. Spotted by: Christoph Schug <chris@schug.net> MFC after: 3 days
* From the PR:glebius2005-10-141-14/+14
| | | | | | | | | | | | | | | | | | The receive function em_process_receive_interrupts() unlocks the adapter while ether_input() processes the packet, and then locks it back. In the meantime, em_init() may be called, either from em_watchdog() from softclock interrupt or from the ifconfig(8) program. The em_init() resets the card, in particular it sets adapter->next_rx_desc_to_check to 0 and resets hardware RX Head and Tail descriptor pointers. The loop in em_process_receive_interrupts() does not expect these things to change, and a mess may result. This fixes long wedges of em(4) interfaces receive part under high load and IP fastforwarding enabled. PR: kern/87418 Submitted by: Dmitrij Tejblum <tejblum yandex-team.ru>
* Change most of the bridge and stp funtions to static. This has highlightedthompsa2005-10-142-209/+226
| | | | | | | | | | | that the following funtions are not used, wrap in '#ifdef noused' for the moment. bstp_enable_change_detection bstp_disable_change_detection bstp_set_bridge_priority bstp_set_port_priority bstp_set_path_cost
* Cleanup from __FreeBSD_version.glebius2005-10-141-73/+2
|
* New release notes:yar2005-10-142-0/+18
| | | | | | | | | ifconfig(8) -tunnel parameter, interface argument to ifconfig(8) -vlandev deprecated. The changes already are in RELENG_6, too. MFC after: 3 days
* MFP4: Minor tweaks.imp2005-10-141-1/+5
|
* Merge in WIP from p4 for supporting ISA pccard bridges conforming toimp2005-10-141-17/+43
| | | | | | | | | | | the ExCA spec, and close cousins: o Write an activate routine that works. o merge a couple of items from oldcard before they are lost o write a deactivate routine I suspect we're still a ways away from having this work, but maybe for 6.1/5.5?
* Add ksiginfo_t which is a wrapper of siginfo_t but allows us to carrydavidxu2005-10-141-0/+39
| | | | | | more information which should not be in siginfo_t. Reviewed by: jhb, deischen
* Add POSIX siginfo_t's si_code, this is for upcoming POSIX realtime signaldavidxu2005-10-142-19/+73
| | | | | | support in kernel. Earlier patch reviewed by: jhb, deischen
* Further clean up the bridge hooks in if_ethersubr.c and ng_ether.cthompsa2005-10-145-48/+37
| | | | | | - move the function pointer definitions to if_bridgevar.h - move most of the logic to the new BRIDGE_INPUT and BRIDGE_OUTPUT macros - remove unneeded functions from if_bridgevar.h and sort a little.
* Restore the UP optimization to reduce the number of TLB invalidations. Thealc2005-10-131-4/+11
| | | | | | | | | previous revision only restored the MP optimization. Describe the optimization strategy for TLB invalidations in a comment. Reviewed by: ups@ MFC after: 3 days
* From 101 ways to panic your kernel.thompsa2005-10-132-1/+13
| | | | | | Use bridge_ifdetach() to notify the bridge that a member has been detached. The bridge can then remove it from its interface list and not try to send out via a dead pointer.
* If we can't probe the RTL80x9 for some reason, fall back to probing itimp2005-10-131-3/+10
| | | | | | | | | as a Novell NE-2000. This is necessary for unpatched qemu working correctly. qemu claims to be a RTL8029, but doesn't implement the RTL8029 specific registers at this time. I've created patches for that, but there's no reason we can't use qemu's emulation w/o these patches. This should make life easier for those folks that boot FreeBSD via qemu.
* o Fix probing of rtl80x9 parts. We shouldn't be callingimp2005-10-131-5/+6
| | | | | | | | | | | | ed_probe_generic8390 where we're calling it. It will be done as part of ed_probe_Novel_generic after things are setup in a way that ed_probe_generic8390 will grok. o Fix operator precedence botch that causes a panic when setting the media type for 10baseT connections. o Save the type of device so that it prints with the rest of the probe. # this should make it work with qemu again, but only if it has my patches # to actually implement the RTL8029 specific registers.
* Consolidate two adjacent conditional blocksjulian2005-10-131-5/+1
| | | | | | | I actually believe the code in question should be elsewhere (in the preceding function). MFC after: 1 week
* In detach method, move if_free() after bus_teardown_intr().ru2005-10-1315-29/+42
|
* Minor tweaks and fixups:jhb2005-10-132-69/+61
| | | | | | | | | | | | | | | - Use device_printf() and if_printf() and remove nge_unit. - Use callout_init_mtx() and remove nge_tick_locked() as nge_tick() is now always called with the driver lock held. - Use M_ZERO to contigmalloc() when allocating nge_ldata. It was possible for the random garbage to be used in certain cases otherwise. - Cleanup attach error handling including no longer leaking nge_ldata. - Add locking to the ifmedia callouts. - Lock accesses to if_hwassist and if_capenable in nge_ioctl(). Submitted by: Yuriy N. Shkandybin jura at networks dot ru (1, 3, 4) Tested by: Yuriy N. Shkandybin jura at networks dot ru MFC after: 3 days
* Add support for ATI IXP[234]00.joel2005-10-131-1/+3
|
* fixed a crush when either -lh or -ls option is used.ume2005-10-131-3/+3
| | | | Obtained from: KAME
* setkey(8) is not WARNS=2 compliant, yet.ume2005-10-131-0/+2
|
* Remove a stale comment.ru2005-10-131-1/+0
|
* Language nits.delphij2005-10-132-2/+2
| | | | Submitted by: nukq at newsmth org, me
* Mention that hptmv(4) actually works for the amd64 platform as well.delphij2005-10-131-3/+3
| | | | | | Suggested by: Mikhail Teterin [mi+mx aldan algebra com] Submitted by: me PR: docs/87302
* - Clarify when the softc is allocated. It is allocated when a device isjhb2005-10-131-3/+7
| | | | | | | | | | | probed and attached, not on the first call to device_get_softc(). - Add a cross reference to DEVICE_PROBE regarding the caveats of using the softc in a driver's probe routine. - Fix a grammar bogon. PR: docs/87176 (1) Submitted by: Devon H. O'Dell dodell at offmyserver dot com (1) MFC after: 3 days
* - When bintime was added to this manpage, standalone .Nm changed fromjhb2005-10-131-2/+2
| | | | | | | | | | | microtime to bintime. However, one standaline .Nm wasn't changed, and as a result, the manpage claimed that bintime was added in both 5.0 and 3.0. Fix by listing microtime explicitly. - Fix a grammar bogon. PR: docs/87147 (1) Submitted by: Matthew Luckie (1) MFC after: 3 days
* - When flushing node input queue, check whether item has a callback. Ifglebius2005-10-131-0/+6
| | | | | it does, then call it suppling ENOENT as error value. - Add assert, that helped to catch the above error.
* Clean up the if_bridge hooks a bit in if_ethersubr.c and ng_ether.c, movethompsa2005-10-133-33/+10
| | | | | | the broadcast/multicast test to bridge_input(). Requested by: glebius
* Minor cleanups, no functional changessos2005-10-131-17/+2
|
* 1) Use GNU libtool to build shared libraries on non-FreeBSDkientzle2005-10-135-29/+86
| | | | | | | | | | systems (or on FreeBSD systems when using ports). 2) Overhaul the versioning logic. In particular, SHLIB_MAJOR number is now computed as "major+minor", which ensures library versions are the same for the FreeBSD build system and the portable libtool/autoconf/automake build system.
* Restore optimizations to reduce TLB shootdowns.ups2005-10-131-25/+24
| | | | | | | Alan Cox pointed out that they are really useful for sendfile(). MFC after: 3 days
* Fix tinderbox box by removing incomplete/bad spl usage. Proper giant freeambrisko2005-10-121-6/+0
| | | | | | locking is required in for aio. Pointed out by: imp
* First start rc.d/ipsec and then rc.d/mountcritremote, so we can mountpjd2005-10-122-2/+2
| | | | | | NFS file system over IPsec. Suggested by: Tomasz PiĀ³at <tomasz.pilat@axelspringer.pl>
* setkey(8) was moved to /sbin/.pjd2005-10-121-0/+2
|
* setkey(8) was repo-copied from usr.sbin/ to sbin/.pjd2005-10-1213-3945/+2
| | | | | | This will allow for NFS mount of /usr over IPsec. Discussed on: arch@
* MFen:delphij2005-10-1213-1095/+639
| | | | | | | | | | | | | | | | | | | | errata/article.sgml: 1.72 -> 1.73.2.1 hardware/amd64/proc-amd64.sgml: 1.3.4.1 -> 1.5.2.1 [dummy merge] hardware/common/artheader.sgml: 1.6 -> 1.7 hardware/common/dev.sgml: 1.277 -> 1.282.2.3 hardware/common/intro.sgml: 1.6 -> 1.7 installation/common/artheader.sgml: 1.5 -> 1.6 installation/common/trouble.sgml: 1.17 -> 1.19 installation/common/upgrade.sgml: 1.12 -> 1.13 readme/article.sgml: 1.31.2.2 -> 1.37 relnotes/common/new.sgml: 1.849 -> 1.883.2.7 Makefile: 1.3 -> 1.7 Follow the English revision to remove early adopter guide. This is intended for a RELENG_6 and RELENG_6_0 merge. Obtained from: The FreeBSD Simplified Chinese Project (delphij)
* Add support for the ATI IXP[234]00 series chipsets.sos2005-10-124-1/+126
| | | | HW donated by: sentex
* Change the reference counting to count the number of cloned interfaces for eachthompsa2005-10-1211-104/+66
| | | | | | | | | | | | | | | cloner. This ensures that ifc->ifc_units is not prematurely freed in if_clone_detach() before the clones are destroyed, resulting in memory modified after free. This could be triggered with if_vlan. Assert that all cloners have been destroyed when freeing the memory. Change all simple cloners to destroy their clones with ifc_simple_destroy() on module unload so the reference count is properly updated. This also cleans up the interface destroy routines and allows future optimisation. Discussed with: brooks, pjd, -current Reviewed by: brooks
* Be pedantic here: We're converting from network byte order to hostimp2005-10-121-2/+2
| | | | | | | byte order in these cases. This is a nop in terms of the generated code, but is logically incorrect. PR: 73852
* Document that changes to nsswitch.conf might be needed whenbz2005-10-121-1/+6
| | | | | | | | compiling with NO_NIS. PR: bin/87221 Reviewed by: simon MFC after: 4 weeks
* o INP_ONESBCAST is inpcb.inp_vflag flag not inp_flags. The confusionmaxim2005-10-122-3/+3
| | | | | | | | | with IP_PORTRANGE_HIGH leads to the incorrect checksum calculation. PR: kern/87306 Submitted by: Rickard Lind Reviewed by: bms MFC after: 2 weeks
* Use a better EVFILT_LIO description!ambrisko2005-10-121-1/+1
| | | | Submitted by: alc
* This test can run now.ambrisko2005-10-121-4/+0
|
OpenPOWER on IntegriCloud