Commit Graph

1363 Commits

Author SHA1 Message Date
Warner Losh e8ddcfd6a1 Add dependency for subr_bus.c on bus_if.h and device_if.h so that a make
depend is not required to just build the kernel.

Reviewed by: Doug Rabson
1998-09-09 17:23:25 +00:00
KATO Takenori 2663a4af57 Sync with sys/i386/conf/files.i386 revision 1.202. 1998-09-09 14:39:56 +00:00
KATO Takenori c792da10e3 Sync with sys/i386/conf/options.i386 revision 1.85. 1998-09-09 14:39:20 +00:00
Bruce Evans 405b59bcb5 Turned on -Wformat -fformat-extensions. -fformat-extensions requires a
-current version of gcc.  Without it, -Wformat would complain about all
the nonstandard %[Dbrz] formats in the kernel.
1998-09-09 10:04:58 +00:00
Justin T. Gibbs e79363ba53 Reserve character major 104 for the CAM Transport Layer Services device. 1998-09-09 03:07:02 +00:00
Søren Schmidt eeded4d82e Add new atapi-cd driver that supports atapi CD-R/RW drives.
This is only a stop-gab solution to get atapi burner support into 3.0.
1998-09-08 20:57:47 +00:00
Brian Somers 8aa2558802 Make PCIC_RESUME_RESET an proper option.
My laptop (a CTX Cybernote) needs this.  It claims to have a

  PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
1998-09-08 18:09:51 +00:00
Doug Rabson feb6634586 Device framework code now declared in MI code. 1998-09-07 07:29:30 +00:00
KATO Takenori 2bfe25d193 Sync with sys/i386/conf/files.i386 revision 1.201. 1998-09-05 02:36:18 +00:00
KATO Takenori 0e28be212a Sync with sys/i386/conf/Makefile.i386 revision 1.121. 1998-09-05 02:35:21 +00:00
Nicolas Souchu f25c58e005 pcf.c added, support for the Philips PCF8584 I2C bus controller
(this is part of the iicbus system)
1998-09-04 06:06:55 +00:00
Nicolas Souchu d41c96ee24 Reviewed by: Doug Rabson
Submitted by:	nsouch
I2C and SMB files added + new bus arch. files description
1998-09-03 21:10:54 +00:00
Nicolas Souchu 8afa373cc6 Reviewed by: Doug Rabson
Submitted by:	nsouch
Adding I2C and SMB entries to LINT, CONFIGVERS modified in Makefile.i386
1998-09-03 20:58:34 +00:00
Robert V. Baron 41159be768 Pass2 complete 1998-09-02 19:09:53 +00:00
Bruce Evans 1d0de5e557 Add -aout to CFLAGS and LDFLAGS in bsd.kmod.mk, not in
src/lkm/Makefile.inc.  This fixes broken builds of the syscons LKMs
when OBJFORMAT=elf.  Removed src/lkm/Makefile.inc since it became
empty and is worse than useless.
1998-09-02 14:29:09 +00:00
KATO Takenori a6ccc598a3 Sync with sys/i386/conf/Makefile.i386 revision 1.120. 1998-09-01 07:18:09 +00:00
John Birrell c155091cc8 Change BINFORMAT to KERNFORMAT and add -aout or -elf to the tool
arguments as appropriate. This is necessary because setting OBJFORMAT=aout
in the makefile doesn't get exported to the environment. I wish our
make could do that!
1998-09-01 00:11:02 +00:00
Søren Schmidt 58dde31aeb Renamed BT848[SG]CAPAREA to BT848_[SG]CAPAREA.
Added PR kern/7177 for SECAM Video Highway Xtreme with single crystal
PLL configuration submitted by Vsevolod Lobko <seva@alex-ua.com>.
In kernel configuration file add
options OVERRIDE_CARD=2
options OVERRIDE_TUNER=11
options BKTR_USE_PLL

Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
1998-08-31 18:35:06 +00:00
Søren Schmidt 5d0c8abac1 Added Capture Area ioctl - BT848[SG]CAPAREA.
Normally the full 640x480 (768x576 PAL) image is grabbed. This ioctl
allows a smaller area  from anywhere within the video image to be
grabbed, eg a 400x300 image from (50,10).
See restrictions in BT848SCAPAREA.

Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
1998-08-31 18:31:36 +00:00
John Birrell 0cdd2a270f Force OBJFORMAT=aout. 1998-08-31 11:43:26 +00:00
KATO Takenori b5ecefd598 Sync with sys/i386/conf/Makefile.i386 revision 1.118. 1998-08-28 12:48:38 +00:00
Jordan K. Hubbard a1d55890a0 Add CFS options to LINT, though commented out for now.
Submitted by:	Robert Baron <rvb@sicily.odyssey.cs.cmu.edu>
1998-08-27 02:37:11 +00:00
David E. O'Brien a84d40fb46 NULLFS_DIAGNOSTICS and PCVT_SCANSET=2 listed twice. 1998-08-27 01:30:53 +00:00
Søren Schmidt dd70aa7f52 Add OVERRIDE_CARD to the bktr options list 1998-08-26 12:13:39 +00:00
Mike Smith 0c54141ebe New major number for SR4 streams emulation. 1998-08-24 22:42:17 +00:00
Doug Rabson 2e809930ba Add atomic.s. 1998-08-24 08:48:22 +00:00
Bruce Evans 9478de47f4 Use a relative path to bsd.kern.mk if the relative mk directory exists. 1998-08-24 06:42:26 +00:00
Gary Palmer 6722fe2d35 Add BREAK_TO_DEBUGGER so that config stops whining 1998-08-21 23:43:15 +00:00
Doug Rabson 19df33b637 Add support for TurboChannel alphas (DEC 3000/300 and 3000/500).
Obtained from: NetBSD
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-08-20 08:27:11 +00:00
Bruce Evans 16e164e393 Oops, the previous commit was of a local version. 1998-08-17 16:58:02 +00:00
Bruce Evans c7e2a13256 FIxed typo (syntax error) in previous commit. 1998-08-17 16:46:33 +00:00
Bill Paul e30938ce3a Import the (Fast) Etherlink XL driver. I'm reasonally confident in its
stability now. ALso modify /sys/conf/files, /sys/i386/conf/GENERIC
and /sys/i386/conf/LINT to add entries for the XL driver. Deactivate
support for the XL adapters in the vortex driver. LAstly, add a man
page.

