aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* After wading in the cesspool of ip_input for an hour, I have managed toGarrett Wollman1999-02-091-10/+8
| | | | | | | | | | | convince myself that nothing will break if we permit IP input while interface addresses are unconfigured. (At worst, they will hit some ULP's PCB scan and fail if nobody is listening.) So, remove the restriction that addresses must be configured before packets can be input. Assume that any unicast packet we receive while unconfigured is potentially ours. Notes: svn path=/head/; revision=43802
* Remove dictHashSummary internal function; it used doubles.Jordan K. Hubbard1999-02-093-79/+0
| | | | | | | Submitted by: Daniel C. Sobral <dcs@newsguy.com> Notes: svn path=/head/; revision=43801
* Add missing poatch for ibcs2_ipc.h as well.Guido van Rooij1999-02-091-4/+14
| | | | | | | Sorry this took so long but there was a routing problem earlier today. Notes: svn path=/head/; revision=43800
* Addendum to vm_map coalesce optimization. Also, this was backed-outMatthew Dillon1999-02-091-1/+1
| | | | | | | | | because there was a concensus on current in regards to leaving bss r+w+x instead of r+w. This is in order to maintain reasonable compatibility with existing JIT compilers (e.g. kaffe) and possibly other programs. Notes: svn path=/head/; revision=43795
* Cleanup. Set all PCI parameters of importance. Set a define that willMatt Jacob1999-02-092-30/+210
| | | | | | | allow us via config options prefer mem space to I/O space. Notes: svn path=/head/; revision=43794
* Roll internal release tag. Roll core version minor. Fix broken DPARM_DEFAULTMatt Jacob1999-02-091-5/+8
| | | | | | | | | | | | | | | define. Add a new config flag param (ISP_CFG_NONVRAM) whose intent it is to cause NVRAM to be ignored. Add ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP isp_async enums. Amazingly enough, I did all my scsi_sa work recently without realizing that I had a broken isp card whose (unchangeable- it's an old old old isp1020) NVRAM has sync mode enabled, but disconnect/reconnect disabled- the ISP_CFG_NONVRAM is definitely warranted when you want to bloody well ignore the NVRAM and set something sensible. Notes: svn path=/head/; revision=43793
* clean up some NVRAM definesMatt Jacob1999-02-091-9/+5
| | | | Notes: svn path=/head/; revision=43792
* Add in defines that disable (temp) fast posting.Matt Jacob1999-02-091-3/+7
| | | | Notes: svn path=/head/; revision=43791
* Allow fibre channel 'bus resets' to go through. Handle Loop Down/Loop UpMatt Jacob1999-02-091-13/+43
| | | | | | | | events by freezing/unfreezing the simq- nice to have such control at this level! Do bus resets in attach layer (non-CAM defined code). Notes: svn path=/head/; revision=43790
* Roll internal release tag. Print out if we're in a 64 bit PCI slot.Matt Jacob1999-02-091-59/+156
| | | | | | | | | | | | | | | Use fast memory timing NVRAM parameter. Clean up and fix establishment of default target parameters. Don't use NVRAM if are flagged as not to do so (I had a busted NVRAM setup which I couldn't edit that enabled SYNC mode but disabled disconnect/reconnect and wide!!). Fix delays after resets. BUS resets not done in isp_init anymore- relegated to OS specific outer layers. Fix a buglet where you can get in a loop for a NULL xs in the completion list in isp_intr. Add in some defines that can disable fast posting. Add in code for Loop Up/Loop Down events that call into the outer layers as to what to do. Notes: svn path=/head/; revision=43789
* roll internal release tagMatt Jacob1999-02-094-10/+14
| | | | Notes: svn path=/head/; revision=43788
* add isp specific config options and explanationsMatt Jacob1999-02-093-3/+75
| | | | Notes: svn path=/head/; revision=43787
* add isp host adapter specific optionsMatt Jacob1999-02-091-1/+6
| | | | Notes: svn path=/head/; revision=43786
* Revamp vm_object_[q]collapse(). Despite the complexity of this patch,Matthew Dillon1999-02-082-210/+236
| | | | | | | | | no major operational changes were made. The three core object->memq loops were moved into a single inline procedure and various operational characteristics of the collapse function were documented. Notes: svn path=/head/; revision=43777
* Generate correct DLT_NULL headers before passing packets to bpf.Dag-Erling Smørgrav1999-02-081-30/+43
| | | | | | | | | | | | Do not modify m_len before passing mbuf chains to bpf. Don't forget to pass packets to bpf when running in Crynwr mode (LINK0). Partially based on a patch by Bill Fenner <fenner@freebsd.org>. PR: bin/7241 Notes: svn path=/head/; revision=43773
* Bring in the simplified port probe from src/sys/i386/isa/lpt.cDag-Erling Smørgrav1999-02-081-26/+20
| | | | Notes: svn path=/head/; revision=43772
* Added detection for bt848a chipsRoger Hardiman1999-02-082-10/+22
| | | | Notes: svn path=/head/; revision=43771
* Added check to bktr_mmap() from OpenBSD driver.Roger Hardiman1999-02-082-92/+166
| | | | | | | | | | | Improved MSP34xx reset for bt848 Hauppauge boards. Added detection for Bt848a. Vsevolod Lobko<seva@sevasoft.alex-ua.com> added more XUSSR channels. Submitted by: parts from Vsevolod Lobko<seva@sevasoft.alex-ua.com> Obtained from: parts from OpenBSD Notes: svn path=/head/; revision=43770
* Sync with sys/boot/i386/loader/version revision 1.3.KATO Takenori1999-02-081-1/+2
| | | | Notes: svn path=/head/; revision=43768
* remove leftover garbage line.Julian Elischer1999-02-081-2/+1
| | | | Notes: svn path=/head/; revision=43764
* Fix for PR 9309.Julian Elischer1999-02-081-1/+10
| | | | | | | | | Divert was not feeding clean data to ifa_ifwithaddr() so it was giving bad results. Submitted by: kseel <kseel@utcorp.com>, Ruslan Ermilov <ru@ucb.crimea.ua> Notes: svn path=/head/; revision=43763
* General cleanup. Remove #if 0's and remove useless register qualifiers.Matthew Dillon1999-02-081-79/+34
| | | | Notes: svn path=/head/; revision=43761
* Bumb up loader's version.Daniel C. Sobral1999-02-081-1/+2
| | | | | | | Reviewed by: Michael Smith <msmith@freebsd.org> Notes: svn path=/head/; revision=43759
* Adjust idle zero-page fill hysteresis based on tests. Use 2/3 and 4/5Matthew Dillon1999-02-086-22/+42
| | | | | | | | | | zero-fill levels. Adjust comment for ozfod in vmmeter.h - this counter represents non-optimal ( on the fly ) zero fills, not prefills. Notes: svn path=/head/; revision=43758
* Add hysteresis to alpha version of vm_page_zero_idle().Matthew Dillon1999-02-083-42/+51
| | | | Notes: svn path=/head/; revision=43753
* Rip out PQ_ZERO queue. PQ_ZERO functionality is now combined in withMatthew Dillon1999-02-088-163/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PQ_FREE. There is little operational difference other then the kernel being a few kilobytes smaller and the code being more readable. * vm_page_select_free() has been *greatly* simplified. * The PQ_ZERO page queue and supporting structures have been removed * vm_page_zero_idle() revamped (see below) PG_ZERO setting and clearing has been migrated from vm_page_alloc() to vm_page_free[_zero]() and will eventually be guarenteed to remain tracked throughout a page's life ( if it isn't already ). When a page is freed, PG_ZERO pages are appended to the appropriate tailq in the PQ_FREE queue while non-PG_ZERO pages are prepended. When locating a new free page, PG_ZERO selection operates from within vm_page_list_find() ( get page from end of queue instead of beginning of queue ) and then only occurs in the nominal critical path case. If the nominal case misses, both normal and zero-page allocation devolves into the same _vm_page_list_find() select code without any specific zero-page optimizations. Additionally, vm_page_zero_idle() has been revamped. Hysteresis has been added and zero-page tracking adjusted to conform with the other changes. Currently hysteresis is set at 1/3 (lo) and 1/2 (hi) the number of free pages. We may wish to increase both parameters as time permits. The hysteresis is designed to avoid silly zeroing in borderline allocation/free situations. Notes: svn path=/head/; revision=43752
* Backed out vm_map coalesce optimization - it resulted in 22% more pageMatthew Dillon1999-02-081-2/+2
| | | | | | | | | faults for reasons unknown ( under investigation ). /usr/bin/time -l make in /usr/src/bin went from 67000 faults to 90000 faults. Notes: svn path=/head/; revision=43751
* Change the load address of the ELF dynamic linker from "2L*MAXDSIZ"John Polstra1999-02-074-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | to an architecture-specific value defined in <machine/elf.h>. This solves problems on large-memory systems that have a high value for MAXDSIZ. The load address is controlled by a new macro ELF_RTLD_ADDR(vmspace). On the i386 it is hard-wired to 0x08000000, which is the standard SVR4 location for the dynamic linker. On the Alpha, the dynamic linker is loaded MAXDSIZ bytes beyond the start of the program's data segment. This is the same place a userland mmap(0, ...) call would put it, so it ends up just below all the shared libraries. The rationale behind the calculation is that it allows room for the data segment to grow to its maximum possible size. These changes have been tested on the i386 for several months without problems. They have been tested on the Alpha as well, though not for nearly as long. I would like to merge the changes into 3.1 within a week if no problems have surfaced as a result of them. Notes: svn path=/head/; revision=43750
* Remove MAP_ENTRY_IS_A_MAP 'share' maps. These maps were once used toMatthew Dillon1999-02-0710-114/+49
| | | | | | | | | attempt to optimize forks but were essentially given-up on due to problems and replaced with an explicit dup of the vm_map_entry structure. Prior to the removal, they were entirely unused. Notes: svn path=/head/; revision=43748
* Remove L1 cache coloring optimization ( leave L2 cache coloring opt ).Matthew Dillon1999-02-072-196/+91
| | | | | | | | Rewrite vm_page_list_find() and vm_page_select_free() - make inline out of nominal case. Notes: svn path=/head/; revision=43747
* Reorder the pcvt(4) options to the appropriate section, so i can closeJoerg Wunsch1999-02-073-33/+36
| | | | | | | | | | docs/1855. :) PR: docs/1855 Submitted by: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> Notes: svn path=/head/; revision=43746
* 1) Fix our view of how ibcs2_semid_ds looks. There is no padding int thereGuido van Rooij1999-02-072-13/+46
| | | | | | | | | | | | | | | (SVR4 does have it so that;s probably the cause of this bug) 2) Add a wrapper function for translation between ibcs2_ipc_perm and ipc_perm as I think we screwed up when defining the ipc_perm struct and mixed up 'normal' and creator [ug]id's 3) Fix IBCS2_IPC_STAT semctl. The FreeBSD version needs a union semun whereas the IBCS2 version gives a struct ibcs2_semid_ds. Apparently this is all fixed in the SVR4 compatibility code. PR: 7729 Notes: svn path=/head/; revision=43744
* Remove strange-looking quotes. This part of the code is #if'ed out,Daniel C. Sobral1999-02-071-1/+1
| | | | | | | | | | | and the variable doesn't even exist (though it is referenced elsewhere). Just make sure it produces error messages when Mike get back to it. PR: kern/9934 Submitted by: Adrian Filipi-Martin Notes: svn path=/head/; revision=43738
* When shadowing objects, adjust the page coloring of the shadowing objectMatthew Dillon1999-02-071-1/+6
| | | | | | | | | | such that pages in the combined/shadowed object are consistantly colored. Submitted by: "John S. Dyson" <dyson@iquest.net> Notes: svn path=/head/; revision=43729
* Hmm- I must be blind. There *was* already an appropriate typedef stillMatt Jacob1999-02-061-2/+1
| | | | | | | | left there. The typedef that was inserted negated the correct typedef. This may have just been cvs automerge foo. Sorry. Notes: svn path=/head/; revision=43721
* I don't know what happened here- I submitted a *working* patch forMatt Jacob1999-02-061-2/+3
| | | | | | | | | | alpha to John Polstra yesterday and it was checked in. Then there was a bunch of CVS activity, and it ended up with the *broken* prototype being reinserted. All I see in the history is 'style nits' as a comment, and I certainly agree with the latter of those two words. Notes: svn path=/head/; revision=43719
* Changed to use IICBUS_REPEATED_STARTRoger Hardiman1999-02-061-2/+2
| | | | | | | Submitted by: Changed to use IICBUS_REPEATED_START Notes: svn path=/head/; revision=43714
* Make it possible to use lo0 as an internal IPX network. This is usefullJohn Hay1999-02-063-7/+6
| | | | | | | | | for mars_nwe server and nwfs. PR: 9871 Submitted by: Boris Popov <bp@butya.kz> Notes: svn path=/head/; revision=43712
* Don't use the pointer returned by MALLOC before checking if it is NULL.John Hay1999-02-061-3/+3
| | | | | | | | PR: 9871 (part of it) Submitted by: Boris Popov <bp@butya.kz> Notes: svn path=/head/; revision=43711
* Sync with syscons for i386.KATO Takenori1999-02-064-32/+100
| | | | | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Notes: svn path=/head/; revision=43709
* Added underscores to some names in svr4_locore.s so that it compilesBruce Evans1999-02-062-9/+10
| | | | | | | | | | | | | | | | | with -aout. Added translation back to elf names in asnames.h as usual. The elf names were inconsistent in the aout case even internally because a macro adds an underscore to just one of them. Removed commented out code for a previous life of `svr4_esigcode'. Didn't add an underscore to `svr4_esigcode' since it is correct for aout although wrong for elf, like most internal names in assembler files. These names should be in a different namespace so that gprof can ignore them. Fixed some disorder in asnames.h. Notes: svn path=/head/; revision=43706
* Flush delayed-write data out prior to issuing a rename rpc. This appearsMatthew Dillon1999-02-062-2/+28
| | | | | | | | | to fix the problem w/ NFSV3 whereby a make installworld would get into high-network-bandwidth situations continuously trying to retry nfs writes that fail with a 'stale file handle' error. Notes: svn path=/head/; revision=43705
* Honor ${LDFLAGS} for building svr4_genassym. This is part of fixingBruce Evans1999-02-061-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | world breakage (mainly for cross-world cases). The world Makefile attempts to build tools static so that nonexistent or wrong shared libraries and interpreters don't get used. This is broken anyway since the world Makefile doesn't know about svr4_genassym. Force building svr4_genassym static. This is part of "fixing" aout-to-elf-build breakage. aout-to-elf-build abuses NOTOOLS to avoid rebuilding all the aout tools. This saves time and avoids some complications. However, it breaks all the internal tools -- they get linked to target libraries which might not work. Cases where the host can run the target's static libraries are "fixed" by encrufting all Makefiles that build internal tools to build the tools static. Don't add .depend to CLEANFILES -- it just breaks the separation of `make cleandepend' from `make clean'. Removed some superflous explicit dependencies. Notes: svn path=/head/; revision=43704
* Add hysteresis to the 'swap_pager_getswapspace; failed' console message.Matthew Dillon1999-02-061-5/+9
| | | | | | | | Also widen the hysteresis levels a little ( these really should be dynamically configured ). Notes: svn path=/head/; revision=43700
* Back out rev 1.89. The #include is necessary for the #if that testsPeter Wemm1999-02-061-2/+2
| | | | | | | | | the value that config(8) provides when intpm is configured. It seems that somebody forgot to rerun config at the time and commented this out instead. Notes: svn path=/head/; revision=43692
* Use snd_nxt, not rcv_nxt, when calculating the ISS during TIME_WAIT.Bill Fenner1999-02-062-4/+4
| | | | | | | | | | | This was missed in the 4.4-Lite2 merge. Noticed by: Mohan Parthasarathy <Mohan.Parthasarathy@eng.Sun.COM> and jayanth@loc201.tandem.com (vijayaraghavan_jayanth) on the tcp-impl mailing list. Notes: svn path=/head/; revision=43691
* Correct an "&" operator which should have been "&&".John Polstra1999-02-051-2/+2
| | | | | | | Submitted by: mjacob Notes: svn path=/head/; revision=43687
* Style nit: sort elf_brand_inuse() prototype in with the others.Mark Newton1999-02-051-2/+3
| | | | | | | | | Prototype also needed to be added for !ELFCLASS32 case. Submitted by: bde Notes: svn path=/head/; revision=43678
* Oops, the last commit contained a wrong patch. This is the correct one.Kazutaka YOKOTA1999-02-053-16/+61
| | | | Notes: svn path=/head/; revision=43674
* Followup to yokota's last commit:Dag-Erling Smørgrav1999-02-058-26/+28
| | | | | | | | - va_mode_flags -> va_info.vi_flags - scanline width may be different from screen width Notes: svn path=/head/; revision=43673