summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Sync with sys/i386/conf/GENERIC revisions 1.258 and 1.259.nyan2000-07-041-2/+2
|
* Previous commit changing SYSCTL_HANDLER_ARGS violated KNF.phk2000-07-0463-131/+131
| | | | Pointed out by: bde
* Fix the "almost clone" semantics.phk2000-07-041-6/+11
|
* Replace the PQ_*CACHE options with a single PQ_CACHESIZE option that youjhb2000-07-044-26/+38
| | | | | | | set equal to the number of kilobytes in your cache. The old options are still supported for backwards compatibility. Submitted by: Kelly Yancey <kbyanc@posi.net>
* Get userland visible flags added for snapshots to give a few daysmckusick2000-07-043-5/+40
| | | | | | advance preparation for them to get migrated into place so that subsequent changes in utilities will not fail to compile for lack of up-to-date header files in /usr/include.
* Simplify and rationalise the management of the vnode free listmckusick2000-07-044-159/+65
| | | | (preparing the code to add snapshots).
* Move the truncation code out of vn_open and into the open system callmckusick2000-07-0416-75/+95
| | | | | | | | | | after the acquisition of any advisory locks. This fix corrects a case in which a process tries to open a file with a non-blocking exclusive lock. Even if it fails to get the lock it would still truncate the file even though its open failed. With this change, the truncation is done only after the lock is successfully acquired. Obtained from: BSD/OS
* If a buffer flush fails when trying to reclaim a vnode, it is toomckusick2000-07-042-8/+20
| | | | | late to save the vnode, so just toss any remaining unwritten buffers rather than leaving them lying around to make trouble in the future.
* A side effect of new 12160 f/w- there is only one set whether targetmjacob2000-07-041-4/+1
| | | | mode enabled or not now (like the FC cards).
* roll new Qlogic 2200 firmware in placemjacob2000-07-041-4473/+5181
|
* roll new Qlogic 2100 firmware in placemjacob2000-07-041-3952/+4556
|
* roll new 12160.h firmware in placemjacob2000-07-041-3928/+2336
|
* Remove obsolete isp_dogactive tag.mjacob2000-07-041-1/+1
|
* Fix completely stupid and idiotiuc sprintfs in isp_inline.h withmjacob2000-07-041-36/+19
| | | | with the STRNCAT function.
* Add in config_hook for catching when interrupts are safe- this allowsmjacob2000-07-041-72/+91
| | | | | | us to not the ints are ok and also to (re)ENABLE isp interrupts. Remove all splcam()/splx() invocates and replace them with ISP_LOCK/ISP_UNLOCK macros.
* Add in isp_lock/isp_unlock inlines. Add in an islocked/intsok flagmjacob2000-07-041-9/+82
| | | | | | | | | to isp_osinfo substructure (all in prep for SMP). Define MBOX_WAIT_COMPLETE and MBOX_NOTIFY_COMPLETE macros so that we can now (temp) use tsleep to wait for mailbox completion. Requires us to guess whether we're servicing an interrupt or not- will use intr_nesting_level. Add local strncat function.
* Change delay loop in new isp_mboxcmd to the use of the new MBOX_WAIT_COMPLETEmjacob2000-07-041-7/+2
| | | | | macro. Change notification of completion of a mailbox command in isp_intr to MBOX_NOTIFY_COMPLETE macro.
* Change startup locking. Use new isp_handle_index functionmjacob2000-07-042-40/+32
| | | | for indexing off of handles to get dma maps.
* Update tags directive to reflect the new location of soft updatesmckusick2000-07-043-7/+5
| | | | and the reorganization of the eisa directory.
* do-nothing module that depends on all sound driverscg2000-07-031-0/+70
|
* add module metadata. this is a hack, sound drivers will eventually present acg2000-07-0319-27/+85
| | | | bus to which pcm, mixer, etc will attach.
* Pull the rug under block mode devices. they return ENXIO on open(2) now.phk2000-07-034-8/+6
|
* Experiemntal ascii based device configuration mechanism.phk2000-07-032-0/+9
| | | | This may or may not survive, decision will be made well before 5.0-R
* Make the two calls from kern/* into softupdates #ifdef SOFTUPDATES,phk2000-07-035-15/+12
| | | | | | | that is way cleaner than using the softupdates_stub stunt, which should be killed when convenient. Discussed with: mckusick
* Include SOFTUPDATES in NOTES/LINT by default.phk2000-07-032-10/+2
|
* Account for packets we clean out when we disconnect.phk2000-07-031-1/+3
|
* Add device_set_softc() which does the obvious.phk2000-07-033-7/+23
| | | | Not objected to by: dfr
* Style police catches up with rev 1.26 of src/sys/sys/sysctl.h:phk2000-07-0363-135/+135
| | | | | | | | Sanitize SYSCTL_HANDLER_ARGS so that simplistic tools can grog our sources: -sysctl_vm_zone SYSCTL_HANDLER_ARGS +sysctl_vm_zone (SYSCTL_HANDLER_ARGS)
* Instead of just blindly setting -rw-rw-rw-:chris2000-07-021-2/+11
| | | | | | | | | o Set access mode to -r--r--r-- if SS_CANTRCVMORE is set and the receive buffer is empty. o Set access mode to --w--w--w- is SS_CANTSENDMORE is set. Discussed with: alfred
* - Various comment fixes and additions.groudier2000-07-022-267/+62
| | | | | | | | | | - Add 2 explicit (paranoid?) memory barriers in the interrupt code (After the reading of the `flag' and prior to looking at the data, of course. :-) ). - Remove obsolete informations from the README.sym file. This commit actually results in no object difference for IA32, but 2x`mb' added for Alpha.
* Report -rw-rw-rw file access modes in soo_stat.chris2000-07-021-1/+2
| | | | Reviewed by: alfred
* This is the patch to make my soundcard, a Creative Ensoniq AudioPCI (anroberto2000-07-021-3/+6
| | | | | | es1371 chip, device id 0x58801274 rev 0x02). Submitted by: Kenneth Wayne Culver <culverk@wam.umd.edu>
* Modify ktrace's general I/O tracing, ktrgenio(), to use a struct uio *green2000-07-026-69/+108
| | | | | | | | | | | | | instead of a struct iovec * array and int len. Get rid of stupidly trying to allocate all of the memory and copyin()ing the entire iovec[], and instead just do the proper VOP_WRITE() in ktrwrite() using a copy of the struct uio that the syscall originally used. This solves the DoS which could easily be performed; to work around the DoS, one could also remove "options KTRACE" from the kernel. This is a very strong MFC candidate for 4.1. Found by: art@OpenBSD.org
* Fix my own style bugs (use of spaces instead of tabs for indentation).bsd2000-07-013-54/+54
| | | | This is a style-only change.
* Previous commit didn't work; this time really fix it.archie2000-06-301-14/+0
|
* Provide forward declarations for struct ifnet and struct mbufarchie2000-06-291-0/+3
| | | | to avoid compiler warnings.
* Fix kernel build breakage when 'device ether' was not included.archie2000-06-293-13/+3
|
* Move the securelevel check before loading KLD's into linker_load_file(),archie2000-06-293-12/+10
| | | | | | | | instead of requiring every caller of linker_load_file() to perform the check itself. This avoids netgraph loading KLD's when securelevel > 0, not to mention any future code that may call linker_load_file(). Reviewed by: dfr
* - MSDOSFS can do both FAT _and_ FAT32. Since the name "MSDOS" might bealex2000-06-292-6/+6
| | | | | confusing, explecitely mention this. - softupdates' README is no longer in contrib/softupdates. Fix new location.
* Move #ifdef to the right place.bp2000-06-291-1/+1
|
* Change the fault message to say 'BTX halted' isntead of 'System halted' tojhb2000-06-292-2/+2
| | | | | | avoid confusion. Submitted by: George Scott <George.Scott@its.monash.edu.au>
* Only try to detect Linksys PCMCIA cards when we are in a pccardps2000-06-293-22/+18
| | | | | | environment. This fixes the breakage to ISA ethernet cards. Reviewed by: peter
* Increment __FreeBSD_version to mark perl5 upgrade in -current. (Iasami2000-06-291-1/+1
| | | | | know, a little late, but snaps with the new perl5 aren't showing up yet so it should still help.)
* Add randomdev_load="NO"ache2000-06-291-0/+1
|
* If kernel compiled with INVARIANTS:bp2000-06-291-0/+24
| | | | | | | | On unload, remove references from freelist to memory type defined by module. Print a warning if module defines and allocate its own memory type, but didn't free it all on unload. Reviewed by: peter
* remove breakage that snuck in with my last commitgallatin2000-06-291-1/+0
| | | | pointed out by: peter
* Rework the detecting of the rdmsr and wrmsr instructions in the v86jhb2000-06-292-14/+14
| | | | | monitor so that the codepath is cleaner and easier to maintain in the future.
* Fix memory leakage on module unload.bp2000-06-296-2/+24
| | | | Spotted by: fixed INVARIANTS code
* Fix memory leakage on module unload.bp2000-06-296-2/+24
| | | | Spotted by: fixed INVARIANTS code
* Add device_identify methods so that we do not need thepeter2000-06-282-36/+43
| | | | | hint.sc.0.at=isa and hint.vga.0.at=isa hints in order for these to probe/attach.
OpenPOWER on IntegriCloud