freebsd-dev/sys/sys
joerg edafc7f53c Implement a few more floppy ioctl commands and IO options, namely:
. FD_CLRERR clears the error counter, thus re-enables kernel error
  printf()s,

. FD_GSTAT obtains the last FDC operation state, if any,

. FDOPT_NOERRLOG (temporarily) turns off kernel printf() floppy
  error logging,

. FDOPT_NOERROR makes the kernel ignore an FDC error, thus can
  enable the transfer of an erroneous sector to the user application

All options are being cleared on (last) close.

Prime consumer of the last features will be fdread(1), to be committed
shortly.

(FD_CLRERR should be wired into fdcontrol(8), but then fdcontrol(8)
needs a major rewrite anyway.)
2001-05-14 20:20:11 +00:00
..
_lock.h - Move state about lock objects out of struct lock_object and into a new 2001-05-04 17:15:16 +00:00
_mutex.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
_posix.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
_sigset.h Check validity of signal callback requested via aio routines. 2001-04-18 22:18:39 +00:00
_timespec.h Synchronize with some of my local changes. To quote: 2001-01-23 04:40:54 +00:00
aac_ioctl.h Major bugfix and minor update. This should resolve the current issues 2000-12-27 13:14:56 +00:00
acct.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
acl.h o Separate acl_t into internal and external representations as 2001-04-24 22:45:41 +00:00
agpio.h A driver for programming the AGP hardware. This is only very lightly 2000-06-09 16:04:30 +00:00
aio.h When aio_read/write() is used on a raw device, physical buffers are 2001-03-10 22:47:57 +00:00
assym.h Use "nm | awk ..." instead of genassym(1) to generate symbol value headers. 2000-06-02 09:27:48 +00:00
ata.h Sigh, try to get this in sync with an offical src tree... 2001-03-16 13:08:19 +00:00
bio.h Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
bitstring.h Cleanup of bitstring.h: 2000-10-09 12:34:51 +00:00
blist.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
buf.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
bus_dma.h version 1.7 made some changes to correct problems identifed by compiling 2001-03-02 05:33:53 +00:00
bus_private.h Implement a trivial but effective interface for obtaining the kernel's 2000-11-09 10:21:23 +00:00
bus.h style(9) edit. 2001-04-19 23:15:06 +00:00
callout.h Revert the last commit to the callout interface, and add a flag to 2000-11-25 06:22:16 +00:00
capability.h o Change the API and ABI of the Extended Attribute kernel interfaces to 2001-03-15 02:54:29 +00:00
ccdvar.h Cleanup some remaining bdev fluff. 2000-01-16 09:25:10 +00:00
cdefs.h after discovering that the Santa Clara Valley Medical Center actually 2001-03-10 12:05:55 +00:00
cdio.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
cdrio.h Add session argument to *CLOSEDISK, allowing to set session type on fixate. 2001-01-10 19:17:38 +00:00
chio.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
clist.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
condvar.h Remove CV_DECLARE(), which serves no useful purpose. 2001-01-25 07:29:54 +00:00
conf.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
cons.h Add a new mechanism, cndbctl(), to tell the console driver that 2000-01-11 14:54:01 +00:00
consio.h Supported EGC 640x400, PEGC 640x400 and PEGC 640x480 graphics modes. 2000-04-27 13:34:32 +00:00
copyright.h We are now in the year 2001, so ajust copyrights. 2001-01-01 08:05:48 +00:00
ctype.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
dataacq.h Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
device_port.h Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
devicestat.h Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
digiio.h Add a ``digi'' driver. 2001-05-02 01:08:09 +00:00
dir.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dirent.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
disk.h Add disk_enumerate() for finding names of disks. Vinum and libh will 2000-06-15 20:30:53 +00:00
disklabel.h Use ANSI prototype and function definition for dkcksum so that this 2001-01-14 05:14:37 +00:00
diskmbr.h Use ANSI prototype and function definition for dkcksum so that this 2001-01-14 05:14:37 +00:00
diskpc98.h Use ANSI prototype and function definition for dkcksum so that this 2001-01-14 05:14:37 +00:00
diskslice.h Write support for the cd(4) driver. 2000-10-30 07:03:00 +00:00
dkstat.h Redeclare cp_time. It's no longer static, and linprocfs needs it. 2000-09-07 16:38:04 +00:00
dmap.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
domain.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
dvdio.h Add support for the DVD ioctl interface. 2000-05-12 03:36:02 +00:00
elf32.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
elf64.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
elf_common.h Add "ELFOSABI_NONE" which is the symbol used in a copy of the old ELF spec, 2001-02-24 22:23:12 +00:00
elf_generic.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
errno.h Add ENOTSUP, which is specified as an error return value for various 2000-05-02 06:02:11 +00:00
event.h Add an EV_SET() convenience macro for initializing struct kevent prior 2001-02-24 01:44:03 +00:00
eventhandler.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
eventvar.h Simplify kqueue API slightly. 2000-07-18 19:31:52 +00:00
exec.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
extattr.h o Introduce extattr_{delete,get,set}_fd() to allow extended attribute 2001-03-31 16:20:05 +00:00
fbio.h Supported EGC 640x400, PEGC 640x400 and PEGC 640x480 graphics modes. 2000-04-27 13:34:32 +00:00
fcntl.h Implement POSIX.1b shared memory objects. In this implementation, 2000-04-22 15:22:31 +00:00
fdcio.h Implement a few more floppy ioctl commands and IO options, namely: 2001-05-14 20:20:11 +00:00
file.h Extend kqueue down to the device layer. 2001-02-15 16:34:11 +00:00
filedesc.h This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
filio.h Commit the kernel part of our DVD support. Nothing much to say really, 1999-12-07 22:25:28 +00:00
fnv_hash.h Use the same API as the example code. 2001-03-20 02:10:18 +00:00
gmon.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
iconv.h Add function prototypes and base module for kernel side iconv library. 2001-04-09 09:39:29 +00:00
imgact_aout.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
imgact_elf.h MFS: bring the consistent `compat_3_brand' support into -CURRENT 2001-02-24 22:20:11 +00:00
imgact.h Make size of dynamic loader argument variable to support 2000-09-26 05:09:21 +00:00
inflate.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
interrupt.h Initiate the deorbit burn sequence for sys/ipl.h by moving the software 2001-04-27 00:29:45 +00:00
inttypes.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ioccom.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ioctl_bt848.h Fix typo in comments 2000-10-31 14:30:29 +00:00
ioctl_compat.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ioctl_meteor.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ioctl.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ipc.h sysvipc loadable. 2000-12-01 08:57:47 +00:00
ipl.h Initiate the deorbit burn sequence for sys/ipl.h by moving the software 2001-04-27 00:29:45 +00:00
jail.h o Move per-process jail pointer (p->pr_prison) to inside of the subject 2001-02-21 06:39:57 +00:00
joystick.h Switch over to using the generic joy driver 1999-12-05 20:02:19 +00:00
kbio.h Implement keyboard paste 2001-03-11 22:51:05 +00:00
kernel.h Blow away the panic mutex in favor of using a single atomic_cmpset() on a 2001-04-17 04:18:08 +00:00
kobj.h Fix typos: initalise -> initialise. 2001-02-08 20:28:57 +00:00
kthread.h Include <sys/cdefs.h> so that this file is self-sufficient. 2001-02-15 11:35:55 +00:00
ktr.h - In the KTR_EXTEND case, use a const char * to point to the passed in 2001-02-20 10:39:55 +00:00
ktrace.h Limit size of passed in data for utrace function. 2001-01-06 09:34:20 +00:00
libkern.h Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
linedisc.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
link_aout.h Update the prototype for "r_brk" to correspond with the change in 2000-09-18 20:40:32 +00:00
link_elf.h Update the prototype for "r_brk" to correspond with the change in 2000-09-18 20:40:32 +00:00
linker_set.h Remove underscores from linker set stabs for the a.out case, after 2001-02-25 07:24:03 +00:00
linker.h Correct a warning where the r_debug_state() dummy function used to trigger 2000-10-06 05:20:02 +00:00
lock.h - Move state about lock objects out of struct lock_object and into a new 2001-05-04 17:15:16 +00:00
lockf.h Wrap around MALLOC_DECLARE() invocation with #ifdef. 2001-05-03 08:57:26 +00:00
lockmgr.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
malloc.h Let M_PANIC go back to the private tree as its intention isn't understood well 2001-01-31 04:50:20 +00:00
mbuf.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
mchain.h Introduce API for sequential reads/writes (build/dissect) of mbuf chains. 2001-02-24 15:44:30 +00:00
md4.h Import kernel part of SMB/CIFS requester. 2001-04-10 07:59:06 +00:00
md5.h Add a new entrypoint to the hashes in libmd: 2001-03-17 10:00:50 +00:00
mdioctl.h Make "md" and "mdctl" macroized parameters. 2001-02-25 13:12:57 +00:00
memrange.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
mman.h Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2). 2000-02-28 04:10:35 +00:00
module.h First round implementation of a fine grain enhanced module to module 2000-04-29 13:19:31 +00:00
mount.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
mouse.h Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
msg.h Move the MSG* and SEM* options to opt_sysvipc.h 2000-05-01 13:33:56 +00:00
msgbuf.h Replace logwakeup() with "int msgbuftrigger". There is little 2000-12-20 21:50:37 +00:00
mtio.h Make residuals signed. 2001-01-21 01:34:14 +00:00
mutex.h - Move state about lock objects out of struct lock_object and into a new 2001-05-04 17:15:16 +00:00
namei.h Add new flag PDIRUNLOCK to the component.cn_flags which should be set by 2000-09-17 07:26:42 +00:00
nlist_aout.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
param.h Bump FreeBSD version to correspond to addition of CPUTYPE make variable. 2001-02-24 10:44:03 +00:00
pciio.h [ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the 1999-12-08 17:44:04 +00:00
pcpu.h - Split out the support for per-CPU data from the SMP code. UP kernels 2001-05-10 17:45:49 +00:00
pioctl.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pipe.h select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
poll.h Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
posix4.h Fixed some type mismatches. p_retval[0] in struct proc has type 1999-12-27 10:22:09 +00:00
priority.h Implement a unified run queue and adjust priority levels accordingly. 2001-02-12 00:20:08 +00:00
proc.h Add a new macro to test if a process' proc lock is held by the current 2001-05-11 21:28:37 +00:00
procfs.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
protosw.h Remove unneeded loop increment in src/sys/netinet/in_pcb.c:in_pcbnotify 2001-02-18 09:34:55 +00:00
ptio.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ptrace.h - Move the prototype for proc_reparent from sys/ptrace.h to sys/proc.h 2000-10-19 18:55:22 +00:00
queue.h CIRCLEQs are a disgrace to everything Knuth taught us in Volume 1 Chapter 2. 2000-12-29 09:55:40 +00:00
random.h Provide the infrastructure for sysadmins to select the broad class 2001-02-18 17:40:47 +00:00
reboot.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
resource.h Change the scheduler to actually respect the PUSER barrier. It's been 2000-04-30 18:33:43 +00:00
resourcevar.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
rman.h Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00
rtprio.h Implement a unified run queue and adjust priority levels accordingly. 2001-02-12 00:20:08 +00:00
runq.h Implement a unified run queue and adjust priority levels accordingly. 2001-02-12 00:20:08 +00:00
sbuf.h Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
select.h Do not recursively include <sys/selinfo.h> from <sys/select.h>; all in-tree 2001-01-20 03:11:47 +00:00
selinfo.h Move `struct selinfo' and related functions to <sys/selinfo.h>. 2001-01-04 03:29:16 +00:00
sem.h Move the MSG* and SEM* options to opt_sysvipc.h 2000-05-01 13:33:56 +00:00
semaphore.h Track libc_r addition of semaphores implementation. 2000-01-20 07:55:42 +00:00
shm.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
signal.h Check validity of signal callback requested via aio routines. 2001-04-18 22:18:39 +00:00
signalvar.h Declare sigexit() as non-returning. 2000-09-17 15:23:10 +00:00
smp.h - Split out the support for per-CPU data from the SMP code. UP kernels 2001-05-10 17:45:49 +00:00
snoop.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
socket.h Add address families AF_SLOW and AF_SCLUSTER. These are used by the 2001-04-23 05:13:18 +00:00
socketvar.h Extend kqueue down to the device layer. 2001-02-15 16:34:11 +00:00
sockio.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
soundcard.h add 32bit formats and a couple of ioctls 2000-09-01 17:38:32 +00:00
stat.h Get userland visible flags added for snapshots to give a few days 2000-07-04 04:58:34 +00:00
sx.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
syscall-hide.h o Regenerated following introduction of __setugid() system call for 2001-04-11 20:21:37 +00:00
syscall.h o Regenerated following introduction of __setugid() system call for 2001-04-11 20:21:37 +00:00
syscall.mk o Regenerated following introduction of __setugid() system call for 2001-04-11 20:21:37 +00:00
sysctl.h Convert an instance of 8 spaces to a tab. 2001-02-22 08:13:09 +00:00
sysent.h sysvipc loadable. 2000-12-01 08:57:47 +00:00
syslimits.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syslog.h Add the "LOG_CONSOLE" facility and tell syslogd to not log it on 2000-11-25 21:00:58 +00:00
sysproto.h o Regenerated following introduction of __setugid() system call for 2001-04-11 20:21:37 +00:00
systm.h - Convert msleep(9) in select(2) and poll(2) to cv_*wait*(9). 2001-05-14 05:26:48 +00:00
taskqueue.h taskqueue_swi is a pointer, not a struct. Fix a comment that misleadingly 2000-06-09 22:32:36 +00:00
termios.h implement OCRNL, ONOCR, and ONLRET 2001-03-04 06:04:50 +00:00
time.h Paranthesise macros. This fixes an unlikely bug and silences lint. 2001-03-21 14:31:51 +00:00
timeb.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
timepps.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
timers.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
times.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
timespec.h This file declares `struct timespec' so that we can have a single, 2001-01-23 04:44:04 +00:00
timetc.h Isolate the Timecounter internals in their own two files. 2000-03-20 14:09:06 +00:00
timex.h Update to the 2001-04-02 version of the nanokernel code from Dave Mills. 2001-04-16 13:05:05 +00:00
tty.h Fixed unsorting of prototypes in previous commit. Is it too much to 2001-02-17 05:40:52 +00:00
ttychars.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ttycom.h Remove the TABLDISC line discipline number, it's not in the tree 2000-01-29 16:47:35 +00:00
ttydefaults.h Kernel support for erase2 character. 2000-11-28 20:03:23 +00:00
ttydev.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
types.h Unbreak build on alpha. 2001-03-24 15:17:27 +00:00
ucontext.h Add a per-signal flag to mark handlers registered with osigaction, so we 1999-10-11 20:33:17 +00:00
ucred.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
uio.h Introduce copyinfrom and copyinstrfrom, which can copy data from either 2001-02-16 14:31:49 +00:00
un.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
unistd.h Don't allow userland to use the RFHIGHPID flag. Its only purpose is to 2001-03-13 02:55:54 +00:00
unpcb.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
user.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
utsname.h Round 1 of Brucification inspired changes. 2001-03-24 08:37:56 +00:00
vmmeter.h Add mibs to hold the number of forks since boot. New mibs are: 2001-01-23 14:32:01 +00:00
vnioctl.h Fix a bug in the block number calculation for VN disks with a sector 1999-09-17 05:34:00 +00:00
vnode.h Implement vop_std{get|put}pages() and add them to the default vop[]. 2001-05-01 08:34:45 +00:00
wait.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
xrpuio.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00