summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* The ufs/ffs files are no longer required by ext2fs.iedowse2002-05-161-11/+0
|
* Give ext2fs its own static "dirchk" variable instead of using ufs'siedowse2002-05-162-8/+24
| | | | variable. Make this accessible as the sysctl vfs.e2fs.dirchk.
* Remove register keyword.iedowse2002-05-1616-172/+166
|
* In VOP_LOOKUP, don't assume that the final pathname componentmux2002-05-161-2/+1
| | | | | | | will be in the same filesystem than the one where the current component is. Approved by: scottl
* Complete the separation of ext2fs from ufs by copying the remainingiedowse2002-05-1630-901/+2689
| | | | | | | | | | shared code and converting all ufs references. Originally it may have made sense to share common features between the two filesystems, but recently it has only caused problems, the UFS2 work being the final straw. All UFS_* indirect calls are now direct calls to ext2_* functions, and ext2fs-specific mount and inode structures have been introduced.
* o Fix vfs_copyopt(), the first argument to bcopy() is the source,mux2002-05-161-15/+6
| | | | | | not the destination. o Remove some code from vfs_getopt() which was making the interface more complicated to use for a very slight gain.
* Rename struct scr_size into struct _scr_size and struct scrmap intosobomax2002-05-161-4/+4
| | | | | | | struct _scrmap, so that it doesn't break C++ programs (name of element of the structure is the same as the name of the scructure itself). MFC after: 5 days
* Use splnet() when we need to block timeouts rather than splimp() sinceimp2002-05-161-10/+18
| | | | | | | | | | | | the former blocks software interrupts, while the latter blocks hardware interrupts. Avoid one place where I'm at splnet across a call to copyout. Leave one in place to give bde something to complain about :-). Actaully, I'll fix it in a subsequent commit. Reviewed by: bde spl conical hat to: imp
* Fixup unaligned bwx instructions (ldwu, stw). This may fix some mysteriousgallatin2002-05-161-7/+25
| | | | | | natd sigbus errors being reported on the freebsd-alpha@ mailing list. Obtained from: NetBSD
* An exact copy of i386/include/float.h will work here.obrien2002-05-151-0/+73
|
* Revert daddr_t to 32 bits while we research the reported problems.phk2002-05-151-2/+2
|
* Enhance the use of the watchdog timer in this driver so that it willsilby2002-05-152-8/+6
| | | | | | | | | | | | | | | | | | | | allow recovery from transmission lockups which occur in the middle of the descriptor list, rather than just at the beginning. For some unknown reason, Rhine II chips have a tendency to stop transmitting while under heavy load, possibly due to collisions. Whether this behavior is due to a hardware bug or a driver glitch is unknown as of now. In either case, this change allows the driver to gracefully recover from such situations. Special thanks go to The Anarcat <anarcat@anarcat.dyndns.org>, who bugged me into looking at this and to Dominic Marks <dominic_marks@btinternet.com>, who performed a great deal of testing to help characterize this problem. MFC after: 3 days
* style sync with other platforms.obrien2002-05-151-2/+2
|
* Remove an extraneous )brian2002-05-151-1/+1
| | | | | | Not approved by: maintainer I'm guessing that this is trivial enough to sidestep approval.
* DEV_BSIZE lives in sys/param.h and not in machine/param.h anymore.jhay2002-05-151-1/+1
|
* Reset token-ring source routing control field on receipt of ethernet framekbyanc2002-05-151-0/+1
| | | | | without source routing information. This restores the behaviour in this scenario to that of prior to my last commit.
* p_cansignal() returns an errno value; at some point, the check forrwatson2002-05-141-2/+2
| | | | | | | | | | inter-process signalling ceased to preserve and return that value, instead always returning EPERM. This meant that it was possible to "probe" the pid space for processes that were not otherwise visible. This change reverts that reversion. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Disable the shared locking namei() code for now. It breaks several stackingjeff2002-05-145-12/+12
| | | | | filesystems. This is on hold until the rest of VFS Locking is reviewed and deemed safe. It can be enabled with 'options LOOKUP_SHARED'.
* `unexpand -a' should be run _before_ sed 's/^#define /#define^I/g'.obrien2002-05-1414-1088/+1088
|
* Tighten up the defined()'s.obrien2002-05-147-31/+31
|
* After some comments from bde, rewrite the loops to avoid turning thejoerg2002-05-142-86/+58
| | | | | | | | | | | | | | | | | previously used "micro-optimization" (count-down loop) into a pessimization. Now the loops are written in the more natural count-up form. Also, while being there, i made the logic in out_fdc() similar to the logic in in_fdc(). The old implementation was a bit bogus anyway since it first tested the DIO bit and only afterwards the RQM bit. However, according to the description of the i82077, the DIO bit is only guaranteed to be valid once the RQM bit is set. Thus, the old implementatoin would have had the chance to misbehave on a controller that is implemented in accordance with the i82077 description (but is not bug-for-bug compatible). MFC after: 3 days
* Move MI stuff out of MD param.h files.phk2002-05-147-268/+68
| | | | It can all still be overridden in the MD files should need suddenly arise.
* Remove the unused definitions of ctod() and dotc().phk2002-05-144-16/+0
|
* Modify the arguments to syncache_socket() to include the mbuf (m) thatrwatson2002-05-141-4/+6
| | | | | | | | | | | | results in the syncache entry being turned into a socket. While it's not used in the main tree, this is required in the MAC tree so that labels can be propagated from the mbuf to the socket. This is also useful if you're doing things like transparent IP connection hijacking and you want to use the syncache/cookie mechanism, but we won't go there. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove a printf(3) argument with no corresponding format specifier.des2002-05-141-1/+1
|
* Following a repo-copy from src/sys/ufs/ufs, rename functions andiedowse2002-05-147-305/+216
| | | | | | | | | | structures etc. to ext2fs-specific names, and remove ufs-specific code that is no longer required. As a first stage, the code will still convert back and forth between the on-disk format and struct inode, so the struct dinode fields have been added to struct inode for now. Note that these files are not yet connected to the build.
* Strategic diff reduction against TrustedBSD MAC branch: introduce anrwatson2002-05-141-0/+1
| | | | | | | | | additional system boot ordering entry, SI_SUB_MAC_LATE, which occurs after all MAC policies have been initialized, permitting the MAC subsystem to take action once all "early loaded" modules are in place. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Even more BBSIZE related breakage.ru2002-05-141-0/+1
|
* Fixed to build for GCC 3.1nyan2002-05-146-17/+16
|
* Add -ffreestanding to CFLAGS.nyan2002-05-141-1/+1
|
* Add a NGM_PPPOE_SESSIONID message to the ng_pppoe node.brian2002-05-142-1/+21
| | | | | | | This message is sent to the control socket when the SessionID is established. Approved by: archie (after a very cursory glance)
* MFi386: revision 1.519nyan2002-05-142-2/+2
|
* Merged from sys/isa/fd.c revisions from 1.229 to 1.232.nyan2002-05-142-36/+130
|
* Merged from sys/dev/syscons/syscons.c revision 1.384nyan2002-05-141-1/+2
|
* Make daddr_t and u_daddr_t 64bits wide.phk2002-05-1414-31/+30
| | | | | | Retire daddr64_t and use daddr_t instead. Sponsored by: DARPA & NAI Labs.
* Roll the LOG2 macro up again, I don't belive unrolling this for 64bitsphk2002-05-141-31/+13
| | | | | | make sense. Sponsored by: DARPA & NAI Labs.
* Check that kldxref(8) exists before running it.ru2002-05-142-6/+8
|
* Make the mtio data structures explicitly sized.phk2002-05-141-13/+13
| | | | | | A couple of the fields should probably be 64bits in the future. Sponsored by: DARPA & NAI Labs.
* Move a few ancient minor-number definitions for tapedrives to thephk2002-05-143-20/+8
| | | | only driver which uses them. Remove the rest.
* Tweak the include dirs w/o incurring extra warningsobrien2002-05-141-1/+1
|
* unexpand -a everythingobrien2002-05-1415-7496/+7496
|
* First pass of style(9) for #define's.obrien2002-05-1415-1677/+1677
|
* BDE and I have had a chance to hash this out:imp2002-05-131-5/+5
| | | | | | | o Use splnet() instead of splclock(). o Use splnet() instead of splimp(). Reviewed by: bde
* Align CLEANFILES with revision 1.25 changes.ru2002-05-132-2/+2
|
* Fixed CLEANFILES after bsd.lib.mk sweep.ru2002-05-132-2/+2
|
* Fixed a semantic error. va_arg(ap, u_short) is nonsense except on i386'sbde2002-05-132-10/+10
| | | | | | | | with 16-bit ints, since u_short is promoted when it is passed to a varargs function. gcc now warns about this. We always pass small integers (this is well obuscated), so there are no conversion problems. Fixed a related style bug (bogus cast).
* Don't include <stddef.h> "For offsetof". This is not even wrong inbde2002-05-131-2/+0
| | | | | | | | | -current, since offsetof() is defined a header under /sys so that system sources don't need to have this wrong include. This bug was only detected because my version of <stddef.h> has some spelling fixes (s/field/member/g) and gcc is now sensitive to the spelling of arg names in macros as required by standards (ISO C90 6.8.3...).
* Fixed syntax errors (tokens after #endif).bde2002-05-138-45/+45
|
* Fixed syntax errors (garbage after #endif; just editing errors in thisbde2002-05-132-8/+8
| | | | | | case). These errors and related style bugs swere cloned from ufs shortly after they were committed to ufs. They were mostly fixed in ufs long ago.
* Fixed a syntax error (a label not followed by a statement).bde2002-05-132-2/+2
|
OpenPOWER on IntegriCloud