summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Style fixes: tab after a dependency operator should be a single spacegshapiro2003-07-062-29/+29
| | | | | | | second level indent of tab should be four spaces Submitted by: ru MFC after: 3 days
* Woops - don't forget to declare locals needed for that last commit.bsd2003-07-061-0/+2
|
* Don't unconditionally reset the hardware debug registers in cpu_exit(),bsd2003-07-061-4/+6
| | | | | | | | | | | reset them only if they were previously in use. Unconditionally resetting the registers wipes them out frequently, which interferes with their use for kernel debugging. While I'm here, be less verbose in the associated comment of a neighboring function. Noticed by: bde
* Fix a bug that could cause dc(4) to m_freem() an already freedmux2003-07-062-2/+4
| | | | | | mbuf or something that isn't an mbuf. MFC after: 3 days
* Various style(9) and readability fixes.mux2003-07-062-28/+44
|
* add FBSDIDcharnier2003-07-067-19/+21
|
* use a list to enumerate optionscharnier2003-07-061-17/+11
|
* de-__Pcharnier2003-07-065-28/+31
| | | | | use port/proto to represent services (not proto/port). add FBSDID
* Change all instances of THR_LOCK/UNLOCK, etc to UMTX_*.mtm2003-07-068-23/+23
| | | | | It is a more acurate description of the locks they operate on.
* There's no need for _umtxtrylock to be a separate function.mtm2003-07-063-13/+8
| | | | Roll it into the pre-existing macro that's used to call it.
* Add config(5).jkoshy2003-07-061-1/+1
|
* Add const to __setrunelocale prototypeache2003-07-061-4/+4
|
* Testing VLANs with the new 8139C+ chip (which does hardware tagwpaul2003-07-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | insertion and extraction) has revealed two bugs: - In vlan_start(), we're supposed to check the underlying interface to see if it has the IFCAP_VLAN_HWTAGGING cabability set and, if so, set things up for the VLAN_OUTPUT_TAG() routine. However the code checks ifp->if_capabilities, which is the vlan pseudo-interface's capabilities when it should be checking p->if_capabilities, which relates to the underlying physical interface. Change ifp->if_capabilities to p->if_capabilities so this works. - In vlan_input(), we have to extract the 16-bit tag value from the received frame and use it to figure out which vlan interface gets the frame. The code that we use to track down the desired vlan pseudo-interface is: for (ifv = LIST_FIRST(&ifv_list); ifv != NULL; ifv = LIST_NEXT(ifv, ifv_list)) if (ifp == ifv->ifv_p && tag == ifv->ifv_tag) break; The problem is that 'tag' is not computed consistently. In the case where the interface supports hardware VLAN tag extraction and calls VLAN_INPUT_TAG(), we do this: tag = *(u_int*)(mtag+1); But in the software emulation case, we do this tag = EVL_VLANOFTAG(ntohs(evl->evl_tag)); The problem here is the EVL_VLANOFTAG() macro is only ever applied in this one case. It's never applied to ifv->ifv_tag or anwhere else. We must be consistent: either it's applied everywhere or nowhere. To see how this can be a problem, do something like ifconfig vlan0 vlan 12345 vlandev foo0 and observe the results. I'm not quite sure what the right thing is to do here. Neither the vlan(4) nor ifconfig(8) man pages suggest which way to go. For now, I've removed this use of EVL_VLANOFTAG() so that the tag will match correctly in all cases. I will not get upset if somebody makes a compelling argument for using EVL_VLANOFTAG() everywhere instead, as long as the use is consistent.
* * add support for amd-768 audio, as used on many dual athlon boards. onlycg2003-07-061-19/+23
| | | | | | | | | | | tested for playback. * modify device name strings for ich chips to better conform with their common names. * remove superflous 'AC97 controller' from nforce device names. MFC after: 1 week
* Fix Ctrl-\ache2003-07-061-1/+1
| | | | Submitted by: Per Kristian Hove <Per.Hove@math.ntnu.no>
* Reorganize wrapper around setrunelocale() to mark it as deprecatedache2003-07-063-25/+41
| | | | in FreeBSD 6
* Disallow multiple 'machine' directives in a kernel configurationjkoshy2003-07-061-0/+3
| | | | | | file. Reviewed by: ru, bde
* New section 5 manual page detailing our kernel configuration filejkoshy2003-07-062-0/+686
| | | | | | | format. Reviewed by: Ruslan Ermilov <ru@freebsd.org>, Jens Schweikhardt <schweikh@schweikhardt.net>
* Don't call malloc() and free() while in the debugger and unwindingmarcel2003-07-053-57/+124
| | | | | | | | | | | | | | | | | | | | | to get a stacktrace. This does not work even with M_NOWAIT when we have WITNESS and is generally a bad idea (pointed out by bde@). We allocate an 8K heap for use by the unwinder when ddb is active. A stack trace roughly takes up half of that in any case, so we have some room for complex unwind situations. We don't want to waste too much space though. Due to the nature of unwinding, we don't worry too much about fragmentation or performance of unwinding while in the debugger. For now we have our own heap management, but we may be able to leverage from existing code at some later time. While here: o Make sure we actually free the unwind environment after unwinding. This fixes a memory leak. o Replace Doug's license with mine in unwind.c and unwind.h. Both files don't have much, if any, of Doug's code left since the EPC syscall overhaul and the import of the unwinder. o Remove dead code. o Replace M_NOWAIT with M_WAITOK for all remaining malloc() calls.
* This commit was generated by cvs2svn to compensate for changes in r117264,ru2003-07-051-3/+5
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix for troff mode. Theru2003-07-051-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | .Pp .Bd -literal ... fragment resulted in two vertical spaces. From ChangeLog: 2003-07-04 Ruslan Ermilov <ru@FreeBSD.org> * tmac/doc.tmac (Bd): Change to doc-Li-font later.
* | Lock a vm object when freeing a page from it.alc2003-07-051-0/+7
| |
* | Changes following CScout analysis:dds2003-07-0513-38/+37
| | | | | | | | | | | | | | | | | | | | | | - Removed dead declarations - Made objects that should have been declared as static, static. The changes use STATIC instead of static, following the existing convention in the rest of the code. Approved by: schweikh (mentor) MFC after: 2 weeks
* | Add ARMSCII-8 console stuffache2003-07-0513-6/+824
| | | | | | | | | | PR: 53944 Submitted by: Vahe Khachikyan <vahe@khachikyan.de>
* | Add ARMSCSII-8 localeache2003-07-0513-0/+558
| | | | | | | | | | Submitted by: Vahe Khachikyan <vahe@khachikyan.de> PR: 53944
* | Add ARMSCII-8 locale dirsache2003-07-052-0/+6
| | | | | | | | | | Submitted by: Vahe Khachikyan <vahe@khachikyan.de> PR: 53944
* | Make the conditional, which decides what siglist to put a signal on,mtm2003-07-051-8/+5
| | | | | | | | | | | | more concise and improve the comment. Submitted by: bde
* | add the mbr_enc file so that we can load the module on sparc64.jmg2003-07-051-1/+1
| |
* | Add more useful cross-references to the SEE ALSO section.tjr2003-07-051-2/+7
| |
* | Catch up with recent FP-related changes to scanf.3 and vfwscanf.c.tjr2003-07-051-31/+16
| |
* | Fix two incorrect uses of sizeof: we need to divide the size of the buffertjr2003-07-051-11/+6
| | | | | | | | | | | | by sizeof(wchar_t) to get the number of wide characters it contains. Remove the !hardway micro-optimisation from the CT_INT case to avoid having to fix it for wide characters.
* | Merge recent floating point conversion changes from vfscanf.c.tjr2003-07-051-93/+175
| |
* | Fix a signedness problem in zstty_cncheckc(): when no character is ready,tmm2003-07-051-1/+1
| | | | | | | | | | | | -1 should be returned, but it was assigned to an uint8_t (which is extended to an int to form the return value), causing 255 to be returned instead.
* | Remove trailing whitespace.rwatson2003-07-054-6/+6
| |
* | Drop the pid file after we call the final daemon call. w/o -n wouldimp2003-07-051-2/+4
| | | | | | | | | | | | | | give the wrong pid. Submitted by: ru and Lukas Ertl PR: 54113
* | Add buffalo airstation wli2-cf-s11 I got in japan to the listimp2003-07-051-0/+1
| |
* | I was so happy I found the semi-colon from hell that I didn'tmtm2003-07-041-1/+1
| | | | | | | | | | | | notice another typo in the same line. This typo makes libthr unuseable, but it's effects where counter-balanced by the extra semicolon, which made libthr remarkably useable for the past several months.
* | remove \n at end of panic strings. They are added by the call to panic.jmg2003-07-044-26/+26
| | | | | | | | | | | | This brings us more in line with Net/OpenBSD Obtained from: Net/OpenBSD
* | Add vm object locking to pmap_prefault().alc2003-07-041-7/+10
| |
* | Implement the 'ipsec' option to match packets coming out of an ipsec tunnel.luigi2003-07-043-0/+38
| | | | | | | | | | | | | | | | | | Should work with both regular and fast ipsec (mutually exclusive). See manpage for more details. Submitted by: Ari Suutari (ari.suutari@syncrontech.com) Revised by: sam MFC after: 1 week
* | Correct some comments, add opcode O_IPSEC to match packetsluigi2003-07-041-12/+17
| | | | | | | | coming out of an ipsec tunnel.
* | remove whitespace at end of lineluigi2003-07-042-2/+2
| |
* | - Parse the cpu topology map in sched_setup().jeff2003-07-041-13/+53
| | | | | | | | | | | | | | | | - Associate logical CPUs on the same physical core with the same kseq. - Adjust code that assumed there would only be one running thread in any kseq. - Wrap the HTT code with a ULE_HTT_EXPERIMENTAL ifdef. This is a start towards HyperThreading support but it isn't quite there yet.
* | Don't be so chatty about osreldate.h creation steps when make(1)ru2003-07-041-1/+1
| | | | | | | | is run in non-compat mode (-j without -B).
* | Make jexec duplicate the actions of the shell searching for anbmilekic2003-07-041-2/+2
| | | | | | | | | | | | | | | | executable file even if the specified action/filename does not contain a '/' character; convert execv() to execvp(). Submitted by: Christian S.J. Peron <maneo@bsdpro.com> PR: bin/54109
* | Don't hardcore PATH into BINMAKE; the latter should only beru2003-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | comprised of the path to a make(1) binary (possibly the one built by the "make" target in this Makefile), and a path to a fresh share/mk. The idea is to allow "make release" pick up the right "make" binary, if one exists. This fixes release.5 I broke with the last commit here; the second PATH here was overriding the right one from WMAKEENV while rebuilding the "build-tools" for crunched binaries.
* | Merge the following from the English version:hrs2003-07-042-6/+45
| | | | | | | | | | 1.162 -> 1.163 hardware/common/dev.sgml 1.580 -> 1.582 relnotes/common/new.sgml
* | Add a missing </para>.hrs2003-07-042-2/+2
| |
* | Fixed the last-minute bug I made in previous commit.ru2003-07-041-1/+1
| |
* | Fixed style bugs related to parentheses in Makefile.inc1.ru2003-07-043-14/+17
| | | | | | | | | | | | | | Submitted by: bde Fixed nearby bug: propagate the root Makefile's idea of the appropriate "make" binary down to release/Makefile.
OpenPOWER on IntegriCloud