(Also added an MLINKS entry for the ThunderLAN man page which I forgot
previously.)
1998-08-16 17:14:59 +00:00
KATO Takenori 1e62449ada Sync with sys/i386/conf/options.i386 revision up to 1.84. 1998-08-10 16:54:09 +00:00
Poul-Henning Kamp 572bfce46d Reserve majors for M-Systems DiskOnChip driver. This driver will be
available directly from M-systems.
1998-08-10 09:06:21 +00:00
Kazutaka YOKOTA c0fad1a4cf - Added SC_BAD_FLICKER for syscons.
- Added the flag 0x40 (quiet bell) for syscons.
1998-08-10 08:40:27 +00:00
Doug Rabson 8a7b91802a Lots of changes, including:
* Support for AlphaStation 200, 250, 255, 400
* Untested support for UDB, Multia, AXPpci33 (Noname)
* Support for Personal Workstation 433a/433au, 500a/500au, 600a/600au (Miata)
* Some minor fixes and improvements to interrupt handling.

Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> (AS200, Miata)
Obtained from: NetBSD (some code for AS200, Miata, Noname)
1998-08-10 07:53:59 +00:00
Jordan K. Hubbard afc2d1c74e A few misc changes to get the spigot and meteor board working in 3.0.
Submitted by:	Jim Lowe <james@miller.cs.uwm.edu>
1998-08-08 19:26:08 +00:00
Peter Wemm e0301e5d4b Make ../Makefile.inc handling more consistant to prevent multiple includes
when certain .mk files include other .mk files.  This will remove the
need for multiple include protection in some other makefiles around the
tree (and helps some elf conditionals).
1998-08-08 07:02:08 +00:00
KATO Takenori cdc2343491 Sync with sys/i386/conf/files.i386 and majors.i386 revisions 1.200 and
1.44, respectively.
1998-08-07 11:52:19 +00:00
Eivind Eklund b755b88510 Update DPT driver from 1.4.3 to 1.4.5
Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
1998-08-05 00:54:38 +00:00
Brian Somers c35bda9472 Add driver dgm - for the Digiboard PC/Xem
Submitted by:   "IBS / Andre Oppermann" <andre@pipeline.ch>
DEVFS additions: brian

dgm gets major number 101.
1998-08-04 21:44:09 +00:00
Mike Smith 46f3ff7986 Major ppbus updates from the author.
- ppbus now supports PLIP via the if_plip driver
 - ieee1284 infrastructure added, including parallel-port PnP
 - port microsequencer added, for scripting the sort of port I/O
   that is common with parallel devices without endless calls up and down
   through the driver structure.
 - improved bus ownership behaviour among the ppbus-using drivers.
 - improved I/O chipset feature detection

The vpo driver is now implemented using the microsequencer, leading to
some performance improvements as well as providing an extensive example
of its use.

Reviewed by:	msmith
Submitted by:	Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
1998-08-03 19:14:33 +00:00
Doug Rabson 82153dc247 Change load address to 0xfffffc0000300000 to help support AS200. 1998-07-30 08:12:14 +00:00
Bruce Evans e0e2794cd8 Honor NOSHARED for tools. All tools should be built static for
`make world' to avoid problems with picking up (new) target or (stale)
host shared libraries.

Don't honor -static in LDFLAGS for linking LKMs.  LDFLAGS is not
actually for ld, but we use it anyway, and must prevent -static being
misinterpreted as -s.

Don't hide any of the link steps.
1998-07-29 14:19:48 +00:00
Brian Somers 5c3c780ffa pseudo-device ssc requires su.c (pseudo-device su)
Submitted by: woods@zeus.leitch.com (Greg A. Woods)
PR: 7413
1998-07-28 22:06:16 +00:00
Doug Rabson 515cfabc48 Add KN20AA support.
Add entries for syscons.
1998-07-22 08:24:39 +00:00
Doug Rabson 237064085b Tweaks to stop config(8) warnings and to avoid an unfinished experiment of
mine.

Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:23:26 +00:00
KATO Takenori fd3ae2d6b0 Sync with sys/i386/conf/files.i386 revision 1.199. 1998-07-21 12:07:02 +00:00
Mike Smith b16d163da1 Add the 'cs' driver for Crystal Semiconductor CS89x0 devices. This
supports PnP and if_media.  I've been running a slightly older version
here for several weeks now.
Submitted by:	Maxim Bolotin <max@rsu.ru>
1998-07-20 20:00:43 +00:00
Doug Rabson 6a5694427a Tweaks for cross-building from NetBSD/alpha.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-15 20:12:54 +00:00
Doug Rabson 28c3132268 Linker script for alpha kernel. 1998-07-15 19:19:24 +00:00
Doug Rabson 52c008e810 Overhaul the spl system so that it actually works properly. 1998-07-12 16:32:10 +00:00
Doug Rabson bb8a6f725b Define option DEC_EB164 1998-07-12 16:28:09 +00:00
Doug Rabson 8777a8098d Add some bits and pieces for my test box. 1998-07-12 16:26:52 +00:00
KATO Takenori 0faba01ed8 Sync with sys/i386/conf/Makefile.i386 revision 1.117. 1998-07-12 14:30:54 +00:00
Bruce Evans a872b9bdd0 Removed historical dependencies on `Makefile'. They had rotted to being
mostly for objects that have the fewest dependencies on `Makefile'
(since they were mostly for utilities and objects generated from *.s
and these don't depend on profiling flags).

Give an explicit rule for building vnode_if.o.  This fixes building
it without ${PROF}.

Use .ORDER instead of a stamp file to avoid building vnode_if.[ch]
concurrently.

Removed explicit dependencies that will be generated by `make' (.c.o)
or will be generated by mkdep.

