summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sigset_t change (part 2 of 5)marcel1999-09-2934-781/+1263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- The core of the signalling code has been rewritten to operate on the new sigset_t. No methodological changes have been made. Most references to a sigset_t object are through macros (see signalvar.h) to create a level of abstraction and to provide a basis for further improvements. The NSIG constant has not been changed to reflect the maximum number of signals possible. The reason is that it breaks programs (especially shells) which assume that all signals have a non-null name in sys_signame. See src/bin/sh/trap.c for an example. Instead _SIG_MAXSIG has been introduced to hold the maximum signal possible with the new sigset_t. struct sigprop has been moved from signalvar.h to kern_sig.c because a) it is only used there, and b) access must be done though function sigprop(). The latter because the table doesn't holds properties for all signals, but only for the first NSIG signals. signal.h has been reorganized to make reading easier and to add the new and/or modified structures. The "old" structures are moved to signalvar.h to prevent namespace polution. Especially the coda filesystem suffers from the change, because it contained lines like (p->p_sigmask == SIGIO), which is easy to do for integral types, but not for compound types. NOTE: kdump (and port linux_kdump) must be recompiled. Thanks to Garrett Wollman and Daniel Eischen for pressing the importance of changing sigreturn as well.
* sigset_t change (part 1 of 5)marcel1999-09-291-8/+16
| | | | | | | | | | | | | | | | | | ----------------------------- Rename sigaction, sigprocmask, sigpending and sigsuspend to osigaction, osigprocmask, osigpending and osigsuspend (resp) and add new syscalls for them to support the new sisgset_t without breaking existing binaries. Change the prototype of sigaltstack to use the typedef stack_t instead of struct sigaltstack to reflect that it is SUSv2 compliant. Also, rename sigreturn to osigreturn and add a new syscall to support the modified stackframe. The change is caused by sigreturn operating on ucontext_t now and the fact that siginfo_t has been updated to conform to SUSv2.
* Fix world-breaking bug, add $FreeBSD$ tag.dcs1999-09-291-1/+2
| | | | | | | | This happened to be my first "for real" broken world. I had broken it once before, but nobody noticed, so it didn't count. So, how do I get the "I broke world and all I got was the lousy t-shirt" t-shirt?
* Add ID for ESS ES1869.dfr1999-09-294-0/+16
|
* Fixes a silly bug that somehow escaped my notice all these months.dcs1999-09-291-3/+3
|
* Bring in ficl version 2.03. No version bump for loader.dcs1999-09-2921-827/+1497
|
* Add description of checkparity and rebuildparity.grog1999-09-281-4/+9
| | | | | | Remove a half-started message. Reported-by: "Jeffrey J. Mountin" <jeff@mountin.net>
* Brucify comments.grog1999-09-281-23/+66
| | | | | | | | | | | | | | vinum_lpi: Add information about progress of rebuildparity and checkparity commands. listconfig: Print object counts in a different format, don't refer to the internal number of slots allocated: Caused-confusion-to: Norbert Meissner <norbert.meissner@daimlerchrysler.com> vinum_info: Change format of device numbers so that they fit in the column (ignore high-order minor number bits, which aren't really of much interest).
* vinum_init: Fix message typo.grog1999-09-281-1/+50
| | | | | | | vinum_start: bzero the statinfo.dinfo struct. The lack of this was causing sporadic failures of the start command. Add body of vinum_checkparity command.
* struct plex: Add variables checkblock and rebuildblock to keep trackgrog1999-09-281-1/+8
| | | | | | | of parity check and rebuild operations. This enables us to stop the operation and restart at a later time. enum parityop: Trivial enum to decide what parityops() is going to do.
* revive_block: set b_resid correctly.grog1999-09-281-4/+208
| | | | | parityops: New function to check and rebuild RAID-5 parity blocks. Not yet usable.
* logrq: add sdiodone case.grog1999-09-281-9/+7
| | | | | | launch_requests: Remove debug code sdio: Reformat log call.
* Don't count iterations while waiting for a lock to become free.grog1999-09-281-10/+9
|
* Add ioctls VINUM_CHECKPARITY and VINUM_RESETPARITY, still to be fullygrog1999-09-281-0/+8
| | | | implemented.
* Reduce MAX_IOCTL_REPLY to 1024; the previous value was more than ioctlgrog1999-09-281-8/+10
| | | | | | | | | could stand. Define the correct return lengths for a number of ioctls. Add ioctls VINUM_CHECKPARITY and VINUM_RESETPARITY, still to be fully implemented.
* open_drive: Don't call set_drive_state to take a drive down, do itgrog1999-09-281-3/+3
| | | | | | | | | | | | | ourselves. This breaks a vicious circle which caused vinum to dereference a null vp if device nodes were missing. Reported-by: Brad Chisholm <sasblc@unx.sas.com> Alec Wolman <wolman@cs.washington.edu> check_drive: Don't take a drive down if it's only referenced. read_drive: Remove unused variable.
* sdio_done: Log events if DEBUG_LASTREQS set.grog1999-09-281-0/+4
|
* Change remove_drive_entrygrog1999-09-281-1/+5
| | | | Add parityops
* Remove some superfluous comments.grog1999-09-281-63/+41
| | | | | | | | | | | | | | | | | | | | get_empty_volume: initialize plexes to -1 (not allocated) remove_drive_entry: Remove recurse parameter (there's nothing below a drive in the hierarchy). Use remove_sd_entry to remove sds, don't do it ourselves. Log errors, don't throw rude remarks. remove_plex_entry: Don't use plex->subdisks as a loop limit, it gets changed in the loop. This caused some removals to only remove half the subdisks. Change logging of some "impossible" situations. remove_volume_entry: Use remove_plex_entry to remove plexes, don't do it ourselves. update_sd_config: Use set_sd_state to do the work.
* Minor formatting changes (7th attempt)grog1999-09-281-3/+2
|
* Add loginfo type for sdiodone.grog1999-09-281-0/+1
|
* * add a non-reset device- will not reset the channel on open. youcg1999-09-2814-52/+106
| | | | | | | | will have to mknod yourself for now. * don't eat the first write() * partial rvplayer fix- don't panic on unaligned writes unless our feeder chain requires them for downconversion. a fuller fix is on the way.
* add a missing blank linecg1999-09-284-4/+8
|
* add the ad1816 drivercg1999-09-281-0/+1
|
* seperate the ad1816 driver from the mss driver since it shares no codecg1999-09-288-822/+1414
|
* Use rmand_get_bus{tag,handle} rather than hard wiring things toimp1999-09-281-3/+3
| | | | | | I386_BUS_SPACE_IO. Compiles now on the Alpha, but likely will not work due to bus space address <-> virtual address mapping bogons that work for i386 but not alpha.
* Back out my backout, it was already posix compliant. Any new fields arepeter1999-09-281-1/+0
| | | | | | required to be "announced" by a new bit in sa_flags to indicate the program is aware of and has taken care of them. eg: SA_SIGINFO means the program has used the sa_siginfo field (versus sa_handler).
* Document the "noasync" option.obrien1999-09-282-0/+6
|
* Fix previous commit. The standards specifically say: "The structurepeter1999-09-281-0/+1
| | | | | | | | | sigaction, used to describe an action to be taken, is defined in the header <signal.h> to include at least the following members:" ^^^^^^^^ A sigaction defined on stack with essentially random contents may have just about anything underneath fields that the program doesn't know about. It is not safe to delete the bzero.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+4
| | | | | | | | initialization of sa_flags added so that we can lose the bzero. IIRC, this code is not used anymore since the addition of ncurses. Commit the change anyway so, just to be safe. $FreeBSD$ tag added
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-2/+7
| | | | | | initialization of sa_flags added so that the 'struct sigaction' can be declared local in both functions that use the global (static) declaration. Remove the global declaration.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+2
| | | | initialization of sa_flags allows us to lose the bzero.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+4
| | | | | | initialization of sa_flags allows us to lose the bzero. $FreeBSD$ tag added.
* In sbflush(), don't exit the while loop too early: this can causepb1999-09-282-2/+16
| | | | | | | | | | | an empty mbuf to stay in the queue, then causing a needless panic because sb_cc == 0 and sb_mbcnt != 0. But we still need to panic rather than endlessly looping if, for some reason, sb_cc == 0 and there are non-empty mbufs in the queue. PR: kern/11988 Reviewed by: fenner
* Introduce ttyread() and ttywrite() which do the canonical thing.phk1999-09-2823-597/+70
| | | | | | Use them in many tty drivers. Reviewed by: julian, bde
* Add another ID for the AWE64.dfr1999-09-284-0/+4
|
* Sync w/ sys/i386/isa/pcaudio.c revision 1.54.kato1999-09-281-2/+34
|
* Removed aha driver.kato1999-09-281-6/+0
|
* Sync w/ sys/i386/conf/files.i386 revision 1.274.kato1999-09-282-2/+0
|
* Do not defer setting of the aliasing address fromru1999-09-281-19/+15
| | | | | | interface name if not operating in dynamic mode. Reviewed by: Ari Suutari <ari@suutari.iki.fi>
* Reconnect 'bktr' now that world won't (I hope) break again from it.peter1999-09-281-2/+1
| | | | 'make depend' was falling over in it before.
* Make the bktr module build. The Makefile was badly mangled, includingpeter1999-09-281-7/+9
| | | | leaving the ".c" out of most of the SRCS= source files.
* Make sure file after VOP_OPEN is VMIO'd when transfering control fromdillon1999-09-284-8/+16
| | | | | | | | | | | a lower layer to an upper layer. I'm not sure how necessary this is for reading. Fix bug in union_lookup() (note: there are probably still several bugs in union_lookup()). This one set lerror as a side effect without setting lowervp, causing copyup code further on down to crash on a null lowervp pointer. Changed the side effect to use a temporary variable instead.
* .Nm += "rtld"phantom1999-09-283-3/+6
| | | | apropos(1) now knows about rtld(1) manpage.
* Ooops- forgot to commit this.mjacob1999-09-281-1/+5
| | | | | PR: 14009 Submitted by: jreynold@primenet.com
* Xref strlcat, strlcpyimp1999-09-282-2/+5
| | | | Inspired by: NetBSD commit message describing this.
* Fix breakage caused by last commit. Also accommodate the new interfacessteve1999-09-281-4/+4
| | | | | | | to the bpf* routines so this driver has a fighting chance of actually working once it's compiled. Silently approved by: freebsd-alpha@freebsd.org
* Make aha a loadable module. Unloading doesn't work well. Fix slightimp1999-09-280-0/+0
| | | | disordering of SUBDIRs list while I was in modules/Makefile.
* /tmp/cvswGS523imp1999-09-282-3/+32
|
* Newbusification of aha. dfr sent me the first cut, and I made itimp1999-09-282-133/+169
| | | | | | | | | | | | | work. Be more verbose when one cannot allocate IRQ, et al since this is a common configuration problem. The cards have the IRQ soft wired into their BIOS and do not try to do collision detection. This can cause problems when this IRQ is the same as another card/device. The PNP hasn't been tested. My PNP board is in a deployed system. I'll sneak in testing of it sometime later. I've been able to mount the 3.3R cdrom that arrived today and access files off it. Submitted by: dfr
OpenPOWER on IntegriCloud