summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reverse role defines for initiator and target mode to better match themjacob2004-02-071-4/+6
| | | | | | | | | class 3 service parameters we'd get. Steal 8 bits out of the portid u_int32_t for role information (port ids are 24 bits anyway). MFC after: 1 week
* Add case to handle ISPCTL_GET_PDB.mjacob2004-02-071-0/+9
| | | | MFC after: 1 week
* If we're defined to have a default role for target mode, make itmjacob2004-02-071-5/+4
| | | | | | just ISP_ROLE_TARGET- not both. MFC after: 1 week
* Change role defines so that they better match class 3 service parameters.mjacob2004-02-071-3/+4
| | | | | | Add ISPCTL_GET_PDB isp_control operation. MFC after: 1 week
* Reduce AAC_MAX_FIBS to work around some yet-unidentified bugs in thescottl2004-02-071-1/+1
| | | | | | | | handling of resources shortages. The driver is now so fast that it can completely fill all 512 slots on the card, but for some reason only 511 slots are being allocated. Anything that tries to go into the 512th slot gets silently lost. Both bugs need to be fixed at a later date, but this should fix the reports of hangs in getblk and vinvalb.
* - Broaden the scope of locking in aac_command_thread() again to catch somescottl2004-02-071-11/+17
| | | | | | | | | edge cases in the loop. - Try to grab a command before dequeueing the bio from the bioq. The old behaviour of requeuing deferred bios to the end of the bioq is arguably wrong. This should be fixed in the future to check the bioq head without automatically dequeueing the bio.
* Add an #ifdef _KERNEL so that this file can be used from userland.scottl2004-02-072-2/+4
|
* The "bin" distribution was renamed to "base" in CURRENT.olgeni2004-02-072-2/+2
|
* Allow decreasing access count even if there is no disk anymore.pjd2004-02-061-3/+11
| | | | | | This will allow closing disks that were removed while opened. Approved by: phk, scottl (mentor)
* Fix memory leak.le2004-02-061-1/+1
| | | | | | PR: kern/58634 Submitted by: le Approved by: phk
* First round of cleanups to sys/boot/ makefiles:ru2004-02-0613-249/+187
| | | | | | | | | | | | - do not use PROG for what's not a real C program, - use sys.mk transformation rules where possible, - only create the "machine" symlink on AMD64, - removed MAINTAINER lines in individual makefiles, - added the LIBSTAND defitinion to <bsd.libnames.mk>, - somewhat better contents in .depend files. Tested on: i386, amd64 Prodded by: bde
* New release note: SA-04:02.bmah2004-02-062-0/+22
|
* Correct order of arguments given to checkparity and rebuildparity.le2004-02-061-4/+7
| | | | Approved by: joerg (mentor)
* Correct typo.le2004-02-061-1/+1
|
* Reduce the inline limit from 20000 to 8000 after the previous changespeter2004-02-061-1/+1
| | | | to simplify the curthread expansion some months ago.
* Remove the badsw* INVARIANTS checks. The events that this attemptspeter2004-02-061-96/+10
| | | | | | | | | to catch are already nicely caught by trapping the null pointer derefs. Remove no-longer-used noswitch/nothrow strings. They were referenced by the stub cpu_switch() etc functions before they were implemented. Try something a little different for the lock prefixes. Prompted by: bde (the first two items anyway)
* Regen.jhb2004-02-067-52/+52
|
* Sync up MP safe flags with global syscalls.master. This includes write(),jhb2004-02-061-16/+16
| | | | | | close(), getpid(), ibcs2_setuid(), getuid(), ptrace(), ibcs2_pause(), ibcs2_nice(), ibcs2_kill(), ibcs2_pgrpsys(), dup(), pipe(), ibcs2_setgid(), getgid(), umask(), and sigreturn().
* Sync up MP safe flags with global syscalls.master. This includes read(),jhb2004-02-061-29/+29
| | | | | | | | | write(), close(), getpid(), setuid(), getuid(), svr4_sys_pause(), svr4_sys_nice(), svr4_sys_kill(), svr4_sys_pgrpsys(), dup(), pipe(), setgid(), getgid(), svr4_sys_signal(), umask(), getgroups(), setgroups(), svr4_sys_sigprocmask(), svr4_sys_sigsuspend(), svr4_sys_sigaltstack(), svr4_sys_sigaction(), svr4_sys_sigpending(), mprotect(), munmap(), setegid(), seteuid(), setreuid(), setregid().
* Make all ACPI debug layers unique again. This makes debugging a morephilip2004-02-061-6/+6
| | | | | | | pleasant experience (for certain definition of 'pleasant'). Submitted by: Mark Santcroos <marks@ripe.net> Approved by: njl (mentor)
* - Convert the plimit lock to a pool mutex lock.jhb2004-02-062-15/+9
| | | | | | - Hide struct plimit from userland. Submitted by: bde (2)
* - Correct the translation of old rlimit values to properly handle the oldjhb2004-02-061-21/+28
| | | | | | | | | | | | | RLIM_INFINITY case for ogetrlimit(). - Use %jd and intmax_t to output negative time in usec in calcru(). - Rework getrusage() to make a copy of the rusage struct into a local variable while holding Giant and then do the copyout from the local variable to avoid having to have the original process rusage struct locked while doing the copyout (which would not be safe). This also includes a few style fixes from Bruce to getrusage(). Submitted by: bde (1, parts of 3) Suggested by: bde (2)
* A few more style fixes from Bruce including a few I missed last time.jhb2004-02-062-20/+13
| | | | Submitted by: bde
* Add cancellation point to sem_wait() and sem_timedwait() for pshareddeischen2004-02-062-20/+36
| | | | | | | | semaphores. Also add cancellation cleanup handlers to keep semaphores in a consistent state. Submitted in part by: davidxu Reviewed by: davidxu
* Prevent memory leak on sem_destroy() by destroying the semaphore'sdeischen2004-02-061-1/+4
| | | | internal mutex and CV.
* MFNetBSD:sanpei2004-02-061-2/+9
| | | | | | | netbsd.org -> NetBSD.org(rev.1.109) fix typo in comment(rev.1.90) add list of ``already merged''
* Only allow the semaphore to be taken when the value is positive.deischen2004-02-061-2/+1
| | | | | | Don't decrement it twice when it is taken. Reported by: kris
* Inherit BINDIR from a parent Makefile.inc.ru2004-02-068-7/+2
|
* Only include ../Makefile.inc once in loader/Makefile.ru2004-02-062-5/+2
|
* Commit simple workarounf for the "LiteOn" hang on boot problem.sos2004-02-061-0/+1
| | | | | | This allows the system to boot so I can get the world out of my mailbox and get some work done to figure out what this mess is all about.
* From what I can tell, install.sh supported all of the install(1)ru2004-02-061-4/+3
| | | | | | | | options since revision 1.2, so removed the XXX comment now. Fixed bogus test(1) expression that would be evaluated as a null string test if script is run without arguments, compacted option lists.
* Removed all the complexities when installing the strip(1) binary.ru2004-02-061-13/+1
| | | | Submitted by: bde
* Turn of ath since it causes a link failure without the hal till sam'speter2004-02-061-1/+1
| | | | set up with a cross compiler and has the time to port the hal.
* Make LINT compile on amd64peter2004-02-061-2/+2
|
* Make this compile on amd64.peter2004-02-061-6/+6
| | | | "I'll cope" by: sam
* Correct check for invalid semaphore on sem_destroy() (s/==/!=/).deischen2004-02-051-1/+1
| | | | Reported by: kris
* must convert protocol to sa type when preparing a DELETE messagesam2004-02-051-1/+7
| | | | | Submitted by: Roselyn Lee <rosel@verniernetworks.com> MFC after: 1 week
* This commit was generated by cvs2svn to compensate for changes in r125505,ru2004-02-052-3/+3
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fixes from 31-Jul-2003; make it 8-bit clean.ru2004-02-052-3/+3
| | | | | | | | Forgotten by: ru (for far too long)
* | Attempt to clean up the emu10k1-alsa.h stuff so that config doesn'tpeter2004-02-053-11/+27
| | | | | | | | | | | | delete it each time its run and have it regenerated each time by make. I used a quick hackish script rather than putting it in the files file and used the before-depend rule to avoid the depend/no-depend hacks.
* | Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-0547-95/+94
| |
* | Correct the weak reference for sem_unlink.deischen2004-02-051-1/+1
| |
* | Commit fix sent by Tor Egge <Tor.Egge@cvsup.no.freebsd.org>cracauer2004-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | Only use return value from system call if system call succeeded. Tested with `make world` and some of my own scripts. This should be MFCed soon. While /bin/sh is hard to test the fix is obviously correct and can be assumed not to break something else (famous last words...).
* | Added missing DPADD.ru2004-02-057-3/+7
| |
* | Fixed ``make checkdpadd''. Removed redundant dependency.ru2004-02-051-2/+3
| |
* | Require initrandom rather than random, since random requiresdes2004-02-052-2/+2
| | | | | | | | | | | | mountcritlocal, which requires disks, which gbde_swap provides. Noticed by: brooks
* | Don't print the oldest line in the message buffer if the buffer isiedowse2004-02-051-51/+54
| | | | | | | | | | | | | | | | | | | | full, since that line is almost always incomplete. Make the parsing of <%d> lines more strict. Also simplify the logic a little: - Start off by making the buffer linear so that we don't have to deal with it wrapping around (suggested by bde). - Process line by line rather than byte at a time.
* | Always set a process' state to normal when it is fully constructed injhb2004-02-052-6/+9
| | | | | | | | | | fork1() rather than only doing it for the RFSTOPPED case and then having to fix it up in other places later on.
* | - A lot of style and whitespace fixes.jhb2004-02-052-70/+63
| | | | | | | | | | | | - Update a few comments regarding locking notes. Submitted by: bde (1, mostly)
* | Temporarily put STRIP back; bsd.port.mk still needs it.ru2004-02-051-0/+4
| |
OpenPOWER on IntegriCloud