summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Untangled the vm.h include file spaghetti.dg1995-12-07163-241/+742
|
* Update the -current sources from the 2.1 branch.peter1995-12-07136-8774/+11783
| | | | Approved (in spirit) by: jkh
* Implement detection of whether or not bounce-buffering is requiredpeter1995-12-071-3/+10
| | | | | | | | | | | | for the particular card in use. At the moment, I've set it to any of the bt445S VLB cards (not the bt445C which apparently work) and the bt5xx series (isa cards). The 742 and PCI cards should not need it. :-) It may be useful to have something like this: #ifndef BOUNCE_BUFFERS if (bounce_buffers_required && more_than_16MB_ram) panic("this card requires bounce buffers for more than 16MB ram!") #endif
* Replaced #includes of <sys/user.h> by less gross headers, usuallybde1995-12-0621-40/+66
| | | | | | | <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-0621-37/+27
| | | | | | | 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.
* Removed unnecessary #includes of vm stuff. Most of them were oncebde1995-12-069-23/+9
| | | | | | | prerequisites for <sys/sysctl.h>. subr_prof.c: Also replaced #include of <sys/user.h> by #include of <sys/resourcevar.h>.
* Don't #include vm stuff in vnode_if.[ch]. Enough vm stuff (abde1995-12-063-18/+3
| | | | | | | | | single typedef) is now declared in <sys/types.h>. This is the first of 4 commits that will remove some excessive includes of vm*.h and user.h. The total speed improvement isn't as large as I first thought. `make depend; make' for LINT only improved from 2180 seconds to 2108 seconds user time.
* Added explicit #include of <vm/vm.h> so that conf.c doesn't break whenbde1995-12-061-1/+3
| | | | vnode_if.h doesn't include vm stuff.
* Typo corrected: 127.0.0.0 --> 127.0.0.1jfieber1995-12-061-2/+2
| | | | Submitted by: Daniel Pflager <dpflag@usin.com>
* Fixed compilation of lfs utilities which I broke the other day bybde1995-12-062-7/+15
| | | | #including lfs_extern.h and goop to support it in lfs_conv.c.
* Include <vm/vm.h> explicitly to avoid breaking when vnode_if.h doesn'tbde1995-12-062-2/+4
| | | | include vm stuff.
* Set default burst length limit to 32 bytes, since this seems to bese1995-12-062-4/+6
| | | | | | an acceptable value for all current chip sets (just a hint to PCI device drivers, used in the NCR driver, for example). Add PCI Vendor ID of ACER.
* A couple of minor tweaks to the sysctl stuff.phk1995-12-066-24/+60
|
* Moving the kern.dumpdev sysctl handler from kern_sysctl.c to swapgeneric.cpeter1995-12-063-22/+39
| | | | | | | | is not real helpful since swapgeneric.c doesn't seem to be used, except perhaps on a GENERIC kernel. (Sorry Paul.. :-) I've moved it from swapgeneric.c to autoconf.c, since autoconf.c also deals with dumpdev things. There may be a better place.....
* Make sendmail's setproctitle() use PS_STRINGS rather than smashpeter1995-12-062-5/+4
| | | | | the argv. It appears that this once didn't work, but now it seems to work just fine.
* Initialize some uninitialized variables to fix a bug that sometimesdg1995-12-061-1/+1
| | | | | resulted in msgs doing strange things, including getting stuck in an infinite loop.
* Include <vm/vm.h> or <vm/vm_page.h> explicitly to avoid breaking whenbde1995-12-054-4/+10
| | | | vnode_if.h doesn't include vm stuff.
* Added explicit include of <sys/queue.h>. Currently, some things onlybde1995-12-051-1/+3
| | | | | compile because <vm/vm.h> happens to be gratuitously included before <netinet/in_pcb.h> and <vm/vm.h> happens to include <sys/queue.h>.
* Define FALSE and TRUE in <sys/param.h> (if KERNEL is defined) as wellbde1995-12-051-1/+4
| | | | | | as in <vm/vm_param.h> so that <vm/vm.h> doesn't have to be included in kernel sources just to get the definitions of these fundamental vm (;-) quantities.
* Moved the declaration of vm_object_t from <vm/vm.h> to <sys/types.h>bde1995-12-052-2/+13
| | | | | | (if KERNEL is defined). This allows removing the #includes of vm stuff in vnode_if.h, which will speed up the compilation of LINT by about 5%.
* Renamed TRUE (which has value 2) to M_TR to avoid a clash with thebde1995-12-051-33/+33
| | | | the boolean TRUE.
* Fixed ity's d_stop entry. itystop() wasn't used. itystop() is inadequatebde1995-12-052-7/+10
| | | | | | | | | | | | | 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.
* Moved some prototypes to a better place.bde1995-12-051-5/+66
| | | | | | | | Removed stale prototypes. Added prototypes. Added empty lines.
* Moved prototypes for rawread(), rawrite() and setconf() to a better place.bde1995-12-052-10/+18
| | | | Restored order.
* Removed dummy routines sscstrategy(), sscread(), sscwrite() andbde1995-12-052-17/+9
| | | | | | | | | sscselect(). Use the standard dummies nostrategy(), noread(), nowrite() and noselect() instead. sscread() and sscwrite() returned bogus errnos. It isn't possible to return an error from a select routine so noselect() is just as bogus as sscselect() (it's equivalent to nullselect()).
* Restored #include of <sys/tty.h>. fdesc_vnops.c needs to know too muchbde1995-12-052-4/+4
| | | | about tty_tty.c's cdevswitch functions.
* Path MTU Discovery is now standard.wollman1995-12-058-41/+37
|
* Updated my copyright.dg1995-12-052-130/+190
| | | | | | | | Fixed two cases of "=" that should have been "==" in card type comparison. Simplified expression that checks for interface up/down. Moved ed_ring_copy to before its first use so that it's inlined as intended. Change mbuf allocation policy so that a received packet is stored in just an mbuf header (no cluster) if it will fit in one.
* Increased the number of Tx segments from 13 to 29 to reduce the need todg1995-12-054-16/+68
| | | | | recopy to near zero. Wrote the necessary code to recopy the mbuf chain into another buffer if there are too many mbufs in the chain.
* Submitted by: John Hayjulian1995-12-051-6/+7
| | | | more IPX related fixes
* fix a couple of stuffups in the worm driver and in other associated scsi filesjulian1995-12-054-35/+13
|
* Submitted by: john hayjulian1995-12-052-4/+5
| | | | | | | | | | | | | | | >From jhay@mikom.csir.co.za Mon Dec 4 09:48:12 1995 Subject: Yet another IPXrouted fix I think these should should make IPXrouted fairly stable. These last problems only showed when we had more than one route of the same cost to a net. This will fix some endless loops in the clone code. John -- John Hay -- John.Hay@csir.co.za
* If the open fails, don't mark the device as open (duh!)julian1995-12-051-2/+2
| | | | | symptom:.. once an open of a 'can only open it once' device fails.. you can never open it again, as it was marked open but wasn't open..
* 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!).
* Add David O'Brien (obrien@cs.ucdavis.edu) for his immesurable contributionasami1995-12-051-1/+2
| | | | of a vim port.
* Gobs of small tweaks and cleanups.jfieber1995-12-0412-100/+107
| | | | Submitted by: Philippe Charnier <charnier@lirmm.fr>
* 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.
* Whitespace change - cosmetic alignment only.peter1995-12-042-6/+6
|
* The npx0 device is NOT optional.jfieber1995-12-042-11/+9
| | | | A few other minor tweaks.
* Submitted by: John Hayjulian1995-12-043-5/+9
| | | | patches to allow correct deletion of IPX routes
* Add in Gary's custom Received: line into the freefall.mcpeter1995-12-042-2/+8
|
* Add "majordom" to trusted user class for freefall's sendmail.mc file.peter1995-12-042-2/+4
| | | | | | | Sigh, I really hate this "feature". I'm tempted to comment the test out (like in sendmail 8.6.xx), especially since we log the info in the Received: header line anyway.. Doing it like this only makes it painful for things like uucp..
* Remove the part about recommending to put the version number inasami1995-12-041-6/+4
| | | | | pkg/DESCR. As in COMMENT, it is not necessary, as we already have it in ${PKGNAME}.
* Modify the handbook to reflect the re-addition of the SLIP link optionsnate1995-12-041-9/+9
| | | | to sliplogin.
* Added support for the slip.hosts options 'normal', 'compress', 'noicmp',nate1995-12-043-6/+86
| | | | | | and 'autocmp'. Obtained from: (mostly) slattach and (slightly) 1.X
* Close PR: kern/865jkh1995-12-041-1/+3
| | | | Submitted by: Juergen Lock <nox@jelal.hb.north.de>
* mountdbtab -> mountdtab; whoops!jkh1995-12-042-2/+4
| | | | A small extra diagnostic for loading packages.
* 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.
OpenPOWER on IntegriCloud