summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* all:dg1995-12-0529-549/+367
| | | | | | | | | | | | | | | | Removed ifnet.if_init and ifnet.if_reset as they are generally unused. Change the parameter passed to if_watchdog to be a ifnet * rather than a unit number. All of this is an attempt to move toward not needing an array of softc pointers (which is usually static in size) to point to the driver softc. if_ed.c: Changed some of the argument passing to some functions to make a little more sense. if_ep.c, if_vx.c: Killed completely bogus use of if_timer. It was being set in such a way that the interface was being reset once per second (blech!).
* aargh! I tested JREMOD, only to discover that the "good oil" part ofpeter1995-12-042-6/+6
| | | | it for si.c was accidently inside some #ifdef DEBUG code....
* A major sweep over the sysctl stuff.phk1995-12-0414-169/+493
| | | | | | | | | | | | | Move a lot of variables home to their own code (In good time before xmas :-) Introduce the string descrition of format. Add a couple more functions to poke into these marvels, while I try to decide what the correct interface should look like. Next is adding vars on the fly, and sysctl looking at them too. Removed a tine bit of defunct and #ifdefed notused code in swapgeneric.
* Close PR: kern/865jkh1995-12-041-1/+3
| | | | Submitted by: Juergen Lock <nox@jelal.hb.north.de>
* Added a prototype.bde1995-12-031-2/+3
| | | | | | Declared dsioctl() as static consistently. Note that both if_disc.c and subr_diskslice.c use the same prefix `ds' and there is a name conflict for dsioctl().
* Fixed the type mismatch in check for the bogus mmap function `nullop'.bde1995-12-031-3/+5
| | | | | The test should never succeed and should go away. Temporarily print a warning if it does succeed.
* Added prototypes.bde1995-12-031-5/+6
| | | | | | Staticized. Moved a NULL-initialized variable to the bss.
* __purified pmap_pte(). This seems to make no difference.bde1995-12-032-4/+4
|
* Completed function declarations and/or added prototypes.bde1995-12-036-24/+62
|
* Oops, the last commit left a redundant declaration.bde1995-12-031-3/+1
|
* Staticized.bde1995-12-032-90/+74
| | | | | | | | | | Completed function declarations and added prototypes. Cleaned up prototypes. Cleaned up #includes. Removed unused variable `dkn'.
* Added prototypes.bde1995-12-036-64/+158
| | | | | | | | | cd9660_rrip.c: Added lots of bogus casts to hide type errors exposed by the prototypes. (Different structs are assumed to have a common prefix.) cd9660_vnops.c: Finished staticizing.
* Added prototypes.bde1995-12-038-10/+60
|
* Added prototypes.bde1995-12-0327-55/+426
| | | | Removed some unnecessary #includes.
* null_node_find() and umap_node_find() were sometimes called without abde1995-12-034-8/+8
| | | | `struct mount *' arg. I don't know what the effects of this were.
* Moved inline functions for insque() and remque() to <sys/queue.h>.bde1995-12-039-75/+62
| | | | | | | Protected them with `#ifdef KERNEL' so that <sys/queue.h> is valid C++. Added the necessary #includes of <sys/queue.h>. These functions are bogus and should be replaced by the queue macros.
* Completed function declarations and/or added prototypes.bde1995-12-035-22/+63
| | | | | | | | | Staticized some functions. __purified some functions. Some functions were bogusly declared as returning `const'. This hasn't done anything since gcc-2.5. For later versions of gcc, the equivalent is __attribute__((const)) at the end of function declarations.
* Completed function declarations and/or added prototypes and/or #includesbde1995-12-035-17/+29
| | | | to get the prototypes.
* Removed unused thread support (partly to get rid of its incompletebde1995-12-032-92/+4
| | | | | | function declarations). Removed unused #includes (lots of vm ones).
* Completed function declarations and/or added prototypes and/or movedbde1995-12-0316-253/+364
| | | | prototypes to the right place.
* malloc.h: add sysctl class.phk1995-12-022-3/+7
| | | | | | sysctl.h add "AUTO" OID. both of which will be need RSN.
* I don't know what I messed up in 1.40, but the crynwr mode didn't make it.phk1995-12-021-25/+224
| | | | Here it is then, I hope.
* Completed function declarations and/or added prototypes.bde1995-12-0210-15/+87
|
* Fixed call to mrt_ioctl(). mrt_ioctl() for some reason has differentbde1995-12-021-1/+5
| | | | number of args when MROUTING is defined.
* Completed function declarations and/or added prototypes.bde1995-12-0216-29/+60
|
* staticize.phk1995-12-022-54/+54
|
* Finished (?) cleaning up sysinit stuff.bde1995-12-0217-130/+78
|
* Staticized.bde1995-12-023-7/+11
| | | | Added prototypes.
* I fixed this before than committed it on my machine and not on freefall.julian1995-12-021-5/+5
| | | | (window confusion)
* Submitted by: Heikki Suonsivujulian1995-12-021-8/+8
| | | | Made the pty devices creates in devfs match the present MAKEDEV naming
* A quick fix for a problem that will go away in a few days anyway..julian1995-12-011-2/+2
|
* Fix minor bug that would cause the packet statistics updates to stopdg1995-12-012-48/+150
| | | | | working under extremely rare circumstances. Also added some additional comments..
* remove typojulian1995-12-011-2/+1
|
* Add definition of PROT_NONE=0 for compatibility with SunOS/Solaris/Linux ...se1995-11-301-1/+2
| | | | Reviewed by: julian
* Submitted by: jb@cimlogic.com.au (John Birrell)julian1995-11-301-2/+2
| | | | | | | Obtained from: NetBSD as well (He submitted it there too) make sure that teh shm region is beyond the sum of the text and data segs as it was big progs could collide with the shm region.
* Fix support for QIC_3080 drives...it 1/2 worked before.pst1995-11-302-2/+5
|
* A pair of really tiny patches that not only allow it all to compilejulian1995-11-302-7/+7
| | | | | | | | | but also IT ACTUALLY WORKS! FreeBSD with options JREMOD now runs with no entries in the devsw tables prior to the devices puting their own entries there.. Thanks to bde and terry for thoughts and comments. next stop 'Real' devfs support in devices.
* Fix my color/attr separation patch.ache1995-11-303-9/+9
| | | | Swap foreground/background logic to allow DIM REVERSE
* Delete obnoxious uprintf()s in load/unload procedures.wollman1995-11-2910-30/+10
|
* GENERIC - Add a commented out line for adding support for IBM ThinkPadnate1995-11-295-2/+12
| | | | | | | keyboards LINT - Add SCANSET=2 support to the LINT kernel and comments reflecting it's purpose.
* Add some comments above the npx0 device to make it even more obviousnate1995-11-293-3/+24
| | | | that it is a mandatory device.
* Fix Pentium CPU rate diagnosis:wollman1995-11-2910-89/+91
| | | | | | | | | | | | - Don't print out meaningless iCOMP numbers, those are for droids. - Use a shorter wait to determine clock rate to avoid deficiencies in DELAY(). - Use a fixed-point representation with 8 bits of fraction to store the rate and rationalize the variable name. It would be possible to use even more fraction if it turns out to be worthwhile (I rather doubt it). The question of source code arrangement remains unaddressed.
* Disallow LKM manipulations when in seure mode.wollman1995-11-291-17/+11
| | | | Noticed by: bde
* Don't staticize again (twice).bde1995-11-292-8/+10
| | | | Cleaned up includes.
* missed one..julian1995-11-291-0/+42
| | | | | | thanks jim.. (actually I was already aware I'd missed it, but hadn't started searching for it :)
* Restored my old changes which were clobbered by the previous commit.bde1995-11-291-4/+7
| | | | | Added prototypes. The previous version wouldn't have compiled if prototypes were in scope.
* Removed builtin list of port addresses. The address for sio3bde1995-11-293-30/+15
| | | | | | | | | | conflicted with S3 graphics cards. Now users should put sio[2-3] in the config file if the hardware exisst, even if the probe is certain to fail due to an interrupt conflict. Otherwise, ports sharing the interrupt may fail the probe if the system is warm booted while sio[2-3] are active (perhaps under another OS). The same problem for nonstandard ports is now handled better than before.
* If you're going to mechanically replicate something in 50 filesjulian1995-11-2977-149/+202
| | | | it's best to not have a (compiles cleanly) typo in it! (sigh)
* #ifdef out nearly the entire file of conf.c when JREMOD is definedjulian1995-11-294-7/+42
| | | | | | | | | | add a few safety checks in specfs because now it's possible to get entries in [cd]devsw[] which are ALL NULL so it's better to discover this BEFORE jumping into the d_open() entry.. more check to come later.. this getsthe code to the stage where I can start testing it, even if I haven't caught every little error case... I guess I'll find them quick enough..
* A test was backwards.phk1995-11-292-4/+6
| | | | Noticed by: Cheng, Hsiao-Yang <sycheng@cis.ufl.edu>
OpenPOWER on IntegriCloud