summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* add suspend/resume for yamaha chipscg2000-07-301-0/+75
| | | | Submitted by: Ira L Cooper <ira@MIT.EDU>
* Allow use of TSC even if APM is compiled in but disabled.phk2000-07-305-5/+30
|
* fix a potential local DoS attackcg2000-07-302-2/+13
|
* fix a bug where opening /dev/dsp twice resulted in it being busy until rebootcg2000-07-301-0/+3
|
* Spell the word 'limited' with only one 't'.steve2000-07-302-2/+2
|
* Merged from sys/dev/syscons/scterm-sc.c revisions from 1.8 to 1.12.nyan2000-07-302-32/+74
|
* Merged from sys/dev/syscons/syscons.c revision 1.344.nyan2000-07-301-1/+2
|
* Merged from sys/boot/i386/btx/btx/btx.s revisions from 1.18 to 1.22.nyan2000-07-302-12/+74
|
* do the ac97 init delay for all chips and increase it to 500mscg2000-07-301-2/+3
|
* Regen. (Fix SYS_exit)peter2000-07-2923-39/+39
|
* Sigh. Fix SYS_exit problems. I misunderstood the significance of thesepeter2000-07-297-7/+7
| | | | trailing options.
* Remove this file incase of further confusion.ps2000-07-291-142/+0
|
* Move RAID controllers to the same position as in i386 GENERIC.obrien2000-07-292-8/+8
|
* Revert previous commit. Not all RAID controllers are SCSI.obrien2000-07-292-12/+10
|
* Move the RAID controllers next to the SCSI controllers.obrien2000-07-292-10/+12
|
* Make the bridge_refresh operation automatic when ethernet interfacesnsayer2000-07-293-1/+14
| | | | are attached or detached.
* Add the RAID controller that are known to work (or did on last test).obrien2000-07-292-0/+8
| | | | Reviewed by: msmith
* Comment out `ncr' as `sym' handles all that `ncr' does.obrien2000-07-294-8/+8
| | | | | | | (only commented out to make it easy for people to find it that really wants it.) Asked for by: Peter
* Regenerate with makesyscalls.shpeter2000-07-2923-41/+41
|
* Change the 'exit()' system call to 'sys_exit()'. This avoids overlappingpeter2000-07-299-11/+9
| | | | | | gcc's internal exit() prototypes and the (futile) hackery that we did to try and avoid warnings. main() was renamed for similar reasons. Remove an exit related hack from makesyscalls.sh.
* "Fix" cast qualifier warnings using the uintptr_t intermediate trick.peter2000-07-282-6/+12
|
* Fix the #ifdef VFS_AIO to not compile a whole bunch of unused stuff in thepeter2000-07-281-7/+34
| | | | | | !VFS_AIO case. Lots of things have hooks into here (kqueue, exit(), sockets, etc), I elected to keep the external interfaces the same rather than spread more #ifdefs around the kernel.
* Fix a warning re: a potentially unused pccard helper functionpeter2000-07-282-0/+4
|
* Fix warning - isa/isavar.h is a prerequisite for isa/pnpvar.hpeter2000-07-282-6/+2
|
* Fix a const related warning.peter2000-07-281-1/+1
|
* Fix some style nits.peter2000-07-281-10/+13
| | | | Fix(?) some compile warnings regarding const handling.
* Fix warnings - make kevent args in comment match those in syscalls.master.peter2000-07-281-4/+4
| | | | Deal with consts.
* Minor tweak - removed unused variable 'struct mount *mp';peter2000-07-281-1/+0
|
* Minor change: fix warning - move a 'struct vnode *vp' declaration inside apeter2000-07-281-0/+2
| | | | #ifdef DIAGNOSTIC to match its corresponding usage.
* Fix a warning that has been annoying me for some time:peter2000-07-281-1/+1
| | | | | | | "kern/sys_generic.c:358: warning: cast discards qualifiers from pointer target type" The idea for using the uintptr_t intermediate cast for de-constifying a pointer was hinted at by bde some time ago.
* Minor cleanups:peter2000-07-282-55/+19
| | | | | | - remove unused variables (fix warnings) - use a more consistant ansi style rather than a mixture - remove dead #if 0 code and declarations
* o Modify extattr_{set,get}() syscalls so that partial reads and writesrwatson2000-07-282-2/+10
| | | | | | | | | | | | | with an error condition such as EINTR, EWOULDBLOCK, and ERESTART, are reported to the application, not silently conceal. This behavior was copied from the {read,write}v() syscalls, and is appropriate there but not here. o Correct a bug in extattr_delete() wherein the LOCKLEAF flag is passed to the wrong argument in namei(), resulting in some unexpected errors during name resolution, and passing in an unlocked vnode. Obtained from: TrustedBSD Project
* Rename the loadable nullfs kernel module: null -> nullfssheldonh2000-07-284-4/+4
|
* Merged from sys/dev/syscons/syscons.c revision 1.345.kato2000-07-281-2/+1
|
* Fix if_types.h as per the IANA assignments with regard to IPv6.asmodai2000-07-281-4/+8
| | | | | | | | | | | | | | | gif/faith/stf moved to 0xfN entries, since their previous location is allocated to some other interfaces. Also add the IFT_PVC, which is the ATM PVC subinterface from ALTQ. This also syncs us up a bit to NetBSD again. This change requires a total recompilation of all kmem users, as itojun told me. Next in line is synching to the IANI SMI list. Approved by: itojun
* Fix GENERIC_MOUSE_ENTRY.yokota2000-07-282-2/+2
| | | | Submitted by: Graham Wheeler <gram@cequrux.com> and gibbs
* ahc_pci.c:gibbs2000-07-274-15/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable "cache line streaming" for aic7890/91 Rev A chips. I have never seen these chips fail using this feature, but some of Adaptec's regression tests have. Explicitly set "cache line streaming" to on for aic7896/97 chips. This was happening before, but this documents the fact that these chips will not function correctly without CACHETHEEN set. aic7xxx.h: Add new bug types. Fix a typo in a comment. aic7xxx.reg: Add a definition for the SHVALID bit in SSTAT3 for Ultra2/3 chips. This bit inicates whether the bottom most (current) element in the S/G fifo has exhausted its data count. aic7xxx.seq: Be more careful in how we turn off the secondary DMA channel. Being less careful may hang the PCI bus arbitor that negotiates between the two DMA engines. Remove an unecessary and incorrect flag set operation in the overrun case. On Ultra2/3 controllers, clear the dma FIFO before starting to handle an overrun. We don't want any residual bytes from the beginning of the overrun to cause the code that shuts down the DMA engine from hanging because the FIFO is not (and never will be) empty. If the data fifo is empty by the time we notice that a read transaction has completed, there is no need to hit the flush bit on aic7890/91 hardware that will not perform an auto-flush. Skip some cycles by short circuiting the manual flush code in this case. When transitioning out of data phase, make sure that we have the next S/G element loaded for the following reconnect if there is more work to do. The code would do this in most cases before, but there was a small window where the current S/G element could be exhausted before our fetch of the next S/G element completed. Since the S/G fetch is already initiated at this point, it makes sense to just wait for the segment to arrive instead of incuring even more latency by canceling the fetch and initiating it later. Fast path the end of data phase handling for the last S/G segment. In the general case, we might have worked ahead a bit by stuffing the S/G FIFO with additional segments. If we stop before using them all, we need to fixup our location in the S/G stream. Since we can't work past the last S/G segment, no fixups are ever required if we stop somewhere in that final segment. Fix a little buglet in the target mode dma bug handler. We were employing the workaround in all cases instead of only for the chips that require it. Fix the cause of SCB timeouts and possible "lost data" during read operations on the aic7890. When sending a data on any Ultra2/3 controller, the final segment must be marked as such so the FIFO will be flushed and cleaned up correctly when the transfer is ended. We failed to do this for the CDB transfer and so, if the target immediately transfered from command to data phase without an intervening disconnection, the first segment transferred would be any residual bytes from the cdb transfer. The Ultra160 controllers for some reason were not affected by this problem. Many Thanks to Tor Egge for bringing the aic7890 problem to my attention, providing analysis, as well as a mechanism to reproduce the problem.
* Have kevent() automatically restart if interrupted by a signal. If thisjlemon2000-07-271-5/+2
| | | | | | | | is not desired, then the user can register an EV_SIGNAL filter to explicitly catch a signal event. Change requested by: jayanth, ps, peter "Why is kevent non-restartable after a signal?"
* The DEC version of the Smart controller has its configuration informationjlemon2000-07-276-36/+79
| | | | | | | stored at a different location in the PCI space, so adjust accordingly. Also, when using more than two smart controllers in one machine, the disks were assigned the wrong drive number; fix this as well.
* Remove stale, unused and bogus root device hunting code.phk2000-07-272-25/+0
|
* Document the 0x12258086 PCI id.asmodai2000-07-271-1/+1
| | | | | | | This is in fact an Intel Orion chipset (82454KX/GX) which has been used in HP NetServer's LS4 range. HP Probably relabeled the DID. That's the only explanation I can find plausible to this `mystery'.
* -mkdir the ${DESTDIR}/modules directory upon modules-install in case itgreen2000-07-274-0/+4
| | | | | | doesn't exist. This could bite you by allowing you merrily install your modules one on top of the other as the regular file ${DESTDIR}/modules and think it completed properly...
* Distinguish between whether ktraceing was enabled before an IOgreen2000-07-271-2/+6
| | | | | | operation or after it. If the ktrace operation was enabled while the process was blocked doing IO, the race would allow it to pass down invalid (uninitialized) data and panic later down the call stack.
* Remove the only use of SCARG and perform dead code elimination.marcel2000-07-274-14/+4
|
* Use a custom Tigon 2 firmware image, hopefully temporarily. This iswpaul2000-07-262-3366/+3456
| | | | | | | | | | | the 12.4.11 firmware with a few changes to the link handling code merged in from the 12.4.13 release. I'm doing this because the 12.4.13 firmware doesn't seem to handle 10/100 link settings properly on 1000baseT cards. Note that the revision codes still identify the firmware as 12.4.13 because both ti_fw2.h and ti_fw.h have to have the same revision values, and I wanted to keep the 12.4.13 firmware for Tigon 1 cards. It's nice to have firmware source.
* Add address translation support for RTSP/RTP used by RealPlayer andarchie2000-07-268-3/+819
| | | | | | | | Quicktime streaming media applications. Add a BUGS section to the man page. Submitted by: Erik Salander <erik@whistle.com>
* Disable LK_CANRECURSE on buffer locks. The recusion is needed only formckusick2000-07-261-1/+1
| | | | | | certain uses of snapshots and currently appears to be causing some other problems. So for now, I am reverting to the old semantics until I have had time to investigate what is causing the other problems.
* Clean up the snapshot code so that it no longer depends on the use ofmckusick2000-07-265-13/+38
| | | | | | | | | | | | | | the SF_IMMUTABLE flag to prevent writing. Instead put in explicit checking for the SF_SNAPSHOT flag in the appropriate places. With this change, it is now possible to rename and link to snapshot files. It is also possible to set or clear any of the owner, group, or other read bits on the file, though none of the write or execute bits can be set. There is also an explicit test to prevent the setting or clearing of the SF_SNAPSHOT flag via chflags() or fchflags(). Note also that the modify time cannot be changed as it needs to accurately reflect the time that the snapshot was taken. Submitted by: Robert Watson <rwatson@FreeBSD.org>
* o Lock vnode before calling extattr_* VOP's, and modify vnode spec torwatson2000-07-263-13/+23
| | | | | | | | | allow for that. o Remember to call NDFREE() if exiting as a result of a failed vn_start_write() when snapshotting. Reviewed by: mckusick Obtained from: TrustedBSD Project
* Remove the SHM_PHYS_BACKED option.jhb2000-07-261-1/+0
| | | | Approved by: peter (in principle)
OpenPOWER on IntegriCloud