Added missing dependencies of special objects on opt_global.h.

Use ${NORMAL_C} instead of special rules for special objects where
possible.

FIxed dependencies of vers.o.
1998-07-12 10:47:32 +00:00
Bruce Evans 784c3c3465 Removed all traces of PARAM in Makefile.i386. Incremented CONFIGVERS
to reflect the dependency of Makefile.i386 on nothing being put in
PARAM.

Config versioning is too closely coupled with the Makefile.i386.
1998-07-12 09:52:45 +00:00
Bruce Evans 95de6ecfe8 Prepare to handle MAXUSERS as a normal option. 1998-07-12 01:48:14 +00:00
Bruce Evans bef7db2e66 Moved definition of fscale from param.c to kern_synch.c where it
should always have been (it has no user-servicable parts even at
compile time) and staticized it.
1998-07-11 13:06:41 +00:00
Julian Elischer e06ccb171b Add ipforward option 1998-07-11 04:46:27 +00:00
Julian Elischer cdcc2613ac Forgot to register the IPFIREWALL_FORWARD option. 1998-07-06 04:55:22 +00:00
KATO Takenori 1479b9a895 Sync with sys/i386/conf/options.i386 revision 1.82. 1998-07-02 12:40:01 +00:00
Julian Elischer f8db905cdb Remove unused option 1998-07-02 05:50:57 +00:00
Poul-Henning Kamp 8cb5266728 Add 3 sysctl variables for future use by ps)1_ 1998-06-30 21:25:58 +00:00
Bruce Evans 673796a715 Nuked opt_defunct.h and kern_opt.c. config(8) now generates good enough
warnings about all unknown options.
1998-06-30 14:43:04 +00:00
John-Mark Gurney b039fc4c34 remove option LINUX as it did nothing, add DEBUG_LINUX to debug the
linux emulation...

(actually moved LINUX to opt_dontuse.h)
1998-06-30 08:40:33 +00:00
John-Mark Gurney 3f139a1a4c move OVERRIDE_TUNER from i386 to general options... it's not i386
specific
1998-06-30 08:32:51 +00:00
John-Mark Gurney a9e837f479 document options to hardwire GUS irq/dmas... 1998-06-30 08:24:02 +00:00
John-Mark Gurney e261d589ff document PCI_QUIET that prevents pci from compiling in so many strings 1998-06-30 08:13:27 +00:00
John-Mark Gurney 20f718132d document some VM paging options for cache sizes:
PQ_NOOPT	no coloring
PQ_LARGECACHE	used for 512k/16k cache
PQ_HUGECACHE	used for 1024k/16k cache
1998-06-30 08:01:30 +00:00
John-Mark Gurney b529c5e67c make NO_SCSI_SENSE a proper option (already documented in LINT) 1998-06-30 07:47:44 +00:00
John-Mark Gurney a9c94e9b71 document and make EXPORTMFS a new style option 1998-06-30 07:36:33 +00:00
John-Mark Gurney df394affa2 convert some nfs tunables to options, these are:
NFS_MINATTRTIMO         VREG attrib cache timeout in sec
NFS_MAXATTRTIMO
NFS_MINDIRATTRTIMO      VDIR attrib cache timeout in sec
NFS_MAXDIRATTRTIMO
NFS_GATHERDELAY         Default write gather delay (msec)
NFS_UIDHASHSIZ          Tune the size of nfssvc_sock with this
NFS_WDELAYHASHSIZ       and with this
NFS_MUIDHASHSIZ         Tune the size of nfsmount with this
NFS_NOSERVER            (already documented in LINT)
NFS_DEBUG               turn on NFS debugging

also, because NFS_ROOT is used by very different files, it has been
renamed to opt_nfsroot.h instead of the old opt_nfs.h....
1998-06-30 03:01:37 +00:00
Doug Rabson 14c35d6ca0 Add options for selecting ELF or KLD symbols in DDB. 1998-06-28 01:03:13 +00:00
KATO Takenori e379d366dd Sync with sys/i386/conf/Makefile.i386 revision 1.115. 1998-06-25 10:49:49 +00:00
Mike Smith 324bac9ffe Oops, add ppc to the 'tty' imask. 1998-06-24 22:01:32 +00:00
Eivind Eklund 1fcddf2eea Fix race condition for creation of vnode_if.c and vnode_if.h.
Exact problem pointed out by: Cyrus Rahman <cr@jcmax.com>
1998-06-24 13:55:32 +00:00
Bruce Evans abc97a0611 Moved P1003 options from the middle of the devices section to the
end of the main options section.

Turned on documented option OVERRIDE_TUNER.  LINT is primarily
for turning on options, not for documenting them.

