summaryrefslogtreecommitdiffstats
path: root/sys/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Clean up -Wunused warnings.gpalmer1996-06-1219-97/+108
| | | | Reviewed by: bde
* Removed bogus _BEGIN_DECLS/_END_DECLS.bde1996-05-012-34/+20
| | | | | | Removed unused struct tag declarations in cloned code. Added or cleaned up idempotency ifdefs.
* Removed the 2 remaining calls to sleep().bde1996-04-071-4/+4
|
* Correct a bug which wrote the result of devfs_add_devswf() for twogpalmer1996-04-021-3/+3
| | | | | | separate devices to the same place Reviewed by: Julian Elischer <julian>, Marc G. Fournier <scrappy>
* Fixed missing quote in a devfs string.bde1996-03-291-2/+2
|
* Switched from using devfs_add_sw() to using devfs_add_swf()scrappy1996-03-286-54/+58
| | | | Reviewed by: julian@freebsd.org
* Removed vestigial support for the obsolete FIFO option. In ext2fsbde1996-02-254-12/+2
| | | | | it caused null pointer panics for all fifo operations unless FIFO was defined.
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-302-4/+4
| | | | a bunch of system include files.
* Eliminated many redundant vm_map_lookup operations for vm_mmap.dyson1996-01-196-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | Speed up for vfs_bio -- addition of a routine bqrelse to greatly diminish overhead for merged cache. Efficiency improvement for vfs_cluster. It used to do alot of redundant calls to cluster_rbuild. Correct the ordering for vrele of .text and release of credentials. Use the selective tlb update for 486/586/P6. Numerous fixes to the size of objects allocated for files. Additionally, fixes in the various pagers. Fixes for proper positioning of vnode_pager_setsize in msdosfs and ext2fs. Fixes in the swap pager for exhausted resources. The pageout code will not as readily thrash. Change the page queue flags (PG_ACTIVE, PG_INACTIVE, PG_FREE, PG_CACHE) into page queue indices (PQ_ACTIVE, PQ_INACTIVE, PQ_FREE, PQ_CACHE), thereby improving efficiency of several routines. Eliminate even more unnecessary vm_page_protect operations. Significantly speed up process forks. Make vm_object_page_clean more efficient, thereby eliminating the pause that happens every 30seconds. Make sequential clustered writes B_ASYNC instead of B_DELWRI even in the case of filesystems mounted async. Fix a panic with busy pages when write clustering is done for non-VMIO buffers.
* Convert QUOTA to new-style option.wollman1996-01-056-0/+12
|
* recording cvs-1.6 file deathpeter1995-12-3025-11732/+0
|
* Fixed erroneous resending of the output buffer.bde1995-12-291-11/+34
| | | | | | | | Fixed panics for events on nonexistent ports. Fixed devconf class initialization and devconf state tracking. Submitted by: Serge A. Babkin <babkin@hq.icb.chel.su>
* Fixed syntax errors caused by EXCEPTION() when DEBUG is defined.bde1995-12-221-3/+9
| | | | Added includes to get the prototype for printf() when DEBUG is defined.
* Changed the definition of DEBUG to agree with -DDEBUG to avoid warningsbde1995-12-221-2/+2
| | | | when DEBUG is an option.
* Staticize and remove $Log$.phk1995-12-175-448/+38
|
* Staticize.phk1995-12-1713-137/+147
|
* Fixed the type of some sysinit functions.bde1995-12-141-2/+2
|
* Another mega commit to staticize things.phk1995-12-144-16/+10
|
* Make math_emulators LKMable.phk1995-12-141-7/+57
|
* Restored variables that are used iff QUOTA is defined.bde1995-12-104-0/+12
| | | | | ext2fs still uses #if in many cases where the rest of the kernel uses #ifdef (for QUOTA...).
* Replaced nxreset by noreset (if the reset function gets called, then thebde1995-12-101-2/+2
| | | | | | | device must be configured. It's hard to tell whether a reset function should be noreset or nullreset since reset functions are never called. Most drivers use nullreset but noreset has the advantage of complaining if somehow gets called).
* Removed new alias d_size_t for d_psize_t.bde1995-12-103-8/+13
| | | | | | | | | | Removed old aliases d_rdwr_t and d_ttycv_t for d_read_t/d_write_t and d_devtotty_t. Sorted declarations of switch functions into switch order. Removed duplicated comments and declarations of nonexistent switch functions.
* Restored used includes of <vm/vm_extern.h>.bde1995-12-104-0/+4
|
* Julian forgot to make the *devsw structures static.phk1995-12-087-20/+158
|
* Pass 3 of the great devsw changesjulian1995-12-087-239/+304
| | | | | | | | | | | | | | | | | | | | | | | most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :)
* Untangled the vm.h include file spaghetti.dg1995-12-071-1/+3
|
* Replaced #includes of <sys/user.h> by less gross headers, usuallybde1995-12-061-2/+3
| | | | | | | <sys/vm.h>. Many device drivers need only the definition of vtophys() from vm. Added nearby #includes of <sys/conf.h> where appropriate.
* Removed unnecessary #includes of <sys/user.h>. Some of these were justbde1995-12-061-3/+7
| | | | | | | to get the definitions of TRUE and FALSE which happen to be defined in a deeply nested include. Added nearby #includes of <sys/conf.h> where appropriate.
* Fixed ity's d_stop entry. itystop() wasn't used. itystop() is inadequatebde1995-12-051-3/+7
| | | | | | | | | | | | | but probably harmless. It's hard to tell because apparently no one runs ity. Fixed ity's d_reset entry. `nx' entries should never be used for existing devices. conf.c: Moved a prototype to a better place. Removed a stale #define.
* If you're going to mechanically replicate something in 50 filesjulian1995-11-297-20/+56
| | | | it's best to not have a (compiles cleanly) typo in it! (sigh)
* OK, that's it..julian1995-11-297-48/+372
| | | | | | | | | | | | | | | | | | | | | | | | That's EVERY SINGLE driver that has an entry in conf.c.. my next trick will be to define cdevsw[] and bdevsw[] as empty arrays and remove all those DAMNED defines as well.. Each of these drivers has a SYSINIT linker set entry that comes in very early.. and asks teh driver to add it's own entry to the two devsw[] tables. some slight reworking of the commits from yesterday (added the SYSINIT stuff and some usually wrong but token DEVFS entries to all these devices. BTW does anyone know where the 'ata' entries in conf.c actually reside? seems we don't actually have a 'ataopen() etc... If you want to add a new device in conf.c please make sure I know so I can keep it up to date too.. as before, this is all dependent on #if defined(JREMOD) (and #ifdef DEVFS in parts)
* Completed function declarations, added prototypes and removed redundantbde1995-11-212-16/+76
| | | | declarations.
* Correct some serious porting errors. The worst one was that thedyson1995-11-196-18/+82
| | | | vnode was being placed upon the mount point twice!!!
* Fixed the type of nic_listen(). A trailing arg was missing.bde1995-11-181-5/+9
| | | | Fixed calls to s_intr(). There was sometimes an extra trailing arg.
* Fixed a call to the listen function. A trailing arg was missing.bde1995-11-161-10/+16
| | | | | | | | | | | | Fixed the type of isdn_check(). A trailing arg was missing. Included "conf.h" to get some prototypes. Completed function declarations. Added prototypes. Removed some useless includes.
* Completed function declarations.bde1995-11-161-14/+41
| | | | Added prototypes.
* Fixed the type of ity_input(). A trailing arg was missing.bde1995-11-161-7/+10
| | | | | | | | Completed function declarations. Added prototypes. Removed some useless includes.
* Fixed the type of itel_input(). A trailing arg was missing.bde1995-11-161-4/+8
| | | | | | Included "conf.h" to get some prototypes. Removed some useless includes.
* Fixed the types of iioutput() and ii_input(). Trailing args were missing.bde1995-11-161-5/+12
| | | | Completed function declarations.
* Get rid of the last debug sysctl variables of the old style.phk1995-11-144-6/+6
|
* ext2_inode_cnv.c:bde1995-11-0914-48/+70
| | | | | | | | | | | | | | | Included <sys/vnode.h> and its prerequisite <sys/proc.h>, and cleaned up includes. The vop_t changes made the non-inclusion of vnode.h fatal instead of just sloppy. i386_bitops.h: Changed `extern inline' to `static inline'. `extern inline' is a Linuxism that stops things from compiling without -O. Fixed idempotency identifier. Misc: Added prototypes. Staticized some functions so that prototypes are unnecessary. Added casts. Cleaned up includes.
* Introduced a type `vop_t' for vnode operation functions and usedbde1995-11-094-270/+270
| | | | | | | | | | | | | | | it 1138 times (:-() in casts and a few more times in declarations. This change is null for the i386. The type has to be `typedef int vop_t(void *)' and not `typedef int vop_t()' because `gcc -Wstrict-prototypes' warns about the latter. Since vnode op functions are called with args of different (struct pointer) types, neither of these function types is any use for type checking of the arg, so it would be preferable not to use the complete function type, especially since using the complete type requires adding 1138 casts to avoid compiler warnings and another 40+ casts to reverse the function pointer conversions before calling the functions.
* Cleaned up some lint and some obvious prototyping errors.dyson1995-11-0814-76/+52
|
* Omitted a '#if FIFO' in ext2_vnops.cdyson1995-11-062-0/+4
| | | | Submitted by: Justin Gibbs
* Changes to existing files for ext2fs support. The UFS mods need reworkdyson1995-11-054-4/+14
| | | | | in the future as they are a bit crufty -- but at least the stuff is in the tree now.
* Main code for the ext2fs filesystem. Please refer to the COPYRIGHT.INFOdyson1995-11-0535-0/+13232
| | | | | | | | | | file for GPL restrictions. This code was ported to the BSD platform by Godmar Back <gback@facility.cs.utah.edu> and specifically to FreeBSD by John Dyson. This code is still green and should be used with caution. Additional changes to UFS necessary to make this code work will be commited seperately. Submitted by: Godmar Back <gback@facility.cs.utah.edu> Obtained from: Lites/Mach4
* Fix ufs_bmap so that triple indirect blocks might work.dyson1995-11-052-4/+4
| | | | Submitted by: Godmar Back <gback@facility.cs.utah.edu>
* Moved prototypes for devswitch functions from conf.c and driver sourcesbde1995-11-041-11/+1
| | | | | | | to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized.
* Fix select().bde1995-10-121-59/+25
| | | | | | | Remove some unused code and never-working backwards compatibility code. Add prototypes. Reviewed by: babkin@hq.icb.chel.su (Serge Babkin)
* I have applied my last changes correcting the bug in dgbselect() to itjkh1995-10-042-102/+46
| | | | | | | | | | | | and here is the patch. Submit it please. Thank you! BTW, there is a new option "NDGBPORTS". By default it is equal to NDGB*16 and means the number of ports of all Digiboards for which the tty structures are reserved. It can be set to the real value in config-file like: options "NDGBPORTS=8" Submitted by: Serge A. Babkin <babkin@hq.icb.chel.su>
OpenPOWER on IntegriCloud