mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Fix a bunch of spelling errors in the comment fields of
a bunch of system include files.
This commit is contained in:
parent
09b5920411
commit
6c5e9bbdf5
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: console.h,v 1.18 1995/01/28 22:15:30 sos Exp $
|
||||
* $Id: console.h,v 1.19 1995/05/30 08:00:28 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _CONSOLE_H_
|
||||
@ -117,7 +117,7 @@ struct mouse_info {
|
||||
#define KD_HERCULES 2 /* hercules adapter */
|
||||
#define KD_CGA 3 /* color graphics adapter */
|
||||
#define KD_EGA 4 /* enhanced graphics adapter */
|
||||
#define KD_VGA 5 /* video graohics adapter */
|
||||
#define KD_VGA 5 /* video graphics adapter */
|
||||
|
||||
#define KD_TEXT 0 /* set text mode restore fonts */
|
||||
#define KD_TEXT0 0 /* ditto */
|
||||
@ -238,7 +238,7 @@ typedef struct ssaver ssaver_t;
|
||||
#define F(x) ((x)+F_FN-1)
|
||||
#define S(x) ((x)+F_SCR-1)
|
||||
#define NOKEY 0x100 /* no key pressed marker */
|
||||
#define FKEY 0x200 /* funtion key marker */
|
||||
#define FKEY 0x200 /* function key marker */
|
||||
#define MKEY 0x400 /* meta key marker (prepend ESC)*/
|
||||
#define BKEY 0x800 /* backtab (ESC [ Z) */
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux.h,v 1.2 1995/11/22 07:43:43 bde Exp $
|
||||
* $Id: linux.h,v 1.3 1995/12/29 22:12:10 sos Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_LINUX_LINUX_H_
|
||||
|
@ -11,7 +11,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -24,7 +24,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: cputypes.h,v 1.3 1994/09/04 19:59:23 pst Exp $
|
||||
* $Id: cputypes.h,v 1.4 1995/12/24 08:10:50 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_CPUTYPES_H_
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)frame.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: frame.h,v 1.10 1995/03/16 18:11:42 bde Exp $
|
||||
* $Id: frame.h,v 1.11 1995/12/14 08:21:33 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_FRAME_H_
|
||||
@ -67,7 +67,7 @@ struct trapframe {
|
||||
int tf_eip;
|
||||
int tf_cs;
|
||||
int tf_eflags;
|
||||
/* below only when transitting rings (e.g. user to kernel) */
|
||||
/* below only when crossing rings (e.g. user to kernel) */
|
||||
int tf_esp;
|
||||
int tf_ss;
|
||||
};
|
||||
@ -93,7 +93,7 @@ struct intrframe {
|
||||
int if_eip;
|
||||
int if_cs;
|
||||
int if_eflags;
|
||||
/* below only when transitting rings (e.g. user to kernel) */
|
||||
/* below only when crossing rings (e.g. user to kernel) */
|
||||
int if_esp;
|
||||
int if_ss;
|
||||
};
|
||||
@ -119,7 +119,7 @@ struct clockframe {
|
||||
int cf_eip;
|
||||
int cf_cs;
|
||||
int cf_eflags;
|
||||
/* below only when transitting rings (e.g. user to kernel) */
|
||||
/* below only when crossing rings (e.g. user to kernel) */
|
||||
int cf_esp;
|
||||
int cf_ss;
|
||||
};
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#) ieeefp.h 1.0 (Berkeley) 9/23/93
|
||||
* $Id: ieeefp.h,v 1.1 1994/08/04 19:16:37 wollman Exp $
|
||||
* $Id: ieeefp.h,v 1.2 1994/08/05 14:36:04 wollman Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -52,13 +52,13 @@ typedef enum {
|
||||
} fp_rnd_t;
|
||||
|
||||
/*
|
||||
* FP precison modes
|
||||
* FP precision modes
|
||||
*/
|
||||
typedef enum {
|
||||
FP_PS=0, /* 24 bit (single-precsion) */
|
||||
FP_PS=0, /* 24 bit (single-precision) */
|
||||
FP_PRS, /* reserved */
|
||||
FP_PD, /* 53 bit (double-precision) */
|
||||
FP_PE /* 64 bit (extended-precsion) */
|
||||
FP_PE /* 64 bit (extended-precision) */
|
||||
} fp_prec_t;
|
||||
|
||||
#define fp_except_t int
|
||||
|
@ -42,7 +42,7 @@
|
||||
*
|
||||
* from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
|
||||
* from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
|
||||
* $Id: pmap.h,v 1.30 1995/12/10 13:38:09 phk Exp $
|
||||
* $Id: pmap.h,v 1.31 1995/12/17 07:39:05 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_PMAP_H_
|
||||
@ -133,7 +133,7 @@ pmap_kextract(vm_offset_t va)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* macros to generate page directory/table indicies
|
||||
* macros to generate page directory/table indices
|
||||
*/
|
||||
|
||||
#define pdei(va) (((va)&PD_MASK)>>PD_SHIFT)
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)psl.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: psl.h,v 1.5 1994/08/10 03:51:18 wollman Exp $
|
||||
* $Id: psl.h,v 1.6 1995/01/14 13:20:25 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_PSL_H_
|
||||
@ -78,7 +78,7 @@
|
||||
/*
|
||||
* Bits that can be changed in user mode on 486's. We allow these bits
|
||||
* to be changed using ptrace(), sigreturn() and procfs. Setting PS_NT
|
||||
* is undesireable but it may as well be allowed since users can inflict
|
||||
* is undesirable but it may as well be allowed since users can inflict
|
||||
* it on the kernel directly. Changes to PSL_AC are silently ignored on
|
||||
* 386's.
|
||||
*/
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)reg.h 5.5 (Berkeley) 1/18/91
|
||||
* $Id: reg.h,v 1.9 1994/10/02 17:31:29 phk Exp $
|
||||
* $Id: reg.h,v 1.10 1995/01/14 10:41:41 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_REG_H_
|
||||
@ -71,7 +71,7 @@
|
||||
/*
|
||||
* Registers accessible to ptrace(2) syscall for debugger
|
||||
* The machine-dependent code for PT_{SET,GET}REGS needs to
|
||||
* use whichver order, defined above, is correct, so that it
|
||||
* use whichever order, defined above, is correct, so that it
|
||||
* is all invisible to the user.
|
||||
*/
|
||||
struct reg {
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)segments.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: segments.h,v 1.8 1995/02/14 19:21:15 sos Exp $
|
||||
* $Id: segments.h,v 1.9 1995/05/30 08:00:50 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_SEGMENTS_H_
|
||||
@ -124,7 +124,7 @@ union descriptor {
|
||||
#define SDT_MEMROD 20 /* memory read only expand dwn limit */
|
||||
#define SDT_MEMRODA 21 /* memory read only expand dwn limit accessed */
|
||||
#define SDT_MEMRWD 22 /* memory read write expand dwn limit */
|
||||
#define SDT_MEMRWDA 23 /* memory read write expand dwn limit acessed */
|
||||
#define SDT_MEMRWDA 23 /* memory read write expand dwn limit accessed */
|
||||
#define SDT_MEME 24 /* memory execute only */
|
||||
#define SDT_MEMEA 25 /* memory execute only accessed */
|
||||
#define SDT_MEMER 26 /* memory execute read */
|
||||
@ -226,7 +226,7 @@ struct region_descriptor {
|
||||
#define L43BSDCALLS_SEL 2 /* notyet */
|
||||
#define LUCODE_SEL 3
|
||||
#define LUDATA_SEL 4
|
||||
/* seperate stack, es,fs,gs sels ? */
|
||||
/* separate stack, es,fs,gs sels ? */
|
||||
/* #define LPOSIXCALLS_SEL 5*/ /* notyet */
|
||||
#define NLDT (LUDATA_SEL + 1)
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)specialreg.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: specialreg.h,v 1.6 1995/01/14 10:44:55 bde Exp $
|
||||
* $Id: specialreg.h,v 1.7 1995/05/30 08:00:54 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_SPECIALREG_H_
|
||||
@ -59,7 +59,7 @@
|
||||
#define CR0_AM 0x00040000 /* Alignment Mask (set to enable AC flag) */
|
||||
|
||||
/*
|
||||
* Cyrix 486 DLC special registers, accessable as IO ports.
|
||||
* Cyrix 486 DLC special registers, accessible as IO ports.
|
||||
*/
|
||||
#define CCR0 0xc0 /* configuration control register 0 */
|
||||
#define CCR0_NC0 0x01 /* first 64K of each 1M memory region is
|
||||
@ -79,7 +79,7 @@
|
||||
|
||||
/*
|
||||
* the following four 3-byte registers control the non-cacheable regions.
|
||||
* These registers must be written as three seperate bytes.
|
||||
* These registers must be written as three separate bytes.
|
||||
*
|
||||
* NCRx+0: A31-A24 of starting address
|
||||
* NCRx+1: A23-A16 of starting address
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)tss.h 5.4 (Berkeley) 1/18/91
|
||||
* $Id: tss.h,v 1.4 1993/11/17 23:25:04 wollman Exp $
|
||||
* $Id: tss.h,v 1.5 1995/05/30 08:00:57 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_TSS_H_
|
||||
@ -46,12 +46,12 @@
|
||||
|
||||
struct i386tss {
|
||||
int tss_link; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_esp0; /* kernel stack pointer priviledge level 0 */
|
||||
int tss_esp0; /* kernel stack pointer privilege level 0 */
|
||||
#define tss_ksp tss_esp0
|
||||
int tss_ss0; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_esp1; /* kernel stack pointer priviledge level 1 */
|
||||
int tss_esp1; /* kernel stack pointer privilege level 1 */
|
||||
int tss_ss1; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_esp2; /* kernel stack pointer priviledge level 2 */
|
||||
int tss_esp2; /* kernel stack pointer privilege level 2 */
|
||||
int tss_ss2; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_cr3; /* page table directory */
|
||||
#define tss_ptd tss_cr3
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.h 5.7 (Berkeley) 5/9/91
|
||||
* $Id: isa.h,v 1.16 1995/09/08 03:14:00 julian Exp $
|
||||
* $Id: isa.h,v 1.17 1995/11/18 09:29:39 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_ISA_ISA_H_
|
||||
@ -146,7 +146,7 @@
|
||||
#define IO_CGASIZE 16 /* CGA controllers */
|
||||
#define IO_COMSIZE 8 /* 8250, 16x50 com controllers */
|
||||
#define IO_DMASIZE 16 /* 8237 DMA controllers */
|
||||
#define IO_DPGSIZE 32 /* 74LS612 DMA page reisters */
|
||||
#define IO_DPGSIZE 32 /* 74LS612 DMA page registers */
|
||||
#define IO_EISASIZE 256 /* EISA controllers */
|
||||
#define IO_FDCSIZE 8 /* Nec765 floppy controllers */
|
||||
#define IO_GAMSIZE 16 /* AT compatible game controllers */
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LINT -- config file for checking all the sources, tries to pull in
|
||||
# as much of the source tree as it can.
|
||||
#
|
||||
# $Id: LINT,v 1.233 1996/01/09 23:14:57 ats Exp $
|
||||
# $Id: LINT,v 1.234 1996/01/13 23:30:10 phk Exp $
|
||||
#
|
||||
# NB: You probably don't want to try running a kernel built from this
|
||||
# file. Instead, you should start from GENERIC, and add options from
|
||||
@ -51,7 +51,7 @@ options OPEN_MAX=128
|
||||
#
|
||||
options MATH_EMULATE #Support for x87 emulation
|
||||
# Don't enable both of these in a real config.
|
||||
options GPL_MATH_EMULATE #Support for x87 emualtion via
|
||||
options GPL_MATH_EMULATE #Support for x87 emulation via
|
||||
#new math emulator
|
||||
|
||||
#
|
||||
@ -75,7 +75,7 @@ config kernel root on wd0 dumps on wd0
|
||||
options "COMPAT_43"
|
||||
|
||||
#
|
||||
# Allow user-mode programs to manipulat their local descriptor tables.
|
||||
# Allow user-mode programs to manipulate their local descriptor tables.
|
||||
# This option is required for the WINE Windows(tm) emulator, and is
|
||||
# not used by anything else (that we know of).
|
||||
#
|
||||
@ -247,7 +247,7 @@ options UNION #Union filesystem
|
||||
# THis DEVFS is experimental but seems to work
|
||||
options DEVFS #devices filesystem
|
||||
|
||||
# Make space in the kernel for a MFS rootfilesystem. Define to the number
|
||||
# Make space in the kernel for a MFS root filesystem. Define to the number
|
||||
# of kilobytes to reserve for the filesystem.
|
||||
options MFS_ROOT=10
|
||||
# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing.
|
||||
@ -584,7 +584,7 @@ options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
|
||||
#
|
||||
# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
|
||||
#
|
||||
# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (reqires sppp)
|
||||
# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp)
|
||||
# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
|
||||
# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
|
||||
# el: 3Com 3C501 (slow!)
|
||||
@ -699,7 +699,7 @@ device pca0 at isa? port IO_TIMER1 tty
|
||||
# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
|
||||
# ctx: Cortex-I frame grabber
|
||||
# apm: Laptop Advanced Power Management (experimental)
|
||||
# spigot: The Creative Labs Video Spigot video-aquisition board
|
||||
# spigot: The Creative Labs Video Spigot video-acquisition board
|
||||
# meteor: Matrox Meteor video capture board
|
||||
# cy: Cyclades serial driver
|
||||
# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
|
||||
@ -741,7 +741,7 @@ device pca0 at isa? port IO_TIMER1 tty
|
||||
device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
|
||||
# for the Sony CDU31/33A CDROM
|
||||
device scd0 at isa? port 0x230 bio
|
||||
# for the soundblaster 16 multicd - up to 4 devices
|
||||
# for the SoundBlaster 16 multicd - up to 4 devices
|
||||
controller matcd0 at isa? port 0x230 bio
|
||||
device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
|
||||
device ctx0 at isa? port 0x230 iomem 0xd0000
|
||||
@ -830,7 +830,7 @@ controller pcic0 at crd?
|
||||
# Laptop/Notebook options:
|
||||
#
|
||||
# See also:
|
||||
# apm under `Miscellaneous hardare'
|
||||
# apm under `Miscellaneous hardware'
|
||||
# options PSM_NO_RESET for the `psm' driver
|
||||
# above.
|
||||
|
||||
|
@ -92,8 +92,8 @@ struct meteor_counts {
|
||||
|
||||
/* METEORCAPTUR capture options */
|
||||
#define METEOR_CAP_SINGLE 0x0001 /* capture one frame */
|
||||
#define METEOR_CAP_CONTINOUS 0x0002 /* contiuously capture */
|
||||
#define METEOR_CAP_STOP_CONT 0x0004 /* stop the continous capture */
|
||||
#define METEOR_CAP_CONTINOUS 0x0002 /* continuously capture */
|
||||
#define METEOR_CAP_STOP_CONT 0x0004 /* stop the continuous capture */
|
||||
|
||||
/* METEORCAPFRM capture commands */
|
||||
#define METEOR_CAP_N_FRAMES 0x0001 /* capture N frames */
|
||||
|
@ -6,7 +6,7 @@
|
||||
* of this software, nor does the author assume any responsibility
|
||||
* for damages incurred with its use.
|
||||
*
|
||||
* $Id: if_edreg.h,v 1.18 1995/05/30 08:02:00 rgrimes Exp $
|
||||
* $Id: if_edreg.h,v 1.19 1995/09/26 08:57:45 phk Exp $
|
||||
*/
|
||||
/*
|
||||
* National Semiconductor DS8390 NIC register definitions
|
||||
@ -211,7 +211,7 @@
|
||||
|
||||
/*
|
||||
* OVW: OverWrite. Indicates a receive ring-buffer overrun. Incoming network
|
||||
* would exceed (has exceeded?) the boundry pointer, resulting in data
|
||||
* would exceed (has exceeded?) the boundary pointer, resulting in data
|
||||
* that was previously received and not yet read from the buffer to be
|
||||
* overwritten.
|
||||
*/
|
||||
@ -266,7 +266,7 @@
|
||||
|
||||
/*
|
||||
* OVWE: OverWrite error interrupt Enable. If set, an interrupt is generated whenever
|
||||
* the receive ring-buffer is overrun. i.e. when the boundry pointer is exceeded.
|
||||
* the receive ring-buffer is overrun. i.e. when the boundary pointer is exceeded.
|
||||
*/
|
||||
#define ED_IMR_OVWE 0x10
|
||||
|
||||
@ -318,7 +318,7 @@
|
||||
/*
|
||||
* AR: Auto-initialize Remote. When 0, data must be removed from ring-buffer
|
||||
* under program control. When 1, remote DMA is automatically initiated
|
||||
* and the boundry pointer is automatically updated
|
||||
* and the boundary pointer is automatically updated
|
||||
*/
|
||||
#define ED_DCR_AR 0x10
|
||||
|
||||
@ -500,7 +500,7 @@
|
||||
|
||||
/*
|
||||
* FAE: Frame Alignment Error. Indicates that the incoming packet did not end on
|
||||
* a byte boundry and the CRC did not match at the last byte boundry.
|
||||
* a byte boundary and the CRC did not match at the last byte boundary.
|
||||
*/
|
||||
#define ED_RSR_FAE 0x04
|
||||
|
||||
@ -513,7 +513,7 @@
|
||||
/*
|
||||
* MPA: Missed Packet. Indicates that the received packet couldn't be stored in
|
||||
* the ring-buffer because of insufficient buffer space (exceeding the
|
||||
* boundry pointer), or because the transfer to the ring-buffer was inhibited
|
||||
* boundary pointer), or because the transfer to the ring-buffer was inhibited
|
||||
* by RCR_MON - monitor mode.
|
||||
*/
|
||||
#define ED_RSR_MPA 0x10
|
||||
@ -526,7 +526,7 @@
|
||||
#define ED_RSR_PHY 0x20
|
||||
|
||||
/*
|
||||
* DIS: Receiver Disabled. Set to indicate that the receiver has enetered monitor
|
||||
* DIS: Receiver Disabled. Set to indicate that the receiver has entered monitor
|
||||
* mode. Cleared when the receiver exits monitor mode.
|
||||
*/
|
||||
#define ED_RSR_DIS 0x40
|
||||
@ -539,7 +539,7 @@
|
||||
#define ED_RSR_DFR 0x80
|
||||
|
||||
/*
|
||||
* receive ring discriptor
|
||||
* receive ring descriptor
|
||||
*
|
||||
* The National Semiconductor DS8390 Network interface controller uses
|
||||
* the following receive ring headers. The way this works is that the
|
||||
@ -574,7 +574,7 @@ struct ed_ring {
|
||||
* Compile-time config flags
|
||||
*/
|
||||
/*
|
||||
* this sets the default for enabling/disablng the tranceiver
|
||||
* this sets the default for enabling/disabling the transceiver
|
||||
*/
|
||||
#define ED_FLAGS_DISABLE_TRANCEIVER 0x0001
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
* 4. Modifications may be freely made to this file if the above conditions
|
||||
* are met.
|
||||
*
|
||||
* $Id: eisaconf.h,v 1.6 1995/11/21 12:52:49 bde Exp $
|
||||
* $Id: eisaconf.h,v 1.7 1996/01/29 03:13:23 gibbs Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_EISA_EISACONF_H_
|
||||
@ -74,7 +74,7 @@ struct eisa_driver {
|
||||
/* Return the device to a safe
|
||||
* state before shutdown
|
||||
*/
|
||||
u_long *unit; /* Next availible unit */
|
||||
u_long *unit; /* Next available unit */
|
||||
};
|
||||
|
||||
/* To be replaced by the "super device" generic device structure... */
|
||||
|
@ -6,7 +6,7 @@
|
||||
* met: 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer. 2. The name
|
||||
* of the author may not be used to endorse or promote products derived from
|
||||
* this software withough specific prior written permission
|
||||
* this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
@ -31,7 +31,7 @@
|
||||
|
||||
*/
|
||||
/*
|
||||
* $Id: if_epreg.h,v 1.8 1995/05/30 08:02:09 rgrimes Exp $
|
||||
* $Id: if_epreg.h,v 1.9 1996/01/29 03:16:14 gibbs Exp $
|
||||
*
|
||||
* Promiscuous mode added and interrupt logic slightly changed
|
||||
* to reduce the number of adapter failures. Transceiver select
|
||||
@ -141,7 +141,7 @@ struct ep_board {
|
||||
/**************************************************************************
|
||||
* *
|
||||
* These define the EEPROM data structure. They are used in the probe
|
||||
* function to verify the existance of the adapter after having sent
|
||||
* function to verify the existence of the adapter after having sent
|
||||
* the ID_Sequence.
|
||||
*
|
||||
* There are others but only the ones we use are defined here.
|
||||
|
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#define FE_FMV0 16 /* Hardware status. */
|
||||
#define FE_FMV1 17 /* Hardrare type? Always 0 */
|
||||
#define FE_FMV1 17 /* Hardware type? Always 0 */
|
||||
#define FE_FMV2 18 /* Hardware configuration. */
|
||||
#define FE_FMV3 19 /* Hardware enable. */
|
||||
#define FE_FMV4 20 /* Station address #1 */
|
||||
|
@ -105,7 +105,7 @@ struct nic_info {
|
||||
int ic; /* Type of ic, Am7990, Am79C960 etc. */
|
||||
int mem_mode;
|
||||
int iobase;
|
||||
int mode; /* Mode setting at initialisation */
|
||||
int mode; /* Mode setting at initialization */
|
||||
};
|
||||
|
||||
struct host_ring_entry {
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: scdreg.h,v 1.3 1995/02/06 22:35:07 jkh Exp $
|
||||
* $Id: scdreg.h,v 1.1 1995/03/24 18:33:02 jkh Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.h,v 1.13 1995/11/28 00:17:32 ache Exp $
|
||||
* $Id: syscons.h,v 1.14 1995/12/10 13:39:20 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_ISA_SYSCONS_H_
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: bpb.h,v 1.1 1994/09/19 15:41:37 dfr Exp $ */
|
||||
/* $Id: bpb.h,v 1.2 1995/05/30 08:07:30 rgrimes Exp $ */
|
||||
/* $NetBSD: bpb.h,v 1.3 1994/06/29 06:35:29 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -50,7 +50,7 @@ struct bpb50 {
|
||||
u_short bpbSecPerTrack; /* sectors per track */
|
||||
u_short bpbHeads; /* number of heads */
|
||||
u_long bpbHiddenSecs; /* number of hidden sectors */
|
||||
u_long bpbHugeSectors; /* number of sectrs if bpbSectors == 0 */
|
||||
u_long bpbHugeSectors; /* number of sectors if bpbSectors == 0 */
|
||||
};
|
||||
|
||||
/*
|
||||
@ -116,5 +116,5 @@ struct byte_bpb50 {
|
||||
char bpbSecPerTrack[2]; /* sectors per track */
|
||||
char bpbHeads[2]; /* number of heads */
|
||||
char bpbHiddenSecs[4]; /* number of hidden sectors */
|
||||
char bpbHugeSectors[4]; /* number of sectrs if bpbSectors == 0 */
|
||||
char bpbHugeSectors[4]; /* number of sectors if bpbSectors == 0 */
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: msdosfsmount.h,v 1.4 1995/11/07 14:06:45 phk Exp $ */
|
||||
/* $Id: msdosfsmount.h,v 1.5 1995/11/16 11:48:10 bde Exp $ */
|
||||
/* $NetBSD: msdosfsmount.h,v 1.7 1994/08/21 18:44:17 ws Exp $ */
|
||||
|
||||
/*-
|
||||
@ -79,7 +79,7 @@ struct msdosfsmount {
|
||||
u_long pm_fatsize; /* size of fat in bytes */
|
||||
u_int *pm_inusemap; /* ptr to bitmap of in-use clusters */
|
||||
char pm_ronly; /* read only if non-zero */
|
||||
char pm_waitonfat; /* wait for writes of the fat to complt, when 0 use bdwrite, else use bwrite */
|
||||
char pm_waitonfat; /* wait for writes of the fat to complete, when 0 use bdwrite, else use bwrite */
|
||||
struct netexport pm_export; /* export information */
|
||||
};
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)inode.h 8.4 (Berkeley) 1/21/94
|
||||
* $Id: inode.h,v 1.6 1995/05/30 08:15:30 rgrimes Exp $
|
||||
* $Id: inode.h,v 1.7 1995/11/05 23:35:56 dyson Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_INODE_H_
|
||||
@ -58,7 +58,7 @@
|
||||
* information. The first part is the information that is needed
|
||||
* only while the file is active (such as the identity of the file
|
||||
* and linkage to speed its lookup). The second part is the
|
||||
* permannent meta-data associated with the file which is read
|
||||
* permanent meta-data associated with the file which is read
|
||||
* in from the permanent dinode from long term storage when the
|
||||
* file becomes active, and is put back when the file is no longer
|
||||
* being used.
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)inode.h 8.4 (Berkeley) 1/21/94
|
||||
* $Id: inode.h,v 1.6 1995/05/30 08:15:30 rgrimes Exp $
|
||||
* $Id: inode.h,v 1.7 1995/11/05 23:35:56 dyson Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_INODE_H_
|
||||
@ -58,7 +58,7 @@
|
||||
* information. The first part is the information that is needed
|
||||
* only while the file is active (such as the identity of the file
|
||||
* and linkage to speed its lookup). The second part is the
|
||||
* permannent meta-data associated with the file which is read
|
||||
* permanent meta-data associated with the file which is read
|
||||
* in from the permanent dinode from long term storage when the
|
||||
* file becomes active, and is put back when the file is no longer
|
||||
* being used.
|
||||
|
@ -24,7 +24,7 @@
|
||||
* the rights to redistribute these changes.
|
||||
*
|
||||
* from: Mach, Revision 2.7 92/02/29 15:33:41 rpd
|
||||
* $Id: real_prot.h,v 1.2 1995/02/17 02:22:33 phk Exp $
|
||||
* $Id: real_prot.h,v 1.3 1995/05/30 07:58:16 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -40,7 +40,7 @@
|
||||
* use.
|
||||
*
|
||||
* Sep., 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
|
||||
* Nov., 1994 Commited to FreeBSD 2.0-current
|
||||
* Nov., 1994 Committed to FreeBSD 2.0-current
|
||||
* Jan., 1995 Ported to RT-Mach 3.0 MK83g
|
||||
*/
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
* the rights to redistribute these changes.
|
||||
*
|
||||
* from: Mach, Revision 2.7 92/02/29 15:33:41 rpd
|
||||
* $Id: real_prot.h,v 1.2 1995/02/17 02:22:33 phk Exp $
|
||||
* $Id: real_prot.h,v 1.3 1995/05/30 07:58:16 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -40,7 +40,7 @@
|
||||
* use.
|
||||
*
|
||||
* Sep., 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
|
||||
* Nov., 1994 Commited to FreeBSD 2.0-current
|
||||
* Nov., 1994 Committed to FreeBSD 2.0-current
|
||||
* Jan., 1995 Ported to RT-Mach 3.0 MK83g
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LINT -- config file for checking all the sources, tries to pull in
|
||||
# as much of the source tree as it can.
|
||||
#
|
||||
# $Id: LINT,v 1.233 1996/01/09 23:14:57 ats Exp $
|
||||
# $Id: LINT,v 1.234 1996/01/13 23:30:10 phk Exp $
|
||||
#
|
||||
# NB: You probably don't want to try running a kernel built from this
|
||||
# file. Instead, you should start from GENERIC, and add options from
|
||||
@ -51,7 +51,7 @@ options OPEN_MAX=128
|
||||
#
|
||||
options MATH_EMULATE #Support for x87 emulation
|
||||
# Don't enable both of these in a real config.
|
||||
options GPL_MATH_EMULATE #Support for x87 emualtion via
|
||||
options GPL_MATH_EMULATE #Support for x87 emulation via
|
||||
#new math emulator
|
||||
|
||||
#
|
||||
@ -75,7 +75,7 @@ config kernel root on wd0 dumps on wd0
|
||||
options "COMPAT_43"
|
||||
|
||||
#
|
||||
# Allow user-mode programs to manipulat their local descriptor tables.
|
||||
# Allow user-mode programs to manipulate their local descriptor tables.
|
||||
# This option is required for the WINE Windows(tm) emulator, and is
|
||||
# not used by anything else (that we know of).
|
||||
#
|
||||
@ -247,7 +247,7 @@ options UNION #Union filesystem
|
||||
# THis DEVFS is experimental but seems to work
|
||||
options DEVFS #devices filesystem
|
||||
|
||||
# Make space in the kernel for a MFS rootfilesystem. Define to the number
|
||||
# Make space in the kernel for a MFS root filesystem. Define to the number
|
||||
# of kilobytes to reserve for the filesystem.
|
||||
options MFS_ROOT=10
|
||||
# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing.
|
||||
@ -584,7 +584,7 @@ options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
|
||||
#
|
||||
# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
|
||||
#
|
||||
# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (reqires sppp)
|
||||
# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp)
|
||||
# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
|
||||
# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
|
||||
# el: 3Com 3C501 (slow!)
|
||||
@ -699,7 +699,7 @@ device pca0 at isa? port IO_TIMER1 tty
|
||||
# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
|
||||
# ctx: Cortex-I frame grabber
|
||||
# apm: Laptop Advanced Power Management (experimental)
|
||||
# spigot: The Creative Labs Video Spigot video-aquisition board
|
||||
# spigot: The Creative Labs Video Spigot video-acquisition board
|
||||
# meteor: Matrox Meteor video capture board
|
||||
# cy: Cyclades serial driver
|
||||
# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
|
||||
@ -741,7 +741,7 @@ device pca0 at isa? port IO_TIMER1 tty
|
||||
device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
|
||||
# for the Sony CDU31/33A CDROM
|
||||
device scd0 at isa? port 0x230 bio
|
||||
# for the soundblaster 16 multicd - up to 4 devices
|
||||
# for the SoundBlaster 16 multicd - up to 4 devices
|
||||
controller matcd0 at isa? port 0x230 bio
|
||||
device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
|
||||
device ctx0 at isa? port 0x230 iomem 0xd0000
|
||||
@ -830,7 +830,7 @@ controller pcic0 at crd?
|
||||
# Laptop/Notebook options:
|
||||
#
|
||||
# See also:
|
||||
# apm under `Miscellaneous hardare'
|
||||
# apm under `Miscellaneous hardware'
|
||||
# options PSM_NO_RESET for the `psm' driver
|
||||
# above.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LINT -- config file for checking all the sources, tries to pull in
|
||||
# as much of the source tree as it can.
|
||||
#
|
||||
# $Id: LINT,v 1.233 1996/01/09 23:14:57 ats Exp $
|
||||
# $Id: LINT,v 1.234 1996/01/13 23:30:10 phk Exp $
|
||||
#
|
||||
# NB: You probably don't want to try running a kernel built from this
|
||||
# file. Instead, you should start from GENERIC, and add options from
|
||||
@ -51,7 +51,7 @@ options OPEN_MAX=128
|
||||
#
|
||||
options MATH_EMULATE #Support for x87 emulation
|
||||
# Don't enable both of these in a real config.
|
||||
options GPL_MATH_EMULATE #Support for x87 emualtion via
|
||||
options GPL_MATH_EMULATE #Support for x87 emulation via
|
||||
#new math emulator
|
||||
|
||||
#
|
||||
@ -75,7 +75,7 @@ config kernel root on wd0 dumps on wd0
|
||||
options "COMPAT_43"
|
||||
|
||||
#
|
||||
# Allow user-mode programs to manipulat their local descriptor tables.
|
||||
# Allow user-mode programs to manipulate their local descriptor tables.
|
||||
# This option is required for the WINE Windows(tm) emulator, and is
|
||||
# not used by anything else (that we know of).
|
||||
#
|
||||
@ -247,7 +247,7 @@ options UNION #Union filesystem
|
||||
# THis DEVFS is experimental but seems to work
|
||||
options DEVFS #devices filesystem
|
||||
|
||||
# Make space in the kernel for a MFS rootfilesystem. Define to the number
|
||||
# Make space in the kernel for a MFS root filesystem. Define to the number
|
||||
# of kilobytes to reserve for the filesystem.
|
||||
options MFS_ROOT=10
|
||||
# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing.
|
||||
@ -584,7 +584,7 @@ options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
|
||||
#
|
||||
# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
|
||||
#
|
||||
# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (reqires sppp)
|
||||
# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp)
|
||||
# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
|
||||
# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
|
||||
# el: 3Com 3C501 (slow!)
|
||||
@ -699,7 +699,7 @@ device pca0 at isa? port IO_TIMER1 tty
|
||||
# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
|
||||
# ctx: Cortex-I frame grabber
|
||||
# apm: Laptop Advanced Power Management (experimental)
|
||||
# spigot: The Creative Labs Video Spigot video-aquisition board
|
||||
# spigot: The Creative Labs Video Spigot video-acquisition board
|
||||
# meteor: Matrox Meteor video capture board
|
||||
# cy: Cyclades serial driver
|
||||
# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
|
||||
@ -741,7 +741,7 @@ device pca0 at isa? port IO_TIMER1 tty
|
||||
device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
|
||||
# for the Sony CDU31/33A CDROM
|
||||
device scd0 at isa? port 0x230 bio
|
||||
# for the soundblaster 16 multicd - up to 4 devices
|
||||
# for the SoundBlaster 16 multicd - up to 4 devices
|
||||
controller matcd0 at isa? port 0x230 bio
|
||||
device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
|
||||
device ctx0 at isa? port 0x230 iomem 0xd0000
|
||||
@ -830,7 +830,7 @@ controller pcic0 at crd?
|
||||
# Laptop/Notebook options:
|
||||
#
|
||||
# See also:
|
||||
# apm under `Miscellaneous hardare'
|
||||
# apm under `Miscellaneous hardware'
|
||||
# options PSM_NO_RESET for the `psm' driver
|
||||
# above.
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
* 4. Modifications may be freely made to this file if the above conditions
|
||||
* are met.
|
||||
*
|
||||
* $Id: eisaconf.h,v 1.6 1995/11/21 12:52:49 bde Exp $
|
||||
* $Id: eisaconf.h,v 1.7 1996/01/29 03:13:23 gibbs Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_EISA_EISACONF_H_
|
||||
@ -74,7 +74,7 @@ struct eisa_driver {
|
||||
/* Return the device to a safe
|
||||
* state before shutdown
|
||||
*/
|
||||
u_long *unit; /* Next availible unit */
|
||||
u_long *unit; /* Next available unit */
|
||||
};
|
||||
|
||||
/* To be replaced by the "super device" generic device structure... */
|
||||
|
@ -13,7 +13,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -26,7 +26,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: coff.h,v 1.1 1994/10/12 19:37:16 sos Exp $
|
||||
* $Id: coff.h,v 1.1 1994/10/14 08:53:14 sos Exp $
|
||||
*/
|
||||
|
||||
#ifndef _COFF_H
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: console.h,v 1.18 1995/01/28 22:15:30 sos Exp $
|
||||
* $Id: console.h,v 1.19 1995/05/30 08:00:28 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _CONSOLE_H_
|
||||
@ -117,7 +117,7 @@ struct mouse_info {
|
||||
#define KD_HERCULES 2 /* hercules adapter */
|
||||
#define KD_CGA 3 /* color graphics adapter */
|
||||
#define KD_EGA 4 /* enhanced graphics adapter */
|
||||
#define KD_VGA 5 /* video graohics adapter */
|
||||
#define KD_VGA 5 /* video graphics adapter */
|
||||
|
||||
#define KD_TEXT 0 /* set text mode restore fonts */
|
||||
#define KD_TEXT0 0 /* ditto */
|
||||
@ -238,7 +238,7 @@ typedef struct ssaver ssaver_t;
|
||||
#define F(x) ((x)+F_FN-1)
|
||||
#define S(x) ((x)+F_SCR-1)
|
||||
#define NOKEY 0x100 /* no key pressed marker */
|
||||
#define FKEY 0x200 /* funtion key marker */
|
||||
#define FKEY 0x200 /* function key marker */
|
||||
#define MKEY 0x400 /* meta key marker (prepend ESC)*/
|
||||
#define BKEY 0x800 /* backtab (ESC [ Z) */
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -24,7 +24,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: cputypes.h,v 1.3 1994/09/04 19:59:23 pst Exp $
|
||||
* $Id: cputypes.h,v 1.4 1995/12/24 08:10:50 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_CPUTYPES_H_
|
||||
|
@ -7,7 +7,7 @@
|
||||
* This software is distributed with NO WARRANTIES, not even the implied
|
||||
* warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* Authors grant any other persons or organisations permission to use
|
||||
* Authors grant any other persons or organizations permission to use
|
||||
* or modify this software as long as this message is kept with the software,
|
||||
* all derivative works or modified versions.
|
||||
*
|
||||
@ -159,7 +159,7 @@ typedef struct { /* hdlc channel option register 2 */
|
||||
unsigned ctsae : 1; /* CTS automatic enable */
|
||||
unsigned rtsao : 1; /* RTS automatic output enable */
|
||||
unsigned zero1 : 1;
|
||||
unsigned crcninv : 1; /* CRC invertion option */
|
||||
unsigned crcninv : 1; /* CRC inversion option */
|
||||
unsigned zero2 : 1;
|
||||
unsigned fcsapd : 1; /* FCS append */
|
||||
unsigned zero3 : 1;
|
||||
@ -206,7 +206,7 @@ typedef struct { /* channel option register 1 */
|
||||
|
||||
typedef struct { /* channel option register 2 */
|
||||
unsigned syns : 4; /* number of extra SYN chars before a frame */
|
||||
unsigned crcninv : 1; /* CRC invertion option */
|
||||
unsigned crcninv : 1; /* CRC inversion option */
|
||||
unsigned ebcdic : 1; /* use EBCDIC as char set (instead of ASCII) */
|
||||
unsigned bcc : 1; /* BCC append enable */
|
||||
unsigned lrc : 1; /* longitudinal redundancy check */
|
||||
@ -447,7 +447,7 @@ typedef struct _stat_t {
|
||||
typedef struct _board_t {
|
||||
unsigned short port; /* base board port, 0..3f0 */
|
||||
unsigned short num; /* board number, 0..2 */
|
||||
unsigned char irq; /* intterupt request {3 5 7 10 11 12 15} */
|
||||
unsigned char irq; /* interrupt request {3 5 7 10 11 12 15} */
|
||||
unsigned char dma; /* DMA request {5 6 7} */
|
||||
unsigned char if0type; /* chan0 interface RS-232/RS-449/V.35 */
|
||||
unsigned char if8type; /* chan8 interface RS-232/RS-449/V.35 */
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)frame.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: frame.h,v 1.10 1995/03/16 18:11:42 bde Exp $
|
||||
* $Id: frame.h,v 1.11 1995/12/14 08:21:33 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_FRAME_H_
|
||||
@ -67,7 +67,7 @@ struct trapframe {
|
||||
int tf_eip;
|
||||
int tf_cs;
|
||||
int tf_eflags;
|
||||
/* below only when transitting rings (e.g. user to kernel) */
|
||||
/* below only when crossing rings (e.g. user to kernel) */
|
||||
int tf_esp;
|
||||
int tf_ss;
|
||||
};
|
||||
@ -93,7 +93,7 @@ struct intrframe {
|
||||
int if_eip;
|
||||
int if_cs;
|
||||
int if_eflags;
|
||||
/* below only when transitting rings (e.g. user to kernel) */
|
||||
/* below only when crossing rings (e.g. user to kernel) */
|
||||
int if_esp;
|
||||
int if_ss;
|
||||
};
|
||||
@ -119,7 +119,7 @@ struct clockframe {
|
||||
int cf_eip;
|
||||
int cf_cs;
|
||||
int cf_eflags;
|
||||
/* below only when transitting rings (e.g. user to kernel) */
|
||||
/* below only when crossing rings (e.g. user to kernel) */
|
||||
int cf_esp;
|
||||
int cf_ss;
|
||||
};
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#) ieeefp.h 1.0 (Berkeley) 9/23/93
|
||||
* $Id: ieeefp.h,v 1.1 1994/08/04 19:16:37 wollman Exp $
|
||||
* $Id: ieeefp.h,v 1.2 1994/08/05 14:36:04 wollman Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -52,13 +52,13 @@ typedef enum {
|
||||
} fp_rnd_t;
|
||||
|
||||
/*
|
||||
* FP precison modes
|
||||
* FP precision modes
|
||||
*/
|
||||
typedef enum {
|
||||
FP_PS=0, /* 24 bit (single-precsion) */
|
||||
FP_PS=0, /* 24 bit (single-precision) */
|
||||
FP_PRS, /* reserved */
|
||||
FP_PD, /* 53 bit (double-precision) */
|
||||
FP_PE /* 64 bit (extended-precsion) */
|
||||
FP_PE /* 64 bit (extended-precision) */
|
||||
} fp_prec_t;
|
||||
|
||||
#define fp_except_t int
|
||||
|
@ -24,7 +24,7 @@
|
||||
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
* DAMAGE.
|
||||
*
|
||||
* $Id: ioctl_fd.h,v 1.6 1994/09/25 18:41:21 joerg Exp $
|
||||
* $Id: ioctl_fd.h,v 1.7 1994/10/30 19:17:39 joerg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _IOCTL_FD_H
|
||||
@ -46,7 +46,7 @@ struct fd_formb {
|
||||
struct fd_form_data {
|
||||
/*
|
||||
* DO NOT CHANGE THE LAYOUT OF THIS STRUCTS
|
||||
* it is hardware-dependant since it exactly
|
||||
* it is hardware-dependent since it exactly
|
||||
* matches the byte sequence to write to FDC
|
||||
* during its `format track' operation
|
||||
*/
|
||||
|
@ -92,8 +92,8 @@ struct meteor_counts {
|
||||
|
||||
/* METEORCAPTUR capture options */
|
||||
#define METEOR_CAP_SINGLE 0x0001 /* capture one frame */
|
||||
#define METEOR_CAP_CONTINOUS 0x0002 /* contiuously capture */
|
||||
#define METEOR_CAP_STOP_CONT 0x0004 /* stop the continous capture */
|
||||
#define METEOR_CAP_CONTINOUS 0x0002 /* continuously capture */
|
||||
#define METEOR_CAP_STOP_CONT 0x0004 /* stop the continuous capture */
|
||||
|
||||
/* METEORCAPFRM capture commands */
|
||||
#define METEOR_CAP_N_FRAMES 0x0001 /* capture N frames */
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: pcaudioio.h,v 1.3 1994/09/29 08:31:39 sos Exp $
|
||||
* $Id: pcaudioio.h,v 1.4 1995/05/30 08:00:44 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _PCAUDIOIO_H_
|
||||
|
@ -221,7 +221,7 @@ struct mousedefs {
|
||||
#define EGA_ADAPTOR 3 /* Enhanced Graphics Adaptor */
|
||||
#define VGA_ADAPTOR 4 /* Video Graphics Adaptor/Array */
|
||||
|
||||
/* Deifinitions of Monitor types */
|
||||
/* Definitions of Monitor types */
|
||||
|
||||
#define MONITOR_MONO 0 /* Monochrome Monitor */
|
||||
#define MONITOR_COLOR 1 /* Color Monitor */
|
||||
@ -376,10 +376,10 @@ struct screeninfo {
|
||||
/* on write, if -1, no change */
|
||||
int vga_family; /* if adaptor_type = VGA, this reflects */
|
||||
/* the chipset family after a read */
|
||||
/* nothing happenes on write ... */
|
||||
/* nothing happens on write ... */
|
||||
int vga_type; /* if adaptor_type = VGA, this reflects */
|
||||
/* the chipset after a read */
|
||||
/* nothing happenes on write ... */
|
||||
/* nothing happens on write ... */
|
||||
int vga_132; /* set to 1 if driver has support for */
|
||||
/* 132 column operation for chipset */
|
||||
/* currently ignored on write */
|
||||
@ -543,7 +543,7 @@ struct pcvtinfo { /* compile time option values */
|
||||
|
||||
#define VT_FALSE 0 /* release of VT refused */
|
||||
#define VT_TRUE 1 /* VT released */
|
||||
#define VT_ACKACQ 2 /* acknowledging VT acquiration */
|
||||
#define VT_ACKACQ 2 /* acknowledging VT acquisition */
|
||||
|
||||
|
||||
#define VT_ACTIVATE _IO('v', 5 /*, int */)
|
||||
|
@ -42,7 +42,7 @@
|
||||
*
|
||||
* from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
|
||||
* from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
|
||||
* $Id: pmap.h,v 1.30 1995/12/10 13:38:09 phk Exp $
|
||||
* $Id: pmap.h,v 1.31 1995/12/17 07:39:05 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_PMAP_H_
|
||||
@ -133,7 +133,7 @@ pmap_kextract(vm_offset_t va)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* macros to generate page directory/table indicies
|
||||
* macros to generate page directory/table indices
|
||||
*/
|
||||
|
||||
#define pdei(va) (((va)&PD_MASK)>>PD_SHIFT)
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)psl.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: psl.h,v 1.5 1994/08/10 03:51:18 wollman Exp $
|
||||
* $Id: psl.h,v 1.6 1995/01/14 13:20:25 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_PSL_H_
|
||||
@ -78,7 +78,7 @@
|
||||
/*
|
||||
* Bits that can be changed in user mode on 486's. We allow these bits
|
||||
* to be changed using ptrace(), sigreturn() and procfs. Setting PS_NT
|
||||
* is undesireable but it may as well be allowed since users can inflict
|
||||
* is undesirable but it may as well be allowed since users can inflict
|
||||
* it on the kernel directly. Changes to PSL_AC are silently ignored on
|
||||
* 386's.
|
||||
*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* random.h -- A strong random number generator
|
||||
*
|
||||
* $Id$
|
||||
* $Id: random.h,v 1.3 1995/12/29 08:04:13 markm Exp $
|
||||
*
|
||||
* Version 0.95, last modified 18-Oct-95
|
||||
*
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
#if defined(KERNEL)
|
||||
|
||||
/* Interrupts to be used in the randomising process */
|
||||
/* Interrupts to be used in the randomizing process */
|
||||
|
||||
extern inthand2_t *sec_intr_handler[ICU_LEN];
|
||||
extern int sec_intr_unit[ICU_LEN];
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)reg.h 5.5 (Berkeley) 1/18/91
|
||||
* $Id: reg.h,v 1.9 1994/10/02 17:31:29 phk Exp $
|
||||
* $Id: reg.h,v 1.10 1995/01/14 10:41:41 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_REG_H_
|
||||
@ -71,7 +71,7 @@
|
||||
/*
|
||||
* Registers accessible to ptrace(2) syscall for debugger
|
||||
* The machine-dependent code for PT_{SET,GET}REGS needs to
|
||||
* use whichver order, defined above, is correct, so that it
|
||||
* use whichever order, defined above, is correct, so that it
|
||||
* is all invisible to the user.
|
||||
*/
|
||||
struct reg {
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)segments.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: segments.h,v 1.8 1995/02/14 19:21:15 sos Exp $
|
||||
* $Id: segments.h,v 1.9 1995/05/30 08:00:50 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_SEGMENTS_H_
|
||||
@ -124,7 +124,7 @@ union descriptor {
|
||||
#define SDT_MEMROD 20 /* memory read only expand dwn limit */
|
||||
#define SDT_MEMRODA 21 /* memory read only expand dwn limit accessed */
|
||||
#define SDT_MEMRWD 22 /* memory read write expand dwn limit */
|
||||
#define SDT_MEMRWDA 23 /* memory read write expand dwn limit acessed */
|
||||
#define SDT_MEMRWDA 23 /* memory read write expand dwn limit accessed */
|
||||
#define SDT_MEME 24 /* memory execute only */
|
||||
#define SDT_MEMEA 25 /* memory execute only accessed */
|
||||
#define SDT_MEMER 26 /* memory execute read */
|
||||
@ -226,7 +226,7 @@ struct region_descriptor {
|
||||
#define L43BSDCALLS_SEL 2 /* notyet */
|
||||
#define LUCODE_SEL 3
|
||||
#define LUDATA_SEL 4
|
||||
/* seperate stack, es,fs,gs sels ? */
|
||||
/* separate stack, es,fs,gs sels ? */
|
||||
/* #define LPOSIXCALLS_SEL 5*/ /* notyet */
|
||||
#define NLDT (LUDATA_SEL + 1)
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
/*
|
||||
* If you make modifications to this file, please contact me before
|
||||
* distributing the modified version. There is already enough
|
||||
* divercity in the world.
|
||||
* diversity in the world.
|
||||
*
|
||||
* Regards,
|
||||
* Hannu Savolainen
|
||||
@ -135,7 +135,7 @@
|
||||
* Sample loading mechanism for internal synthesizers (/dev/sequencer)
|
||||
* The following patch_info structure has been designed to support
|
||||
* Gravis UltraSound. It tries to be universal format for uploading
|
||||
* sample based patches but is propably too limited.
|
||||
* sample based patches but is probably too limited.
|
||||
*/
|
||||
|
||||
struct patch_info {
|
||||
@ -383,7 +383,7 @@ struct patmgr_info { /* Note! size must be < 4k since kmalloc() is used */
|
||||
/* undefined 0x20 */
|
||||
/* The controller numbers 0x21 to 0x3f are reserved for the */
|
||||
/* least significant bytes of the controllers 0x00 to 0x1f. */
|
||||
/* These controllers are not recognised by the driver. */
|
||||
/* These controllers are not recognized by the driver. */
|
||||
|
||||
/* Controllers 64 to 69 (0x40 to 0x45) are on/off switches. */
|
||||
/* 0=OFF and 127=ON (intermediate values are possible) */
|
||||
@ -671,7 +671,7 @@ typedef struct copr_msg {
|
||||
/*
|
||||
* The AD1848 codec and compatibles have three line level inputs
|
||||
* (line, aux1 and aux2). Since each card manufacturer have assigned
|
||||
* different meanings to these inputs, it's inpractical to assign
|
||||
* different meanings to these inputs, it's impractical to assign
|
||||
* specific meanings (line, cd, synth etc.) to them.
|
||||
*/
|
||||
#define SOUND_MIXER_LINE1 14 /* Input source 1 (aux1) */
|
||||
@ -1001,7 +1001,7 @@ void seqbuf_dump(void); /* This function must be provided by programs */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Timing and syncronization macros
|
||||
* Timing and synchronization macros
|
||||
*/
|
||||
|
||||
#define _TIMER_EVENT(ev, parm) {_SEQ_NEEDBUF(8);\
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)specialreg.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: specialreg.h,v 1.6 1995/01/14 10:44:55 bde Exp $
|
||||
* $Id: specialreg.h,v 1.7 1995/05/30 08:00:54 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_SPECIALREG_H_
|
||||
@ -59,7 +59,7 @@
|
||||
#define CR0_AM 0x00040000 /* Alignment Mask (set to enable AC flag) */
|
||||
|
||||
/*
|
||||
* Cyrix 486 DLC special registers, accessable as IO ports.
|
||||
* Cyrix 486 DLC special registers, accessible as IO ports.
|
||||
*/
|
||||
#define CCR0 0xc0 /* configuration control register 0 */
|
||||
#define CCR0_NC0 0x01 /* first 64K of each 1M memory region is
|
||||
@ -79,7 +79,7 @@
|
||||
|
||||
/*
|
||||
* the following four 3-byte registers control the non-cacheable regions.
|
||||
* These registers must be written as three seperate bytes.
|
||||
* These registers must be written as three separate bytes.
|
||||
*
|
||||
* NCRx+0: A31-A24 of starting address
|
||||
* NCRx+1: A23-A16 of starting address
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)tss.h 5.4 (Berkeley) 1/18/91
|
||||
* $Id: tss.h,v 1.4 1993/11/17 23:25:04 wollman Exp $
|
||||
* $Id: tss.h,v 1.5 1995/05/30 08:00:57 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_TSS_H_
|
||||
@ -46,12 +46,12 @@
|
||||
|
||||
struct i386tss {
|
||||
int tss_link; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_esp0; /* kernel stack pointer priviledge level 0 */
|
||||
int tss_esp0; /* kernel stack pointer privilege level 0 */
|
||||
#define tss_ksp tss_esp0
|
||||
int tss_ss0; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_esp1; /* kernel stack pointer priviledge level 1 */
|
||||
int tss_esp1; /* kernel stack pointer privilege level 1 */
|
||||
int tss_ss1; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_esp2; /* kernel stack pointer priviledge level 2 */
|
||||
int tss_esp2; /* kernel stack pointer privilege level 2 */
|
||||
int tss_ss2; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_cr3; /* page table directory */
|
||||
#define tss_ptd tss_cr3
|
||||
|
@ -52,7 +52,7 @@
|
||||
* _GUS_VOICEOFF - Stops voice (no parameters)
|
||||
* _GUS_VOICEFADE - Stops the voice smoothly.
|
||||
* _GUS_VOICEMODE - Alters the voice mode, don't start or stop voice (P1=voice mode)
|
||||
* _GUS_VOICEBALA - Sets voice balence (P1, 0=left, 7=middle and 15=right, default 7)
|
||||
* _GUS_VOICEBALA - Sets voice balance (P1, 0=left, 7=middle and 15=right, default 7)
|
||||
* _GUS_VOICEFREQ - Sets voice (sample) playback frequency (P1=Hz)
|
||||
* _GUS_VOICEVOL - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off)
|
||||
* _GUS_VOICEVOL2 - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off)
|
||||
|
@ -7,7 +7,7 @@
|
||||
* This software is distributed with NO WARRANTIES, not even the implied
|
||||
* warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* Authors grant any other persons or organisations permission to use
|
||||
* Authors grant any other persons or organizations permission to use
|
||||
* or modify this software as long as this message is kept with the software,
|
||||
* all derivative works or modified versions.
|
||||
*
|
||||
@ -52,7 +52,7 @@
|
||||
#define AER_ABRT 0x04 /* command aborted */
|
||||
#define AER_MCR 0x08 /* media change requested */
|
||||
#define AER_SKEY 0xf0 /* sense key mask */
|
||||
#define AER_SK_NO_SENSE 0x00 /* no spesific sense key info */
|
||||
#define AER_SK_NO_SENSE 0x00 /* no specific sense key info */
|
||||
#define AER_SK_RECOVERED_ERROR 0x10 /* command succeeded, data recovered */
|
||||
#define AER_SK_NOT_READY 0x20 /* no access to drive */
|
||||
#define AER_SK_MEDIUM_ERROR 0x30 /* non-recovered data error */
|
||||
|
@ -116,7 +116,7 @@ struct b004_struct {
|
||||
#define B004_BOARDTYPE(minor) b004_table[minor].boardtype
|
||||
|
||||
/*
|
||||
* Additonal defines for B008-boards
|
||||
* Additional defines for B008-boards
|
||||
*/
|
||||
#define B008_DMA(minor) b004_table[minor].int
|
||||
#define B008_INT(minor) b004_table[minor].dma
|
||||
|
@ -8,7 +8,7 @@
|
||||
* This software is distributed with NO WARRANTIES, not even the implied
|
||||
* warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* Authors grant any other persons or organisations permission to use
|
||||
* Authors grant any other persons or organizations permission to use
|
||||
* or modify this software as long as this message is kept with the software,
|
||||
* all derivative works or modified versions.
|
||||
*
|
||||
@ -35,7 +35,7 @@
|
||||
|
||||
/*
|
||||
* Interrupt acknowledge register, P is board port, L is interrupt level,
|
||||
* as prodrammed in PILR.
|
||||
* as programmed in PILR.
|
||||
*/
|
||||
#define IACK(p,l) (R(p,l) | 0x4000)
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
* of this software, nor does the author assume any responsibility
|
||||
* for damages incurred with its use.
|
||||
*
|
||||
* $Id: if_edreg.h,v 1.18 1995/05/30 08:02:00 rgrimes Exp $
|
||||
* $Id: if_edreg.h,v 1.19 1995/09/26 08:57:45 phk Exp $
|
||||
*/
|
||||
/*
|
||||
* National Semiconductor DS8390 NIC register definitions
|
||||
@ -211,7 +211,7 @@
|
||||
|
||||
/*
|
||||
* OVW: OverWrite. Indicates a receive ring-buffer overrun. Incoming network
|
||||
* would exceed (has exceeded?) the boundry pointer, resulting in data
|
||||
* would exceed (has exceeded?) the boundary pointer, resulting in data
|
||||
* that was previously received and not yet read from the buffer to be
|
||||
* overwritten.
|
||||
*/
|
||||
@ -266,7 +266,7 @@
|
||||
|
||||
/*
|
||||
* OVWE: OverWrite error interrupt Enable. If set, an interrupt is generated whenever
|
||||
* the receive ring-buffer is overrun. i.e. when the boundry pointer is exceeded.
|
||||
* the receive ring-buffer is overrun. i.e. when the boundary pointer is exceeded.
|
||||
*/
|
||||
#define ED_IMR_OVWE 0x10
|
||||
|
||||
@ -318,7 +318,7 @@
|
||||
/*
|
||||
* AR: Auto-initialize Remote. When 0, data must be removed from ring-buffer
|
||||
* under program control. When 1, remote DMA is automatically initiated
|
||||
* and the boundry pointer is automatically updated
|
||||
* and the boundary pointer is automatically updated
|
||||
*/
|
||||
#define ED_DCR_AR 0x10
|
||||
|
||||
@ -500,7 +500,7 @@
|
||||
|
||||
/*
|
||||
* FAE: Frame Alignment Error. Indicates that the incoming packet did not end on
|
||||
* a byte boundry and the CRC did not match at the last byte boundry.
|
||||
* a byte boundary and the CRC did not match at the last byte boundary.
|
||||
*/
|
||||
#define ED_RSR_FAE 0x04
|
||||
|
||||
@ -513,7 +513,7 @@
|
||||
/*
|
||||
* MPA: Missed Packet. Indicates that the received packet couldn't be stored in
|
||||
* the ring-buffer because of insufficient buffer space (exceeding the
|
||||
* boundry pointer), or because the transfer to the ring-buffer was inhibited
|
||||
* boundary pointer), or because the transfer to the ring-buffer was inhibited
|
||||
* by RCR_MON - monitor mode.
|
||||
*/
|
||||
#define ED_RSR_MPA 0x10
|
||||
@ -526,7 +526,7 @@
|
||||
#define ED_RSR_PHY 0x20
|
||||
|
||||
/*
|
||||
* DIS: Receiver Disabled. Set to indicate that the receiver has enetered monitor
|
||||
* DIS: Receiver Disabled. Set to indicate that the receiver has entered monitor
|
||||
* mode. Cleared when the receiver exits monitor mode.
|
||||
*/
|
||||
#define ED_RSR_DIS 0x40
|
||||
@ -539,7 +539,7 @@
|
||||
#define ED_RSR_DFR 0x80
|
||||
|
||||
/*
|
||||
* receive ring discriptor
|
||||
* receive ring descriptor
|
||||
*
|
||||
* The National Semiconductor DS8390 Network interface controller uses
|
||||
* the following receive ring headers. The way this works is that the
|
||||
@ -574,7 +574,7 @@ struct ed_ring {
|
||||
* Compile-time config flags
|
||||
*/
|
||||
/*
|
||||
* this sets the default for enabling/disablng the tranceiver
|
||||
* this sets the default for enabling/disabling the transceiver
|
||||
*/
|
||||
#define ED_FLAGS_DISABLE_TRANCEIVER 0x0001
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* of the software, derivative works or modified versions, and any
|
||||
* portions thereof.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: if_elreg.h,v 1.2 1994/08/02 07:39:34 davidg Exp $
|
||||
*/
|
||||
/* 3COM Etherlink 3C501 Register Definitions */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
#define EL_RBC 0xa /* Receive buffer clear */
|
||||
#define EL_RBH 0xb /* Receive buffer ptr high byte */
|
||||
#define EL_EAW 0xc /* Ethernet address window */
|
||||
#define EL_AS 0xe /* Auxillary status register */
|
||||
#define EL_AC 0xe /* Auxillary command register */
|
||||
#define EL_AS 0xe /* Auxiliary status register */
|
||||
#define EL_AC 0xe /* Auxiliary command register */
|
||||
#define EL_BUF 0xf /* Data buffer */
|
||||
|
||||
/* Receive status register bits */
|
||||
@ -56,12 +56,12 @@
|
||||
#define EL_TXC_DCOLL16 0x04 /* Detect collision 16 */
|
||||
#define EL_TXC_DSUCCESS 0x08 /* Detect success */
|
||||
|
||||
/* Auxillary status register bits */
|
||||
/* Auxiliary status register bits */
|
||||
#define EL_AS_RXBUSY 0x01 /* Receive busy */
|
||||
#define EL_AS_DMADONE 0x10 /* DMA finished */
|
||||
#define EL_AS_TXBUSY 0x80 /* Transmit busy */
|
||||
|
||||
/* Auxillary command register bits */
|
||||
/* Auxiliary command register bits */
|
||||
#define EL_AC_HOST 0x00 /* System bus can access buffer */
|
||||
#define EL_AC_IRQE 0x01 /* IRQ enable */
|
||||
#define EL_AC_TXBAD 0x02 /* Transmit frames with bad FCS */
|
||||
|
@ -6,7 +6,7 @@
|
||||
* met: 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer. 2. The name
|
||||
* of the author may not be used to endorse or promote products derived from
|
||||
* this software withough specific prior written permission
|
||||
* this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
@ -31,7 +31,7 @@
|
||||
|
||||
*/
|
||||
/*
|
||||
* $Id: if_epreg.h,v 1.8 1995/05/30 08:02:09 rgrimes Exp $
|
||||
* $Id: if_epreg.h,v 1.9 1996/01/29 03:16:14 gibbs Exp $
|
||||
*
|
||||
* Promiscuous mode added and interrupt logic slightly changed
|
||||
* to reduce the number of adapter failures. Transceiver select
|
||||
@ -141,7 +141,7 @@ struct ep_board {
|
||||
/**************************************************************************
|
||||
* *
|
||||
* These define the EEPROM data structure. They are used in the probe
|
||||
* function to verify the existance of the adapter after having sent
|
||||
* function to verify the existence of the adapter after having sent
|
||||
* the ID_Sequence.
|
||||
*
|
||||
* There are others but only the ones we use are defined here.
|
||||
|
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#define FE_FMV0 16 /* Hardware status. */
|
||||
#define FE_FMV1 17 /* Hardrare type? Always 0 */
|
||||
#define FE_FMV1 17 /* Hardware type? Always 0 */
|
||||
#define FE_FMV2 18 /* Hardware configuration. */
|
||||
#define FE_FMV3 19 /* Hardware enable. */
|
||||
#define FE_FMV4 20 /* Station address #1 */
|
||||
|
@ -28,7 +28,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_ixreg.h,v 1.5 1995/05/10 15:19:29 rgrimes Exp $
|
||||
* $Id: if_ixreg.h,v 1.6 1995/05/30 08:02:17 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -106,7 +106,7 @@
|
||||
#define eeprom_enetaddr_low 0x02 /* Ethernet address, low word */
|
||||
#define eeprom_enetaddr_mid 0x03 /* Ethernet address, middle word */
|
||||
#define eeprom_enetaddr_high 0x04 /* Ethernet address, high word */
|
||||
#define eeprom_config2 0x05 /* Configureation register 2 */
|
||||
#define eeprom_config2 0x05 /* Configuration register 2 */
|
||||
#define CONNECT_TPE 0x0001 /* 0 = BNC, 1 = TPE */
|
||||
|
||||
/* this converts a kernal virtual address to a board offset */
|
||||
@ -211,7 +211,7 @@ typedef struct /* System Control Block */
|
||||
volatile
|
||||
u_short rsc_errors; /* did not have resources to receive */
|
||||
volatile
|
||||
u_short ovr_errors; /* system bus was not availiable to receive */
|
||||
u_short ovr_errors; /* system bus was not available to receive */
|
||||
} scb_t;
|
||||
|
||||
typedef struct /* command block - nop (also the common part of cb's */
|
||||
|
@ -105,7 +105,7 @@ struct nic_info {
|
||||
int ic; /* Type of ic, Am7990, Am79C960 etc. */
|
||||
int mem_mode;
|
||||
int iobase;
|
||||
int mode; /* Mode setting at initialisation */
|
||||
int mode; /* Mode setting at initialization */
|
||||
};
|
||||
|
||||
struct host_ring_entry {
|
||||
|
@ -8,7 +8,7 @@
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -21,12 +21,12 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_zpreg.h,v 1.1 1995/02/17 02:22:53 phk Exp $
|
||||
* $Id: if_zpreg.h,v 1.2 1995/05/30 08:02:33 rgrimes Exp $
|
||||
*/
|
||||
/**************************************************************************
|
||||
* *
|
||||
* These define the EEPROM data structure. They are used in the probe
|
||||
* function to verify the existance of the adapter after having sent
|
||||
* function to verify the existence of the adapter after having sent
|
||||
* the ID_Sequence.
|
||||
*
|
||||
* There are others but only the ones we use are defined here.
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.h 5.7 (Berkeley) 5/9/91
|
||||
* $Id: isa.h,v 1.16 1995/09/08 03:14:00 julian Exp $
|
||||
* $Id: isa.h,v 1.17 1995/11/18 09:29:39 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_ISA_ISA_H_
|
||||
@ -146,7 +146,7 @@
|
||||
#define IO_CGASIZE 16 /* CGA controllers */
|
||||
#define IO_COMSIZE 8 /* 8250, 16x50 com controllers */
|
||||
#define IO_DMASIZE 16 /* 8237 DMA controllers */
|
||||
#define IO_DPGSIZE 32 /* 74LS612 DMA page reisters */
|
||||
#define IO_DPGSIZE 32 /* 74LS612 DMA page registers */
|
||||
#define IO_EISASIZE 256 /* EISA controllers */
|
||||
#define IO_FDCSIZE 8 /* Nec765 floppy controllers */
|
||||
#define IO_GAMSIZE 16 /* AT compatible game controllers */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa_device.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: isa_device.h,v 1.26 1995/11/20 12:41:46 phk Exp $
|
||||
* $Id: isa_device.h,v 1.27 1996/01/27 01:57:02 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_ISA_ISA_DEVICE_H_
|
||||
@ -116,7 +116,7 @@ struct isa_driver {
|
||||
extern char eintrnames[]; /* end of intrnames[] */
|
||||
extern u_long intrcnt[]; /* counts for for each device and stray */
|
||||
extern char intrnames[]; /* string table containing device names */
|
||||
extern u_long *intr_countp[]; /* indirectors into intrcnt[] */
|
||||
extern u_long *intr_countp[]; /* pointers into intrcnt[] */
|
||||
extern inthand2_t *intr_handler[]; /* C entry points of intr handlers */
|
||||
extern u_int intr_mask[]; /* sets of intrs masked during handling of 1 */
|
||||
extern int intr_unit[]; /* cookies to pass to intr handlers */
|
||||
|
@ -60,7 +60,7 @@
|
||||
* INDEX register for the PCIC controller. You then read or write
|
||||
* the value from or to the DATA register for that controller.
|
||||
*
|
||||
* The first pair of chips shares I/O addresss for DATA and INDEX,
|
||||
* The first pair of chips shares I/O addresses for DATA and INDEX,
|
||||
* as does the second pair. (To the programmer, it looks like each
|
||||
* pair is a single chip.) The i/o port addresses are hard-wired
|
||||
* into the PCIC; so the following addresses should be valid for
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: scdreg.h,v 1.3 1995/02/06 22:35:07 jkh Exp $
|
||||
* $Id: scdreg.h,v 1.1 1995/03/24 18:33:02 jkh Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.h,v 1.13 1995/11/28 00:17:32 ache Exp $
|
||||
* $Id: syscons.h,v 1.14 1995/12/10 13:39:20 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_ISA_SYSCONS_H_
|
||||
|
@ -9,7 +9,7 @@
|
||||
* This software is distributed with NO WARRANTIES, not even the implied
|
||||
* warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* Authors grant any other persons or organisations permission to use
|
||||
* Authors grant any other persons or organizations permission to use
|
||||
* or modify this software as long as this message is kept with the software,
|
||||
* all derivative works or modified versions.
|
||||
*
|
||||
@ -19,7 +19,7 @@
|
||||
* the original CMU copyright notice.
|
||||
*
|
||||
* Version 1.3, Thu Nov 11 12:09:13 MSK 1993
|
||||
* $Id: wtreg.h,v 1.5 1995/05/30 08:03:24 rgrimes Exp $
|
||||
* $Id: wtreg.h,v 1.6 1996/01/08 12:46:15 joerg Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux.h,v 1.2 1995/11/22 07:43:43 bde Exp $
|
||||
* $Id: linux.h,v 1.3 1995/12/29 22:12:10 sos Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_LINUX_LINUX_H_
|
||||
|
@ -20,7 +20,7 @@
|
||||
* 4. Modifications may be freely made to this file if the above conditions
|
||||
* are met.
|
||||
*
|
||||
* $Id: aic7xxx.h,v 1.19 1996/01/23 21:47:53 se Exp $
|
||||
* $Id: aic7xxx.h,v 1.20 1996/01/29 03:17:39 gibbs Exp $
|
||||
*/
|
||||
|
||||
#ifndef _AIC7XXX_H_
|
||||
@ -90,7 +90,7 @@ typedef enum {
|
||||
* first 26 bytes of the structure need to be transfered to the card during
|
||||
* normal operation. The remaining fields (next_waiting and host_scb) are
|
||||
* initialized the first time an SCB is allocated in get_scb(). The fields
|
||||
* starting at byte 32 are used for kernel level bookeeping.
|
||||
* starting at byte 32 are used for kernel level bookkeeping.
|
||||
*/
|
||||
struct scb {
|
||||
/* ------------ Begin hardware supported fields ---------------- */
|
||||
@ -139,7 +139,7 @@ struct ahc_data {
|
||||
int our_id; /* our scsi id */
|
||||
int our_id_b; /* B channel scsi id */
|
||||
int vect;
|
||||
struct scb *immed_ecb; /* an outstanding immediete command */
|
||||
struct scb *immed_ecb; /* an outstanding immediate command */
|
||||
struct scsi_link sc_link;
|
||||
struct scsi_link sc_link_b; /* Second bus for Twin channel cards */
|
||||
u_short needsdtr_orig; /* Targets we initiate sync neg with */
|
||||
|
@ -6,13 +6,13 @@
|
||||
* Mellon University, makes this software available to CMU to distribute
|
||||
* or use in any manner that they see fit as long as this message is kept with
|
||||
* the software. For this reason TFS also grants any other persons or
|
||||
* organisations permission to use or modify this software.
|
||||
* organizations permission to use or modify this software.
|
||||
*
|
||||
* TFS supplies this software to be publicly redistributed
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: btreg.h,v 1.1 1995/12/12 08:57:22 gibbs Exp $
|
||||
* $Id: btreg.h,v 1.2 1995/12/14 14:19:17 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _BTREG_H_
|
||||
|
@ -12,7 +12,7 @@
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software withough specific prior written permission
|
||||
* derived from this software without specific prior written permission
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.h,v 1.13 1995/11/28 00:17:32 ache Exp $
|
||||
* $Id: syscons.h,v 1.14 1995/12/10 13:39:20 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_ISA_SYSCONS_H_
|
||||
|
@ -7,7 +7,7 @@
|
||||
/*
|
||||
* Written by Julian Elischer (julian@DIALIX.oz.au)
|
||||
*
|
||||
* $Header: /home/ncvs/src/sys/miscfs/devfs/devfsdefs.h,v 1.7 1995/10/04 11:05:09 julian Exp $
|
||||
* $Header: /home/ncvs/src/sys/miscfs/devfs/devfsdefs.h,v 1.8 1995/11/09 08:16:48 bde Exp $
|
||||
*/
|
||||
|
||||
/* first a couple of defines for compatibility with inodes */
|
||||
@ -112,7 +112,7 @@ struct devnode /* the equivalent of an INODE */
|
||||
int entrycount;
|
||||
}Dir;
|
||||
struct {
|
||||
char *name; /* must be allocated separatly */
|
||||
char *name; /* must be allocated separately */
|
||||
int namelen;
|
||||
}Slnk;
|
||||
struct {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: bpb.h,v 1.1 1994/09/19 15:41:37 dfr Exp $ */
|
||||
/* $Id: bpb.h,v 1.2 1995/05/30 08:07:30 rgrimes Exp $ */
|
||||
/* $NetBSD: bpb.h,v 1.3 1994/06/29 06:35:29 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -50,7 +50,7 @@ struct bpb50 {
|
||||
u_short bpbSecPerTrack; /* sectors per track */
|
||||
u_short bpbHeads; /* number of heads */
|
||||
u_long bpbHiddenSecs; /* number of hidden sectors */
|
||||
u_long bpbHugeSectors; /* number of sectrs if bpbSectors == 0 */
|
||||
u_long bpbHugeSectors; /* number of sectors if bpbSectors == 0 */
|
||||
};
|
||||
|
||||
/*
|
||||
@ -116,5 +116,5 @@ struct byte_bpb50 {
|
||||
char bpbSecPerTrack[2]; /* sectors per track */
|
||||
char bpbHeads[2]; /* number of heads */
|
||||
char bpbHiddenSecs[4]; /* number of hidden sectors */
|
||||
char bpbHugeSectors[4]; /* number of sectrs if bpbSectors == 0 */
|
||||
char bpbHugeSectors[4]; /* number of sectors if bpbSectors == 0 */
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: msdosfsmount.h,v 1.4 1995/11/07 14:06:45 phk Exp $ */
|
||||
/* $Id: msdosfsmount.h,v 1.5 1995/11/16 11:48:10 bde Exp $ */
|
||||
/* $NetBSD: msdosfsmount.h,v 1.7 1994/08/21 18:44:17 ws Exp $ */
|
||||
|
||||
/*-
|
||||
@ -79,7 +79,7 @@ struct msdosfsmount {
|
||||
u_long pm_fatsize; /* size of fat in bytes */
|
||||
u_int *pm_inusemap; /* ptr to bitmap of in-use clusters */
|
||||
char pm_ronly; /* read only if non-zero */
|
||||
char pm_waitonfat; /* wait for writes of the fat to complt, when 0 use bdwrite, else use bwrite */
|
||||
char pm_waitonfat; /* wait for writes of the fat to complete, when 0 use bdwrite, else use bwrite */
|
||||
struct netexport pm_export; /* export information */
|
||||
};
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
*
|
||||
* @(#)bpf.h 8.1 (Berkeley) 6/10/93
|
||||
*
|
||||
* $Id: bpf.h,v 1.6 1995/09/08 11:08:55 bde Exp $
|
||||
* $Id: bpf.h,v 1.7 1995/11/04 13:25:03 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NET_BPF_H_
|
||||
@ -166,7 +166,7 @@ struct bpf_hdr {
|
||||
#define DLT_FDDI 10 /* FDDI */
|
||||
|
||||
/*
|
||||
* The instruction encondings.
|
||||
* The instruction encodings.
|
||||
*/
|
||||
/* instruction classes */
|
||||
#define BPF_CLASS(code) ((code) & 0x07)
|
||||
|
@ -37,7 +37,7 @@
|
||||
*
|
||||
* @(#)bpfdesc.h 8.1 (Berkeley) 6/10/93
|
||||
*
|
||||
* $Id: bpfdesc.h,v 1.5 1995/06/15 18:11:00 pst Exp $
|
||||
* $Id: bpfdesc.h,v 1.6 1995/12/14 09:53:11 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NET_BPFDESC_H_
|
||||
@ -98,7 +98,7 @@ struct bpf_if {
|
||||
struct bpf_if **bif_driverp; /* pointer into softc */
|
||||
u_int bif_dlt; /* link layer type */
|
||||
u_int bif_hdrlen; /* length of header (with padding) */
|
||||
struct ifnet *bif_ifp; /* correspoding interface */
|
||||
struct ifnet *bif_ifp; /* corresponding interface */
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)if_llc.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: if_llc.h,v 1.2 1994/08/02 07:46:16 davidg Exp $
|
||||
* $Id: if_llc.h,v 1.3 1994/08/21 05:11:42 paul Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NET_IF_LLC_H_
|
||||
@ -41,7 +41,7 @@
|
||||
* IEEE 802.2 Link Level Control headers, for use in conjunction with
|
||||
* 802.{3,4,5} media access control methods.
|
||||
*
|
||||
* Headers here do not use bit fields due to shortcommings in many
|
||||
* Headers here do not use bit fields due to shortcomings in many
|
||||
* compilers.
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* from Id: if_ppp.h,v 1.12 1995/04/24 02:40:23 paulus Exp */
|
||||
/* $Id$ */
|
||||
/* $Id: if_ppp.h,v 1.5 1995/10/31 20:24:10 peter Exp $ */
|
||||
|
||||
/*
|
||||
* if_ppp.h - Point-to-Point Protocol definitions.
|
||||
@ -17,7 +17,7 @@
|
||||
* from this software without specific prior written permission.
|
||||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#ifndef _IF_PPP_H_
|
||||
@ -61,8 +61,8 @@
|
||||
*/
|
||||
#define SC_TIMEOUT 0x00000400 /* timeout is currently pending */
|
||||
#define SC_VJ_RESET 0x00000800 /* need to reset VJ decomp */
|
||||
#define SC_COMP_RUN 0x00001000 /* compressor has been inited */
|
||||
#define SC_DECOMP_RUN 0x00002000 /* decompressor has been inited */
|
||||
#define SC_COMP_RUN 0x00001000 /* compressor has been initiated */
|
||||
#define SC_DECOMP_RUN 0x00002000 /* decompressor has been initiated */
|
||||
#define SC_DC_ERROR 0x00004000 /* non-fatal decomp error detected */
|
||||
#define SC_DC_FERROR 0x00008000 /* fatal decomp error detected */
|
||||
#define SC_TBUSY 0x10000000 /* xmitter doesn't need a packet yet */
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* from Id: if_pppvar.h,v 1.1 1994/12/15 22:28:09 paulus Exp */
|
||||
/* $Id$ */
|
||||
/* $Id: if_pppvar.h,v 1.2 1995/10/31 20:24:11 peter Exp $ */
|
||||
/*
|
||||
* if_pppvar.h - private structures and declarations for PPP.
|
||||
*
|
||||
@ -39,7 +39,7 @@
|
||||
* from this software without specific prior written permission.
|
||||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -32,7 +32,7 @@
|
||||
*
|
||||
* @(#)if_slvar.h 8.3 (Berkeley) 2/1/94
|
||||
*
|
||||
* $Id: if_slvar.h,v 1.7 1995/08/30 00:33:21 bde Exp $
|
||||
* $Id: if_slvar.h,v 1.8 1995/12/14 09:53:16 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NET_IF_SLVAR_H_
|
||||
@ -54,7 +54,7 @@ struct sl_softc {
|
||||
u_int sc_flags; /* see below */
|
||||
u_int sc_escape; /* =1 if last char input was FRAME_ESCAPE */
|
||||
long sc_lasttime; /* last time a char arrived */
|
||||
long sc_abortcount; /* number of abort esacpe chars */
|
||||
long sc_abortcount; /* number of abort escape chars */
|
||||
long sc_starttime; /* time of first abort in window */
|
||||
u_int sc_keepalive; /* time to decide link hang */
|
||||
u_int sc_outfill; /* time to send FRAME_END when output idle */
|
||||
@ -71,7 +71,7 @@ struct sl_softc {
|
||||
|
||||
/* visible flags */
|
||||
#define SC_COMPRESS IFF_LINK0 /* compress TCP traffic */
|
||||
#define SC_NOICMP IFF_LINK1 /* supress ICMP traffic */
|
||||
#define SC_NOICMP IFF_LINK1 /* suppress ICMP traffic */
|
||||
#define SC_AUTOCOMP IFF_LINK2 /* auto-enable TCP compression */
|
||||
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
* This software is distributed with NO WARRANTIES, not even the implied
|
||||
* warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* Authors grant any other persons or organisations permission to use
|
||||
* Authors grant any other persons or organizations permission to use
|
||||
* or modify this software as long as this message is kept with the software,
|
||||
* all derivative works or modified versions.
|
||||
*
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)route.h 8.3 (Berkeley) 4/19/94
|
||||
* $Id: route.h,v 1.18 1995/11/16 19:00:09 phk Exp $
|
||||
* $Id: route.h,v 1.19 1995/12/14 09:53:28 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NET_ROUTE_H_
|
||||
@ -63,8 +63,8 @@ struct rt_metrics {
|
||||
u_long rmx_mtu; /* MTU for this path */
|
||||
u_long rmx_hopcount; /* max hops expected */
|
||||
u_long rmx_expire; /* lifetime for route, e.g. redirect */
|
||||
u_long rmx_recvpipe; /* inbound delay-bandwith product */
|
||||
u_long rmx_sendpipe; /* outbound delay-bandwith product */
|
||||
u_long rmx_recvpipe; /* inbound delay-bandwidth product */
|
||||
u_long rmx_sendpipe; /* outbound delay-bandwidth product */
|
||||
u_long rmx_ssthresh; /* outbound gateway buffer limit */
|
||||
u_long rmx_rtt; /* estimated round trip time */
|
||||
u_long rmx_rttvar; /* estimated rtt variance */
|
||||
|
@ -35,7 +35,7 @@
|
||||
*
|
||||
* Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989:
|
||||
* - Initial distribution.
|
||||
* $Id: slcompress.h,v 1.7 1995/10/31 19:22:32 peter Exp $
|
||||
* $Id: slcompress.h,v 1.8 1995/11/18 13:07:51 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NET_SLCOMPRESS_H_
|
||||
@ -59,7 +59,7 @@
|
||||
*
|
||||
* There are 5 numbers which can change (they are always inserted
|
||||
* in the following order): TCP urgent pointer, window,
|
||||
* acknowlegement, sequence number and IP ID. (The urgent pointer
|
||||
* acknowledgement, sequence number and IP ID. (The urgent pointer
|
||||
* is different from the others in that its value is sent, not the
|
||||
* change in value.) Since typical use of SLIP links is biased
|
||||
* toward small packets (see comments on MTU/MSS below), changes
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)pk.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: pk.h,v 1.4 1995/05/30 08:08:57 rgrimes Exp $
|
||||
* $Id: pk.h,v 1.5 1995/11/21 12:54:10 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETCCITT_PK_H_
|
||||
@ -48,7 +48,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/* Packet type identifier field defintions. */
|
||||
/* Packet type identifier field definitions. */
|
||||
|
||||
#define X25_CALL 11
|
||||
#define X25_CALL_ACCEPTED 15
|
||||
@ -104,7 +104,7 @@ typedef char bool;
|
||||
/*
|
||||
* X.25 Packet format definitions
|
||||
* This will eventually have to be rewritten without reference
|
||||
* to bit fields, to be ansi C compliant and allignment safe.
|
||||
* to bit fields, to be ansi C compliant and alignment safe.
|
||||
*/
|
||||
|
||||
typedef u_char octet;
|
||||
|
@ -39,7 +39,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)pk_var.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: pk_var.h,v 1.6 1995/07/29 11:41:27 bde Exp $
|
||||
* $Id: pk_var.h,v 1.7 1995/11/21 12:54:12 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETCCITT_PK_VAR_H_
|
||||
@ -139,7 +139,7 @@ struct pkcb {
|
||||
* Interface address, x25 version. Exactly one of these structures is
|
||||
* allocated for each interface with an x25 address.
|
||||
*
|
||||
* The ifaddr structure conatins the protocol-independent part
|
||||
* The ifaddr structure contains the protocol-independent part
|
||||
* of the structure, and is assumed to be first.
|
||||
*/
|
||||
struct x25_ifaddr {
|
||||
@ -223,7 +223,7 @@ extern struct x25bitslice x25_bitslice[];
|
||||
ISOFIFTTYPE(i, IFT_FDDI)))
|
||||
|
||||
/*
|
||||
* miscellenous debugging info
|
||||
* miscellaneous debugging info
|
||||
*/
|
||||
struct mbuf_cache {
|
||||
int mbc_size;
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)igmp_var.h 8.1 (Berkeley) 7/19/93
|
||||
* $Id: igmp_var.h,v 1.6 1995/06/13 17:51:07 wollman Exp $
|
||||
* $Id: igmp_var.h,v 1.7 1995/11/14 20:33:54 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETINET_IGMP_VAR_H_
|
||||
@ -47,7 +47,7 @@
|
||||
*
|
||||
* Written by Steve Deering, Stanford, May 1988.
|
||||
*
|
||||
* MULTICAST Revisiob: 3.3.1.1
|
||||
* MULTICAST Revision: 3.3.1.1
|
||||
*/
|
||||
|
||||
struct igmpstat {
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ip_icmp.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: ip_icmp.h,v 1.5 1995/11/14 20:34:13 phk Exp $
|
||||
* $Id: ip_icmp.h,v 1.6 1996/01/19 01:19:08 fenner Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETINET_IP_ICMP_H_
|
||||
@ -114,7 +114,7 @@ struct icmp {
|
||||
/*
|
||||
* Lower bounds on packet lengths for various types.
|
||||
* For the error advice packets must first insure that the
|
||||
* packet is large enought to contain the returned ip header.
|
||||
* packet is large enough to contain the returned ip header.
|
||||
* Only then can we do the check to see if 64 bits of packet
|
||||
* data have been returned, since we need to check the returned
|
||||
* ip header length.
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ip_var.h 8.2 (Berkeley) 1/9/95
|
||||
* $Id: ip_var.h,v 1.17 1995/12/05 17:46:25 wollman Exp $
|
||||
* $Id: ip_var.h,v 1.18 1995/12/14 09:53:45 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETINET_IP_VAR_H_
|
||||
@ -136,7 +136,7 @@ struct ipstat {
|
||||
u_long ips_localout; /* total ip packets generated here */
|
||||
u_long ips_odropped; /* lost packets due to nobufs, etc. */
|
||||
u_long ips_reassembled; /* total packets reassembled ok */
|
||||
u_long ips_fragmented; /* datagrams sucessfully fragmented */
|
||||
u_long ips_fragmented; /* datagrams successfully fragmented */
|
||||
u_long ips_ofragments; /* output fragments created */
|
||||
u_long ips_cantfrag; /* don't fragment flag was set, etc. */
|
||||
u_long ips_badoptions; /* error in option processing */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)tcp_timer.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: tcp_timer.h,v 1.6 1995/02/14 02:35:18 wollman Exp $
|
||||
* $Id: tcp_timer.h,v 1.7 1995/11/14 20:34:45 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETINET_TCP_TIMER_H_
|
||||
@ -44,7 +44,7 @@
|
||||
#define TCPT_NTIMERS 4
|
||||
|
||||
#define TCPT_REXMT 0 /* retransmit */
|
||||
#define TCPT_PERSIST 1 /* retransmit persistance */
|
||||
#define TCPT_PERSIST 1 /* retransmit persistence */
|
||||
#define TCPT_KEEP 2 /* keep alive */
|
||||
#define TCPT_2MSL 3 /* 2*msl quiet time timer */
|
||||
|
||||
@ -92,7 +92,7 @@
|
||||
if 0, no idea yet */
|
||||
#define TCPTV_SRTTDFLT ( 3*PR_SLOWHZ) /* assumed RTT if no info */
|
||||
|
||||
#define TCPTV_PERSMIN ( 5*PR_SLOWHZ) /* retransmit persistance */
|
||||
#define TCPTV_PERSMIN ( 5*PR_SLOWHZ) /* retransmit persistence */
|
||||
#define TCPTV_PERSMAX ( 60*PR_SLOWHZ) /* maximum persist interval */
|
||||
|
||||
#define TCPTV_KEEP_INIT ( 75*PR_SLOWHZ) /* initial connect keep alive */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
|
||||
* $Id: tcp_var.h,v 1.26 1995/12/29 01:12:02 davidg Exp $
|
||||
* $Id: tcp_var.h,v 1.27 1996/01/19 08:02:34 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETINET_TCP_VAR_H_
|
||||
@ -102,7 +102,7 @@ struct tcpcb {
|
||||
*/
|
||||
/* congestion control (for slow start, source quench, retransmit after loss) */
|
||||
u_long snd_cwnd; /* congestion-controlled window */
|
||||
u_long snd_ssthresh; /* snd_cwnd size threshhold for
|
||||
u_long snd_ssthresh; /* snd_cwnd size threshold for
|
||||
* for slow start exponential to
|
||||
* linear switch
|
||||
*/
|
||||
|
@ -33,7 +33,7 @@
|
||||
*
|
||||
* @(#)ipx.h
|
||||
*
|
||||
* $Id: ipx.h,v 1.5 1995/11/24 12:25:02 bde Exp $
|
||||
* $Id: ipx.h,v 1.6 1995/12/16 02:14:31 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETIPX_IPX_H_
|
||||
@ -132,7 +132,7 @@ struct sockaddr_ipx {
|
||||
struct ipx {
|
||||
u_short ipx_sum; /* Checksum */
|
||||
u_short ipx_len; /* Length, in bytes, including header */
|
||||
u_char ipx_tc; /* Transport Crontrol (i.e. hop count) */
|
||||
u_char ipx_tc; /* Transport Control (i.e. hop count) */
|
||||
u_char ipx_pt; /* Packet Type (i.e. level 2 protocol) */
|
||||
struct ipx_addr ipx_dna; /* Destination Network Address */
|
||||
struct ipx_addr ipx_sna; /* Source Network Address */
|
||||
|
@ -33,7 +33,7 @@
|
||||
*
|
||||
* @(#)spx.h
|
||||
*
|
||||
* $Id: spx.h,v 1.5 1995/11/24 12:25:11 bde Exp $
|
||||
* $Id: spx.h,v 1.6 1995/12/16 02:14:34 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETIPX_SPX_H_
|
||||
@ -131,7 +131,7 @@ struct spxpcb {
|
||||
u_short s_swl1; /* == tcp snd_wl1 */
|
||||
u_short s_swl2; /* == tcp snd_wl2 */
|
||||
int s_cwmx; /* max allowable cwnd */
|
||||
int s_ssthresh; /* s_cwnd size threshhold for
|
||||
int s_ssthresh; /* s_cwnd size threshold for
|
||||
* slow start exponential-to-
|
||||
* linear switch */
|
||||
/* transmit timing stuff
|
||||
|
@ -33,7 +33,7 @@
|
||||
*
|
||||
* @(#)spx_timer.h
|
||||
*
|
||||
* $Id: spx_timer.h,v 1.3 1995/10/31 23:36:45 julian Exp $
|
||||
* $Id: spx_timer.h,v 1.4 1995/11/04 09:03:39 julian Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETIPX_SPX_TIMER_H_
|
||||
@ -44,7 +44,7 @@
|
||||
* down PR_SLOWHZ times a second.
|
||||
*/
|
||||
#define SPXT_REXMT 0 /* retransmit */
|
||||
#define SPXT_PERSIST 1 /* retransmit persistance */
|
||||
#define SPXT_PERSIST 1 /* retransmit persistence */
|
||||
#define SPXT_KEEP 2 /* keep alive */
|
||||
#define SPXT_2MSL 3 /* 2*msl quiet time timer */
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
if 0, no idea yet */
|
||||
#define SPXTV_SRTTDFLT ( 3*PR_SLOWHZ) /* assumed RTT if no info */
|
||||
|
||||
#define SPXTV_PERSMIN ( 5*PR_SLOWHZ) /* retransmit persistance */
|
||||
#define SPXTV_PERSMIN ( 5*PR_SLOWHZ) /* retransmit persistence */
|
||||
#define SPXTV_PERSMAX ( 60*PR_SLOWHZ) /* maximum persist interval */
|
||||
|
||||
#define SPXTV_KEEP ( 75*PR_SLOWHZ) /* keep alive - 75 secs */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)clnp.h 8.2 (Berkeley) 4/16/94
|
||||
* $Id: clnp.h,v 1.3 1994/08/21 06:14:13 paul Exp $
|
||||
* $Id: clnp.h,v 1.4 1995/05/30 08:10:12 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETISO_CLNP_H_
|
||||
@ -63,7 +63,7 @@ SOFTWARE.
|
||||
/*
|
||||
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
|
||||
*/
|
||||
/* $Header: /home/ncvs/src/sys/netiso/clnp.h,v 1.3 1994/08/21 06:14:13 paul Exp $ */
|
||||
/* $Header: /home/ncvs/src/sys/netiso/clnp.h,v 1.4 1995/05/30 08:10:12 rgrimes Exp $ */
|
||||
/* $Source: /home/ncvs/src/sys/netiso/clnp.h,v $ */
|
||||
|
||||
/* should be config option but cpp breaks with too many #defines */
|
||||
@ -81,7 +81,7 @@ SOFTWARE.
|
||||
(msb) = (u_char)((hword) >> 8);\
|
||||
(lsb) = (u_char)((hword) & 0xff)
|
||||
/*
|
||||
* Move the two charcters into the halfword
|
||||
* Move the two characters into the halfword
|
||||
*/
|
||||
#define CTOH(msb, lsb, hword)\
|
||||
(hword) = ((msb) << 8) | (lsb)
|
||||
@ -140,7 +140,7 @@ struct clnp_segment {
|
||||
|
||||
/*
|
||||
* NOTE:
|
||||
* The clnp_frag structure is stored in an mbuf immedately preceeding
|
||||
* The clnp_frag structure is stored in an mbuf immediately preceding
|
||||
* the fragment data. Since there are words in this struct,
|
||||
* it must be word aligned.
|
||||
*
|
||||
@ -171,7 +171,7 @@ struct clnp_fragl {
|
||||
* The following structure is used to index into an options section
|
||||
* of a clnp datagram. These values can be used without worry that
|
||||
* offset or length fields are invalid or too big, etc. That is,
|
||||
* the consistancy of the options will be guaranteed before this
|
||||
* the consistency of the options will be guaranteed before this
|
||||
* structure is filled in. Any pointer (field ending in p) is
|
||||
* actually the offset from the beginning of the mbuf the option
|
||||
* is contained in. A value of NULL for any pointer
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)iso_var.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: iso_var.h,v 1.6 1995/11/21 12:54:20 bde Exp $
|
||||
* $Id: iso_var.h,v 1.7 1995/12/10 13:45:20 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETISO_ISO_VAR_H_
|
||||
@ -63,14 +63,14 @@ SOFTWARE.
|
||||
/*
|
||||
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
|
||||
*/
|
||||
/* $Header: /home/ncvs/src/sys/netiso/iso_var.h,v 1.6 1995/11/21 12:54:20 bde Exp $
|
||||
/* $Header: /home/ncvs/src/sys/netiso/iso_var.h,v 1.7 1995/12/10 13:45:20 phk Exp $
|
||||
* $Source: /home/ncvs/src/sys/netiso/iso_var.h,v $
|
||||
*/
|
||||
|
||||
/*
|
||||
* Interface address, iso version. One of these structures is
|
||||
* allocated for each interface with an osi address. The ifaddr
|
||||
* structure conatins the protocol-independent part
|
||||
* structure contains the protocol-independent part
|
||||
* of the structure, and is assumed to be first.
|
||||
*/
|
||||
struct iso_ifaddr {
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)tp_pcb.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: tp_pcb.h,v 1.4 1995/04/26 21:32:39 pst Exp $
|
||||
* $Id: tp_pcb.h,v 1.5 1995/05/30 08:11:27 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETISO_TP_PCB_H_
|
||||
@ -66,7 +66,7 @@ SOFTWARE.
|
||||
/*
|
||||
* ARGO TP
|
||||
*
|
||||
* $Header: /home/ncvs/src/sys/netiso/tp_pcb.h,v 1.4 1995/04/26 21:32:39 pst Exp $
|
||||
* $Header: /home/ncvs/src/sys/netiso/tp_pcb.h,v 1.5 1995/05/30 08:11:27 rgrimes Exp $
|
||||
* $Source: /home/ncvs/src/sys/netiso/tp_pcb.h,v $
|
||||
*
|
||||
*
|
||||
@ -99,7 +99,7 @@ SOFTWARE.
|
||||
*
|
||||
* Possible improvement:
|
||||
* Might not need the ref_state stuff either...
|
||||
* REF_FREE could correspond to tp_state == CLOSED or nonexistend tpcb,
|
||||
* REF_FREE could correspond to tp_state == CLOSED or nonexistent tpcb,
|
||||
* REF_OPEN to tp_state anywhere from AK_WAIT or CR_SENT to CLOSING
|
||||
* REF_OPENING could correspond to LISTENING, because that's the
|
||||
* way it's used, not because the correspondence is exact.
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)tp_tpdu.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: tp_tpdu.h,v 1.3 1994/08/21 06:14:31 paul Exp $
|
||||
* $Id: tp_tpdu.h,v 1.4 1995/05/30 08:11:38 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETISO_TP_TPDU_H_
|
||||
@ -66,7 +66,7 @@ SOFTWARE.
|
||||
/*
|
||||
* ARGO TP
|
||||
*
|
||||
* $Header: /home/ncvs/src/sys/netiso/tp_tpdu.h,v 1.3 1994/08/21 06:14:31 paul Exp $
|
||||
* $Header: /home/ncvs/src/sys/netiso/tp_tpdu.h,v 1.4 1995/05/30 08:11:38 rgrimes Exp $
|
||||
* $Source: /home/ncvs/src/sys/netiso/tp_tpdu.h,v $
|
||||
*
|
||||
* This ghastly set of macros makes it possible to
|
||||
@ -129,7 +129,7 @@ struct tp0du {
|
||||
#define tp0du_mbz _tp0_mbz
|
||||
|
||||
/*
|
||||
* This is used when the extended format seqence numbers are
|
||||
* This is used when the extended format sequence numbers are
|
||||
* being sent and received.
|
||||
*/
|
||||
/*
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)idp.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: idp.h,v 1.2 1994/08/02 07:51:40 davidg Exp $
|
||||
* $Id: idp.h,v 1.3 1994/08/21 06:22:05 paul Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETNS_IDP_H_
|
||||
@ -43,7 +43,7 @@
|
||||
struct idp {
|
||||
u_short idp_sum; /* Checksum */
|
||||
u_short idp_len; /* Length, in bytes, including header */
|
||||
u_char idp_tc; /* Transport Crontrol (i.e. hop count) */
|
||||
u_char idp_tc; /* Transport Control (i.e. hop count) */
|
||||
u_char idp_pt; /* Packet Type (i.e. level 2 protocol) */
|
||||
struct ns_addr idp_dna; /* Destination Network Address */
|
||||
struct ns_addr idp_sna; /* Source Network Address */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ns.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: ns.h,v 1.5 1995/10/26 20:31:44 julian Exp $
|
||||
* $Id: ns.h,v 1.6 1995/11/21 12:54:28 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETNS_NS_H_
|
||||
@ -63,7 +63,7 @@
|
||||
#define NSPORT_RE 3 /* Router Error */
|
||||
|
||||
/*
|
||||
* Ports < NSPORT_RESERVED are reserved for priveleged
|
||||
* Ports < NSPORT_RESERVED are reserved for privileged
|
||||
* processes (e.g. root).
|
||||
*/
|
||||
#define NSPORT_RESERVED 3000
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)spp_var.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: spp_var.h,v 1.3 1994/08/21 06:22:12 paul Exp $
|
||||
* $Id: spp_var.h,v 1.4 1995/07/29 11:42:01 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETNS_SPP_VAR_H_
|
||||
@ -83,7 +83,7 @@ struct sppcb {
|
||||
u_short s_swl1; /* == tcp snd_wl1 */
|
||||
u_short s_swl2; /* == tcp snd_wl2 */
|
||||
int s_cwmx; /* max allowable cwnd */
|
||||
int s_ssthresh; /* s_cwnd size threshhold for
|
||||
int s_ssthresh; /* s_cwnd size threshold for
|
||||
* slow start exponential-to-
|
||||
* linear switch */
|
||||
/* transmit timing stuff
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: nfs.h,v 1.15 1995/12/03 10:02:41 bde Exp $
|
||||
* $Id: nfs.h,v 1.16 1995/12/17 21:12:05 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NFS_NFS_H_
|
||||
@ -69,7 +69,7 @@
|
||||
#define NFS_DEFRAHEAD 1 /* Def. read ahead # blocks */
|
||||
#define NFS_MAXRAHEAD 4 /* Max. read ahead # blocks */
|
||||
#define NFS_MAXUIDHASH 64 /* Max. # of hashed uid entries/mp */
|
||||
#define NFS_MAXASYNCDAEMON 20 /* Max. number async_daemons runable */
|
||||
#define NFS_MAXASYNCDAEMON 20 /* Max. number async_daemons runnable */
|
||||
#define NFS_MAXGATHERDELAY 100 /* Max. write gather delay (msec) */
|
||||
#ifndef NFS_GATHERDELAY
|
||||
#define NFS_GATHERDELAY 10 /* Default write gather delay (msec) */
|
||||
@ -89,7 +89,7 @@
|
||||
|
||||
/*
|
||||
* XXX
|
||||
* sys/buf.h should be editted to change B_APPENDWRITE --> B_NEEDCOMMIT, but
|
||||
* sys/buf.h should be edited to change B_APPENDWRITE --> B_NEEDCOMMIT, but
|
||||
* until then...
|
||||
* Same goes for sys/malloc.h, which needs M_NFSDIROFF,
|
||||
* M_NFSRVDESC and M_NFSBIGFH added.
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: nfs.h,v 1.15 1995/12/03 10:02:41 bde Exp $
|
||||
* $Id: nfs.h,v 1.16 1995/12/17 21:12:05 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NFS_NFS_H_
|
||||
@ -69,7 +69,7 @@
|
||||
#define NFS_DEFRAHEAD 1 /* Def. read ahead # blocks */
|
||||
#define NFS_MAXRAHEAD 4 /* Max. read ahead # blocks */
|
||||
#define NFS_MAXUIDHASH 64 /* Max. # of hashed uid entries/mp */
|
||||
#define NFS_MAXASYNCDAEMON 20 /* Max. number async_daemons runable */
|
||||
#define NFS_MAXASYNCDAEMON 20 /* Max. number async_daemons runnable */
|
||||
#define NFS_MAXGATHERDELAY 100 /* Max. write gather delay (msec) */
|
||||
#ifndef NFS_GATHERDELAY
|
||||
#define NFS_GATHERDELAY 10 /* Default write gather delay (msec) */
|
||||
@ -89,7 +89,7 @@
|
||||
|
||||
/*
|
||||
* XXX
|
||||
* sys/buf.h should be editted to change B_APPENDWRITE --> B_NEEDCOMMIT, but
|
||||
* sys/buf.h should be edited to change B_APPENDWRITE --> B_NEEDCOMMIT, but
|
||||
* until then...
|
||||
* Same goes for sys/malloc.h, which needs M_NFSDIROFF,
|
||||
* M_NFSRVDESC and M_NFSBIGFH added.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user