Don't list IPFILTER twice (once as broken).
1998-06-21 13:36:53 +00:00
Bruce Evans df471779ea Round tickadj up. This prevents tickadj from being 0 when HZ > 500,
which makes adjtime(2) useless and confuses xntpd(8) into refusing
to start even when it would use the kernel PLL instead of adjtime().
The result is the same as recommended by tickadj(8), at least when
HZ divides 10^6.  Of course, you wouldn't want to actually use
adjtime() when HZ is large.  In the silly boundary case of HZ == 10^6,
tickadj == tick == 1 so the clock stops while adjtime() is active.
1998-06-21 12:22:35 +00:00
KATO Takenori a47dddaf2d Sync with sys/i386/conf/Makefile.i386 revision 1.114. 1998-06-17 16:30:53 +00:00
Bruce Evans afafca8bcb Don't generate declarations for isa device structs in "ioconf.h".
Don't generate declarations for isa interrupt handlers at all.
Isa interrupt handlers are now declared in <i386/isa/isa_device.h>
but should be converted take a `void *' arg and staticized as
soon as possible.

Updated CONFIGVERS.  New configs are very incompatible with
previous versions.
1998-06-17 15:16:53 +00:00
KATO Takenori 14f155eeb0 Sync with sys/i386/isa/conf/files.i386 revision 1.198. 1998-06-17 09:26:23 +00:00
Bruce Evans 2ebd0c3795 Backed out rev.1.183, which had nothing to do with its log message.
It was to support a half-baked optimization of certain long long
divisions in gcc-2.8 and/or egcs.  We now avoid these divisions.
1998-06-16 14:55:27 +00:00
Doug Rabson 7066d59cef Oops, wrong file again. 1998-06-14 17:35:55 +00:00
Doug Rabson 99d11cde56 Major changes to the generic device framework for FreeBSD/alpha:
* Eliminate bus_t and make it possible for all devices to have
  attached children.

* Support dynamically extendable interfaces for drivers to replace
  both the function pointers in driver_t and bus_ops_t (which has been
  removed entirely.  Two system defined interfaces have been defined,
  'device' which is mandatory for all devices and 'bus' which is
  recommended for all devices which support attached children.

* In addition, the alpha port defines two simple interfaces 'clock'
  for attaching various real time clocks to the system and 'mcclock'
  for the many different variations of mc146818 clocks which can be
  attached to different alpha platforms.  This eliminates two more
  function pointer tables in favour of the generic method dispatch
  system provided by the device framework.

Future device interfaces may include:

* cdev and bdev interfaces for devfs to use in replacement for specfs
  and the fixed interfaces bdevsw and cdevsw.

* scsi interface to replace struct scsi_adapter (not sure how this
  works in CAM but I imagine there is something similar there).

* various tailored interfaces for different bus types such as pci,
  isa, pccard etc.
1998-06-14 13:46:10 +00:00
Doug Rabson dd08c7e27d I accidentally committed the wrong file, sorry. 1998-06-10 17:54:37 +00:00
Doug Rabson 897cd717a5 Add initial support for the FreeBSD/alpha kernel. This is very much a
work in progress and has never booted a real machine.  Initial
development and testing was done using SimOS (see
http://simos.stanford.edu for details).  On the SimOS simulator, this
port successfully reaches single-user mode and has been tested with
loads as high as one copy of /bin/ls :-).

Obtained from: partly from NetBSD/alpha
1998-06-10 10:57:29 +00:00
Bruce Evans afba897ff2 Fixed `make depend', which I broke here about a month ago by moving
the null default for `depend' from bsd.dep.mk to bsd.obj.mk.
bsd.kmod.mk included these files in a bad order, so it picked up
the null default.
1998-06-09 02:55:40 +00:00
Bruce Evans ea0be99955 Updated yet another ioctl, and put wst in LINT to inhibit further bitrot. 1998-06-08 06:18:53 +00:00
Doug Rabson ecbb00a262 This commit fixes various 64bit portability problems required for
FreeBSD/alpha.  The most significant item is to change the command
argument to ioctl functions from int to u_long.  This change brings us
inline with various other BSD versions.  Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.

The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
1998-06-07 17:13:14 +00:00
KATO Takenori 060b58da67 Make LINE30 a new style option. 1998-06-06 05:25:37 +00:00
KATO Takenori 0f66fe0109 Make BS_TARG_SAFEMODE a new style option. 1998-06-06 05:21:56 +00:00
Julian Elischer e256a933a8 Reverse the default sense of the IPFW/DIVERT reinjection code
so that the new behaviour is now default.
Solves the "infinite loop in diversion" problem when more than one diversion
is active.
Man page changes follow.

The new code is in -stable as the NON default option.
1998-06-05 22:40:01 +00:00
Poul-Henning Kamp 5db3b83128 Add minimum driver for XC6200 based cards. Currently it knows about
the HOT1 from www.vcc.com.
1998-05-30 18:28:12 +00:00
Poul-Henning Kamp e4062700c2 100 xrpu Xilinx Reprogrammable Processing Unit 1998-05-29 08:51:34 +00:00
Julian Elischer bb60f459a0 Add optional code to change the way that divert and ipfw work together.
Prior to this change, Accidental recursion protection was done by
the diverted daemon feeding back the divert port number it got
the packet on, as the port number on a sendto(). IPFW knew not to
redivert a packet to this port (again). Processing of the ruleset
started at the beginning again, skipping that divert port.

The new semantic (which is how we should have done it the first time)
is that the port number in the sendto() is the rule number AFTER which
processing should restart, and on a recvfrom(), the port number is the
rule number which caused the diversion. This is much more flexible,
and also more intuitive. If the user uses the same sockaddr received
when resending, processing resumes at the rule number following that
that caused the diversion. The user can however select to resume rule
processing at any rule. (0 is restart at the beginning)

To enable the new code use

option	IPFW_DIVERT_RESTART

This should become the default as soon as people have looked at it a bit
1998-05-25 10:37:48 +00:00
KATO Takenori 8c1bd9897c Fixed missing semicolon and added space before semicolon.
Noticed by:	Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>
1998-05-25 09:57:34 +00:00
Jordan K. Hubbard 0ef4189616 Add CVS option
Submitted by:	Robert Baron <rvb@sicily.odyssey.cs.cmu.edu>
1998-05-24 01:29:52 +00:00
Jordan K. Hubbard 49ba456b21 Remove two CODA entries by request.
Submitted by:	Robert Baron <rvb@sicily.odyssey.cs.cmu.edu>
1998-05-24 01:28:56 +00:00
KATO Takenori a85be450c5 Sync with sys/i386/conf/Makefile.i386 revision 1.113. 1998-05-23 07:45:54 +00:00
Eivind Eklund 3933c622cd Move __FreeBSD_version from src/sys/conf/newvers.sh to
src/sys/sys/param.h, to facilitate access from the kernel.  This make
it possible to do outside kernel development and have it actually work
properly.
1998-05-21 19:21:46 +00:00
Bill Paul e21faf3e33 And entries for ThunderLAN driver. 1998-05-21 03:22:20 +00:00
Bill Paul c24476e32e Add entry for ThunderLAN driver to files. 1998-05-21 03:21:34 +00:00
Eivind Eklund 94610ec47e Back out previous commit - it breaks when called from 'buildworld' :-(
(Damn, I wanted that in the -snap).
1998-05-20 20:54:10 +00:00
Eivind Eklund a5eed7b873 Move __FreeBSD_version into <sys/param.h> (with automated duplication
to <osreldate.h>).  This allow kernel drivers access to it.

Approved by:	-current
1998-05-20 20:35:42 +00:00
Julian Elischer 0346e0fe04 Change the description of where to get the Soft Updates files. 1998-05-19 23:23:09 +00:00
David Greenman 1f91d8c563 Added fast IP forwarding code by Matt Thomas <matt@3am-software.com> via
NetBSD, ported to FreeBSD by Pierre Beyssac <pb@fasterix.freenix.org> and
minorly tweaked by me.
This is a standard part of FreeBSD, but must be enabled with:
"sysctl -w net.inet.ip.fastforwarding=1" ...and of course forwarding must
also be enabled. This should probably be modified to use the zone
allocator for speed and space efficiency. The current algorithm also
appears to lose if the number of active paths exceeds IPFLOW_MAX (256),
in which case it wastes lots of time trying to figure out which cache
entry to drop.
1998-05-19 14:04:36 +00:00
Poul-Henning Kamp 58067a9909 Make the size of the msgbuf (dmesg) a "normal" option. 1998-05-19 08:58:53 +00:00
Dag-Erling Smørgrav 6110161faa Spotted a misplaced comma in my previous patch. 1998-05-16 14:10:12 +00:00
Dag-Erling Smørgrav 276756a441 Typo nits in SUIDDIR comment (removed some parentheses, moved some
commas, replaced "partition" with "filesystem", reformatted the
paragraph)
1998-05-16 14:08:31 +00:00
Garrett Wollman 98271db4d5 Convert socket structures to be type-stable and add a version number.
Define a parameter which indicates the maximum number of sockets in a
system, and use this to size the zone allocators used for sockets and
for certain PCBs.

Convert PF_LOCAL PCB structures to be type-stable and add a version number.

Define an external format for infomation about socket structures and use
it in several places.

Define a mechanism to get all PF_LOCAL and PF_INET PCB lists through
sysctl(3) without blocking network interrupts for an unreasonable
length of time.  This probably still has some bugs and/or race
conditions, but it seems to work well enough on my machines.

It is now possible for `netstat' to get almost all of its information
via the sysctl(3) interface rather than reading kmem (changes to follow).
1998-05-15 20:11:40 +00:00
Jordan K. Hubbard ea66042212 Name cronyx devices correctly. 1998-05-13 12:38:26 +00:00
Jordan K. Hubbard 56700fcbe6 Reserve major number 99 for vak's cronyx/tau serial driver. 1998-05-12 17:03:24 +00:00
KATO Takenori 150bac3199 Sync with sys/i386/conf/options.i386 revision 1.78. 1998-05-12 09:31:44 +00:00
John Dyson 5498a452bc Support better performance with P6 architectures and in SMP
mode.  Unnecessary TLB flushes removed.  More efficient
page zeroing on P6 (modify page only if non-zero.)
1998-05-11 02:13:47 +00:00
Mike Smith 795d035511 Add character major for 'loe' loopback pseudo-ethernet device.
Requested by:	sbabkin@dcn.att.com
1998-05-09 17:52:26 +00:00
KATO Takenori 68b675d4af Deleted unused item. 1998-05-05 13:19:34 +00:00
Bruce Evans 89f9e39f19 Added -ansi to CWARNFLAGS so that ANSI errors don't come back. 1998-05-01 18:13:37 +00:00
Warner Losh 3f6c4fc33b Use ${.TARGET} rather than $@. i386 tested, pc98 untested because config
on my box doesn't grok machine type pc98.
PR:		3272
Submitted by:	jhs
1998-04-29 18:21:35 +00:00
Andreas Klemm a2ba45e521 Fixes incorrect company and product names in uha(4) manpage and
LINT config file. Should be merged to -STABLE as well.
PR:		closes 6447
Submitted by:	Steven Plite splite@purdue.edu
1998-04-29 17:09:41 +00:00
Matt Jacob 8bafc2452a Add support for the Qlogic ISP SCSI && FC/AL Adapters 1998-04-22 18:18:16 +00:00
Matt Jacob 65adb54cf1 Add support for the Qlogic ISP SCSI && FC/AL Adapters 1998-04-22 18:12:29 +00:00
Mike Smith 38f86230bd Add a block device entry for the 'myx' driver too. 1998-04-22 05:10:51 +00:00
Mike Smith 9c25a0b542 Add 'myx' for Ulf Zimmerman's Mylex Raid driver (ulf@alameda.net> 1998-04-22 03:57:07 +00:00
KATO Takenori b4e7319708 Commented out ide_pci.c.
Reviewed by:	kato
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-04-20 13:54:47 +00:00
KATO Takenori 9bfbfc62fd Sync with sys/i386/conf/options.i386 revision 1.77. 1998-04-20 13:52:44 +00:00
KATO Takenori 47c5d70acc Sync with sys/i386/conf/files.i386 revision 1.197. 1998-04-20 13:52:13 +00:00
Julian Elischer 992109b58e Get rid of DEVFS_ROOT
it no longer has any effect.

SLICE is in some ways a replacement but is destined to also go away.
1998-04-20 04:30:47 +00:00
Julian Elischer c0bab11dfe Make the devfs SLICE option a standard type option.
(hopefully it will go away eventually anyhow)
1998-04-20 03:57:41 +00:00
Julian Elischer 3e425b968d Add changes and code to implement a functional DEVFS.
This code will be turned on with the TWO options
DEVFS and SLICE. (see LINT)
Two labels PRE_DEVFS_SLICE and POST_DEVFS_SLICE will deliniate these changes.

/dev will be automatically mounted by init (thanks phk)
on bootup. See /sys/dev/slice/slice.4 for more info.
All code should act the same without these options enabled.

Mike Smith, Poul Henning Kamp, Soeren, and a few dozen others

This code does not support the following:
bad144 handling.
Persistance. (My head is still hurting from the last time we discussed this)
ATAPI flopies are not handled by the SLICE code yet.

When this code is running, all major numbers are arbitrary and COULD
be dynamically assigned. (this is not done, for POLA only)
Minor numbers for disk slices ARE arbitray and dynamically assigned.
1998-04-19 23:32:49 +00:00
KATO Takenori bac806c18d Sync with sys/i386/conf/Makefile.i386 revision 1.109. 1998-04-18 05:07:43 +00:00
Amancio Hasty 9ff07e3256 Reviewed by: Amancio
Submitted by:	Roger Hardiman <roger@cs.strath.ac.uk>
Roger Hardiman <roger@cs.strath.ac.uk> :
	Revised autodetection code to correctly handle both
	old and new VideoLogic Captivator PCI cards.
	Added tsleep of 2 seconds to initialistion code for PAL users.
	Corrected clock selection code on format change.

--- Amancio
1998-04-18 04:58:33 +00:00
Julian Elischer 2720a2efd6 Reserve a number for the ALTQ control devices (96) 1998-04-17 20:26:43 +00:00
Dima Ruban 8b78465c27 Undo my last change. 1998-04-17 07:51:36 +00:00
KATO Takenori 3755fd6d2d Sync with sys/i386/conf/Makefile.i386 revision 1.108. 1998-04-16 16:34:09 +00:00
Dima Ruban d3b8e3673e Use 0440 root.kmem kermissions on kernel instead of
0555 root.wheel.

Reviewed by:	freebsd-security
1998-04-15 17:53:32 +00:00
Søren Schmidt f559a836a2 Add the new LBA mode support in the wd? config examples. 1998-04-09 22:28:57 +00:00
KATO Takenori 74a64e52c9 Sync with sys/i386/conf/files.i386 revision 1.196. 1998-04-07 09:08:27 +00:00
Peter Wemm e8b4f186cd add globals.s for data that is treated differently on SMP. 1998-04-06 15:49:35 +00:00
KATO Takenori 2d6b7367bc - Use existing file (psm.c) though the driver does not work under
PC-98 arch.
- Merge the change in sys/i386/conf/files.i386 revision from 1.187 to
1.188.
1998-03-30 12:36:16 +00:00
Poul-Henning Kamp 934f5f3306 Export MD5Transform in md5.c and remove a private version in random_machdep.c
md5 is standard as a consequence of this.
1998-03-29 11:55:06 +00:00
Wolfgang Helbig 94316d1ddb pcics are devices not controllers. 1998-03-29 07:58:03 +00:00
Peter Dufault adc5342c47 The system call stubs for the sched_* system calls can't be
optional.

The kernel will now link but the new system calls can't be LKM'd in
without the P1003_1B option - I will remove this option later.
1998-03-28 22:44:28 +00:00
Peter Dufault 8a6472b723 Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work.  Changes:

Change all "posix4" to "p1003_1b".  Misnamed files are left
as "posix4" until I'm told if I can simply delete them and add
new ones;

Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;

Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;

Add options to LINT;

Minor fixes to P1003_1B code during testing.
1998-03-28 11:51:01 +00:00
KATO Takenori 469057f93e Sync with sys/i386/conf/files.i386 revision 1.195. 1998-03-24 08:26:02 +00:00
Kazutaka YOKOTA c4118fc0b0 Describe the SC_DISABLE_REBOOT option. 1998-03-24 02:55:03 +00:00
Peter Wemm 59088db3cb si driver has changed microcode file locations. 1998-03-23 16:44:22 +00:00
Peter Wemm 1689d8bdca Add IPFILTER, IPFILTER_LOG and note IPFILTER_LKM. 1998-03-21 14:13:47 +00:00
Peter Wemm 1ee25934a9 Make this compile.. There are some unpleasing hacks in here.
A major unifdef session is sorely tempting but would destroy any remaining
chance of tracking the original sources.
1998-03-21 11:34:28 +00:00
Peter Wemm c0a3aab811 zap 'vector siintr' from example si0 config 1998-03-21 06:21:03 +00:00
John Dyson b1a7842b22 Add ENABLE_VFS_IOOPT kernel option. 1998-03-19 22:37:37 +00:00
Bruce Evans 5f1c0dcd1a Fixed CLEANFILES. Some temporary files were missing. 1998-03-19 13:22:46 +00:00
Bruce Evans d2ca4e981b Fixed building of kernels without `options FFS'. ffs_softdep_stub.c is
not optional, since several "standard" files in ufs/ufs reference it.
1998-03-19 13:01:50 +00:00
Garrett Wollman 2cc2df490e Add preliminary support for IEEE 802.1Q VLAN tagging. It doesn't actually
work reliably yet (I've had panics), but it does seem to occasionally
be able to transmit and receive syntactically-correct packets.
Also fixes one of if_ethersubr.c's legion style bugs, and removes
the hostcache code from standard kernels---the code that depends on it
is not going to happen any time soon, I'm afraid.
1998-03-18 01:40:12 +00:00
KATO Takenori 61324207f1 Make EPSON_BOUNCEDMA a new-style option. 1998-03-17 09:11:03 +00:00
Eivind Eklund f909c15bec Clear up DPT comment to avoid further confusion. This is a hardware
driver.
1998-03-16 23:04:07 +00:00
Tor Egge 8f7030a7cc Add a BOOTP_WIRED_TO option, for use on machines with multiple network
cards where the first detected card should not be used for bootp.
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
1998-03-14 04:13:56 +00:00
KATO Takenori 8fb62a4f93 Sync with sys/i386/conf/files.i386 revision 1.194. 1998-03-14 02:31:00 +00:00
Eivind Eklund 69b87d3e06 Introduce the 'regress' target.
Silently approved by:	-hackers, -current
1998-03-12 20:02:17 +00:00
Julian Elischer fdc021ba7f Add EISA support for DPT drivers
Submitted by: Matthew Dodd
Reviewd by:	shimon@simon-shapiro.org (DPT author)
1998-03-11 00:30:16 +00:00
Eivind Eklund 94db1b8198 Document options policy.
Reviewed by:	bde
1998-03-10 15:55:38 +00:00
Eivind Eklund 04fa1e6c8b Change PMAP_SHPGPERPROC to not be equal to the default, for the
benefit of bde's "unused include files" script.

Requested by:	bde
1998-03-10 15:42:13 +00:00
KATO Takenori 1af2c4fbaa Sync with sys/i386/conf/options.i386 revision 1.76. 1998-03-10 12:48:57 +00:00
Eivind Eklund 005092bba6 Turn "PMAP_SHPGPERPROC" into a new-style option, add it to LINT, and
document it there.
1998-03-09 22:09:13 +00:00
KATO Takenori 3e8e255152 Make FPU_ERROR_BROKEN a new-style option. 1998-03-09 10:17:13 +00:00
Julian Elischer b1897c197c Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)
Submitted by:	Kirk McKusick (mcKusick@mckusick.com)
Obtained from:  WHistle development tree
1998-03-08 09:59:44 +00:00
Bruce Evans 589d9341f4 Removed support for now-unused FreeBSD misfeature DPSRCS. 1998-03-06 07:28:01 +00:00
Bruce Evans 47da63c3df Fixed dependencies of ${PROG} on ${DPSRCS} and `all' on ${_ILINKS}.
There were various races for `make -j'.  Half-built versions of
vnode_if.h were sometimes #included...

Removed a null dependency.
1998-03-06 05:43:46 +00:00
Peter Dufault 917e476dad Reviewed by: msmith, bde long ago
POSIX.4 headers and sysctl variables.  Nothing should change
unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
1998-03-04 10:27:00 +00:00
Guido van Rooij d3c0af6943 Raise ncallout from NPROC + 16 to NPROC + 16 + MAXFILES. This shold
prevent a possible DOS attack. The proper fix (to dynamically grow
the callout list) is in the make.
Submitted by:	Paul Traina
1998-02-27 19:58:29 +00:00
Jun-ichiro itojun Hagino 751bf650a8 make sys/netkey/key{,_debug}.c compile. I believe it works but not tested.
I'll polish the code later on.
1998-02-27 10:02:49 +00:00
Jordan K. Hubbard 281bc0476a Move "geometry disk" device (not yet implemented) to major 95 to
eliminate conflict with /dev/pci.
1998-02-27 06:15:50 +00:00
KATO Takenori 95b31a1d26 Sync with sys/i386/conf/files.i386 revision 1.193. 1998-02-26 03:21:41 +00:00
Poul-Henning Kamp 828c63ae15 Add loran0 to LINT 1998-02-24 22:24:46 +00:00
Poul-Henning Kamp cb7cfa353d Add the smallest and least useful device-driver by a fair margin... 1998-02-24 22:08:05 +00:00
John Dyson d9bed5bee1 Try to dynamically size the VM_KMEM_SIZE (but is still able to be overridden
in a way identically as before.)  I had problems with the system properly
handling the number of vnodes when there is alot of system memory, and the
default VM_KMEM_SIZE.  Two new options "VM_KMEM_SIZE_SCALE" and
"VM_KMEM_SIZE_MAX" have been added to support better auto-sizing for systems
with greater than 128MB.

Add some accouting for vm_zone memory allocations, and provide properly
for vm_zone allocations out of the kmem_map.  Also move the vm_zone
allocation stats to the VM OID tree from the KERN OID tree.
1998-02-23 07:42:43 +00:00
Jordan K. Hubbard b44fb1c4ba MF22: CODA entries.
Submitted by:	"Robert.V.Baron" <rvb@GLUCK.CODA.CS.CMU.EDU>
1998-02-21 19:24:36 +00:00
KATO Takenori 2d67fcee71 Make pc98 options new-style. 1998-02-21 16:17:55 +00:00
KATO Takenori 9217f466af Sync with sys/i386/conf/options.i386 revision 1.21. 1998-02-21 15:50:26 +00:00
KATO Takenori eb564225af Sync with sys/i386/conf/files.i386 revision 1.192. 1998-02-21 15:49:03 +00:00
Eivind Eklund c2469addb2 Make TUNE_1542 a new-style option, and enable this option in LINT. It
has been disabled since 1994 by mistake (or at least I hope so :-)
1998-02-21 10:11:43 +00:00
Jordan K. Hubbard 3bbe72d3dd Reserve cdev 93 for CODA filesystem.
Submitted by:	"Robert.V.Baron" <rvb@GLUCK.CODA.CS.CMU.EDU>
1998-02-20 23:55:32 +00:00
Poul-Henning Kamp 7ec73f6417 Replace TOD clock code with more systematic approach.
Highlights:
    * Simple model for underlying hardware.
    * Hardware basis for timekeeping can be changed on the fly.
    * Only one hardware clock responsible for TOD keeping.
    * Provides a real nanotime() function.
    * Time granularity: .232E-18 seconds.
    * Frequency granularity:  .238E-12 s/s
    * Frequency adjustment is continuous in time.
    * Less overhead for frequency adjustment.
    * Improves xntpd performance.

Reviewed by:    bde, bde, bde
1998-02-20 16:36:17 +00:00
Bruce Evans 161e89999d Removed default tags target. PROG is always defined here, so ifdefing
it was bogus, and without the ifdef the default is identical to the
central one in bsd.dep.mk.
1998-02-20 15:52:49 +00:00
Bruce Evans ee16b4300e Fixed some stale comments about console drivers.
Uncommented css0.  It compiles OK.

Moved trix0 so that it compiles OK when uncommented.  Uncommented
it.  Drivers with the same interrupt handler must be together in
config files so that config(8)'s simple avoidance of redundant
declarations of interrupt handlers works (config emits a declaration
unless it would duplicate the previous one).

Commented out NO_LKM.  Negative options should not be configured
in LINT.  There should be no negative options for subsystems.
LKMs should never have been standard or the default.
1998-02-20 12:27:28 +00:00
Steve Price ad64a9aade Don't propogate *_DEBUG options. Use DEBUG and recompile
only those parts of the kernel that you are interested in.

Prodded by:	Bruce Evans <bde@zeta.org.au>
1998-02-20 04:19:39 +00:00
Amancio Hasty 1735805c3a Move Luigi's I2CWR ioctl from the video_ioctl section to the
tuner_ioctl section. Changed Major device from 79 to 92 and reserved
our Major device number -- hasty@star-gate.com
1998-02-20 03:55:17 +00:00
Steve Price 34d1c7b48c Add an LPT_DEBUG option.
PR:		5773
Submitted by:	Dag-Erling Coidan Smorgrav <dag-erli@ifi.uio.no>
1998-02-20 02:44:18 +00:00
Mike Smith eed5086e1a Move the 'sw' device off block major #1, which is now occupied by 'wfd'. 1998-02-19 12:15:06 +00:00
KATO Takenori 5783aeff4d Sync with sys/i386/conf/files.i386 revision 1.191. 1998-02-19 08:42:57 +00:00
Jordan K. Hubbard 86b1080174 91 vinum RAID fs
Requested by:	grog
1998-02-19 01:33:29 +00:00
Mike Smith 1f98b2eb0f Remove the 'qcam' driver. Development has ceased, and the driver is
nonfunctional.
Submitted by:	pst (conversation some time ago)
1998-02-18 13:43:59 +00:00
KATO Takenori dc4179fd63 Sync with sys/i386/conf/files.i386 revision 1.190. 1998-02-18 12:34:01 +00:00
Søren Schmidt ea38cb7ffc Add 'wst" atapi tape devicefile. 1998-02-17 11:32:33 +00:00
Jordan K. Hubbard ce84f3a9d6 Add entry for Greg Lehey's "vinum" fs - don't know what to call it in
here so I just called it a RAID fs.
1998-02-17 10:52:56 +00:00
Søren Schmidt bee7612b0b Reserve major # for the atapi tape device 1998-02-17 10:44:23 +00:00
Eivind Eklund d94f38ace2 Add HW_WDOG to LINT, and turn it into a new-style option. 1998-02-16 23:57:49 +00:00
KATO Takenori 3ddaa5931a Sync with sys/i386/conf/files.i386 revision 1.189. 1998-02-16 09:38:37 +00:00
Peter Wemm a397086e61 Update to support SI/XIO PCI host cards (Z280 based) and the enhanced
SXISA and SXPCI host cards (Transputer based).

PR: 4836, 5021, 5654
Submitted by:  Nick Sayer <nick@specialix.com>
1998-02-15 14:42:33 +00:00
Paul Traina 186a666128 Change wfd major block device to 1 as part of the effort to make wfd's
bootable without a big increase in boot2's size.
1998-02-13 22:41:00 +00:00