Commit Graph

246 Commits

Author SHA1 Message Date
mrg a5f00f16bc move the packet filter hooks in to a saner location. while i'm here, rename
PACKET_FILTER to PFIL_HOOKS.
1996-09-14 14:40:20 +00:00
mycroft 125a8c5ce5 Add a set of generic file system operations that most file systems use.
Also, fix some time stamp bogosities.
1996-09-01 23:57:15 +00:00
mycroft a561952cf9 Add generic bha and uha code. 1996-08-31 20:27:55 +00:00
cgd 4d62c94345 add a space i forgot, for prettiness 1996-08-28 18:51:53 +00:00
cgd 0f3dafde2e add an optional 'channel' keyword to the 'scsi' interface attribute
(defaults to -1, a.k.a. SCSI_CHANNEL_UNKNOWN).
1996-08-28 18:44:53 +00:00
cgd ba9149a53e treat all "chipset drivers" similarly: include their file specs
up with the definitions of their attributes.  Previously, this was done
for most but not all, and there was no good reason to be inconsistent.
1996-07-14 20:03:44 +00:00
chuck 0fe65e632b add native mode atm protocol layer 1996-07-04 03:14:21 +00:00
thorpej 6041e29f1f My extent map manager. Sort of like resource maps, but more flexible.
Understands allocation aligment and boundary restrictions, "specific region"
allocations, and suballocations.  Capable of statically or dynamically
allocating map overhead.

Many thanks to Matthias Drochner for running the code for me, and sending
me bug fixes, optimizations, and suggestions.  Also, many thanks to
Chris Demetriou for his extremely helpful suggestions.

XXX No manual page yet.  One is forthcoming, as soon as I can scare up
the time to write one.  This has been sitting on my plate for quite a
while, and several projects are waiting for it.  Time to move on.
1996-06-23 00:10:08 +00:00
chuck e186894640 add atm networking stuff 1996-06-22 01:49:00 +00:00
jonathan 431ae5d022 Add line discipline code, initialization, and config support for MosquitoNet's
Metricom Ricochet starmode-radio-IP driver.
1996-05-19 17:17:50 +00:00
mycroft e03577c2a4 Slight adjustments for new version of ahc driver. 1996-05-16 04:00:58 +00:00
thorpej 159c1ab1cd Only compile the MI LANCE driver if an "le" is configured into the kernel. 1996-05-07 16:09:12 +00:00
mycroft 5c4d5281a3 Actually define the `le' device. 1996-05-07 08:56:54 +00:00
thorpej aff40e2a72 Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver.  Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>
1996-04-25 02:15:42 +00:00
paulus fa78064f7c Make inclusion of the PPP BSD-Compress and Deflate compressors
dependent on the PPP_BSDCOMP and PPP_DEFLATE kernel configuration
options, respectively.
1996-03-19 01:00:49 +00:00
cgd 94907fa254 adjust to deal with expression support for optional file specs 1996-03-17 13:21:09 +00:00
paulus ded34522e2 Now need bpfilter for ppp, since it does packet filtering.
Add files for PPP-Deflate packet compression support.
1996-03-15 02:43:53 +00:00
cgd 3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
cgd 927a47d0d3 add isabus and pcibus attributes, for attachment of isa and pci busses 1996-02-28 01:42:42 +00:00
cgd d45c3d85a4 Move eisabus, tcbus attributes here. Attributes that "machine-independent"
bus support want to attach to should be declared in conf/files, so that
hairy ordering constraints on the inclusions of busses' "files" files
in files.{MACHINE} are avoided.  isabus, pcibus attributes will go here later.

The problem is, for instance, that there are some devices in files.isa
currently which require that 'pci' be defined, but there are some PCI
devices (e.g. 'sio' on the Alpha) that provide isabus interfaces, i.e.
'isa' busses attach to them.  Unless the the bus-attachment attributes
are here, it's impossible to declare the busses' files and attribute
dependencies in a machine-independent way.
1996-02-27 21:59:14 +00:00
jonathan e7ef034c05 Add NTP kernel precision timekeeping from Dave Mill's xntp distribution
and the "kernel.tar.Z" distribution on louie.udel.edu, which is older than
xntp 3.4y or 3.5a, but contains newer kernel source fragments.

This commit adds support for a new kernel configuration option, NTP.
If NTP is selected, then the system clock should be run at "HZ", which
must be defined at compile time to be one value from:
  60, 64, 100, 128, 256, 512, 1024.

Powers of 2 are ideal; 60 and 100 are supported but are marginally less
accurate.

If NTP is not configured, there should be no change in behavior relative
to pre-NTP kernels.

These changes have been tested extensively with xntpd 3.4y on a decstation;
almost identical kernel mods work on an i386.  No pulse-per-second (PPS)
line discipline support is included, due to unavailability of hardware
to test it.

With this in-kernel PLL support for NetBSD, both xntp 3.4y and xntp
3.5a user-level code need minor changes. xntp's prototype for
syscall() is  correct for FreeBSD, but not for NetBSD.
1996-02-27 04:20:30 +00:00
christos bd06e49fd9 Remove ns_cksum.c; I'll send mail to portmasters about it. 1996-02-19 21:29:44 +00:00
christos 4fd36944c1 add ns_cksum.c; netns will not link without it. 1996-02-13 17:09:46 +00:00
christos 0ff0d71a2d Removed kernel/tty_compat.c 1996-02-02 18:52:49 +00:00
thorpej e422ebca1a Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.
1996-01-13 02:05:14 +00:00
thorpej 1b0b2de861 Define the ncr5380sbc attribute and compile dev/ic/ncr5380sbc.c if it's used. 1996-01-01 22:27:08 +00:00
cgd 57dc31272e pull in ecoff_exec.c with 'options EXEC_ECOFF', as well as with compat
options, so that it can be used in kernels (e.g. alpha) w/o need for
compat options.
1995-11-25 00:37:39 +00:00
pk 12776e406a Move RCONSOLE files into dev/rcons/files.rcons. 1995-10-04 23:33:14 +00:00
pk 77843edc4d Add the rcons files. 1995-09-17 20:54:19 +00:00
cgd 1bac9e2b7c Some changes from Matt Thomas, to help support FDDI:
add 'fddi' attribute, and files descriptions for it.
XXX add 'pdq' attribute, and add files descriptions for it.  This is to
XXX support the various front-ends that use his driver (which will eventually
XXX live on PCI, EISA, and TC busses at least).  This is probably not the best
XXX way to arrange this, but i can't think of a better way without whacking
XXX a lot of things.
1995-08-19 00:49:15 +00:00
cgd 8a23aa1655 nuke IMP. 1995-08-19 00:46:15 +00:00
cgd 049a3d5a4d clean up the whitespace, and kill the 4BSD SCSI code comments 1995-08-17 18:50:34 +00:00
thorpej 555a22e058 Add the ccd. 1995-08-17 17:38:42 +00:00
brezak 693043d786 GUS audio driver from John Kohl. 1995-07-19 19:58:09 +00:00
paulus 69f3d14493 Include extra files for the new PPP stuff. 1995-07-04 06:42:19 +00:00
fvdl 456f07b9a2 Add mi ELF files. 1995-06-22 21:27:45 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
cgd 8c5643694c ecoff exec code needed for COMPAT_OSF1 1995-03-08 00:54:15 +00:00
glass f634dc196b preliminary arcnet support. uses lame but RFC address resolution 1995-02-23 07:19:49 +00:00
cgd 2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
cgd cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
cgd 89e331dcad new standard, minimally intrusive ID format 1994-06-27 19:40:57 +00:00
hpeyerl 97562c208d Changes for ccd. 1994-06-24 14:00:22 +00:00
mycroft 36d501bf10 Update for 4.4 fs code. 1994-06-08 11:20:25 +00:00
glass 02789e9d37 oops 1994-05-27 16:27:13 +00:00
cgd dd253c2abd subr_mcount goes away 1994-05-19 06:11:04 +00:00
mycroft 4d802d6ff1 Add some new stuff. 1994-05-13 06:19:13 +00:00
chopps 08fb938d9b oops we want to alphabetize starting on path, not basename.. 1994-05-12 03:36:32 +00:00
chopps bf5b060f84 add adosfs to files for old config and alphabetize for both. 1994-05-12 03:33:41 +00:00
cgd 748795c12e out with the ick, in with the sick 1994-05-07 01:30:45 +00:00
cgd a0a7429482 lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.
1994-05-05 05:35:42 +00:00
glass a3b042140f revised nfs diskless support. uses bootp+rpc to gather parameters 1994-04-18 06:18:05 +00:00
glass 5c35c98f88 getting rid of tp_astring.c 1994-03-26 04:13:48 +00:00
deraadt 974484d469 kern/subr_disk.c is standard 1994-03-23 18:22:52 +00:00
ws ec20310be9 Oops. Bug fix for nfs server. Reported by Theo. 1994-03-10 16:56:14 +00:00
ws ce516ff13d Make FFS optional 1994-03-09 21:21:37 +00:00
cgd d23339cb78 make kern/syscalls.c included if syscall_debug defined 1994-02-15 06:14:45 +00:00
hpeyerl 40ceea7ad3 igmp.c and ip_mroute.c are dependant on "inet" being defined.
(Thanx to Tim Chase for pointing this out)
1994-02-11 18:02:06 +00:00
mycroft 810b9e898c Deprecate af.c. 1994-02-10 17:27:45 +00:00
hpeyerl 815cc355b8 Multicast is no longer optional. 1994-02-02 01:15:59 +00:00
cgd 1e0d9f8ad1 add files for updated execve() 1994-01-16 03:03:38 +00:00
cgd 957ce06f24 far reaching but relatively minor cleanup and slight reorg of exec code 1994-01-08 07:14:24 +00:00
cgd 18470f17e3 this file is once again in alphabetical order... 1993-12-22 12:48:25 +00:00
brezak c271e40d97 Add dev/vn.c driver 1993-12-21 05:25:35 +00:00
deraadt 2bfd9f76b6 tunnel driver should work now 1993-12-13 05:04:34 +00:00
hpeyerl 748eecc392 Two new files for Multicast 1993-12-09 00:35:00 +00:00
cgd 4878a43c3d Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:21:59 +00:00
cgd 917af1bf7b new locations 1993-11-12 03:38:16 +00:00
glass 3e21ea2e33 tablet line discipline compiles and probably works now. 1993-11-02 06:19:24 +00:00
cgd a65ca356db oops 1993-10-21 00:15:47 +00:00
cgd e75ed9019d no more subr_acct.c 1993-10-21 00:14:34 +00:00
cgd 5384291866 add kern/exec_aout.c as a standard file. 1993-09-05 01:31:59 +00:00
deraadt a87b4a30bd pagers are now options, not pseudo-devices 1993-08-30 07:09:20 +00:00
pk 6b29756e78 Add files for proc filesystem. 1993-08-24 12:52:29 +00:00
deraadt 3604916e13 ppp from paul mackerras 1993-08-14 06:29:28 +00:00
cgd 54eb3b1f88 brought in fixed/renamed/matching MS-DOS FS code, from Jeff Polk
<polk@bsdi.com>.  His notes are as follows:
------------------------------------------------------------------------------

 July 22, 1993

 - Changed name of entire package from PCFS to MSDOSFS

 - Fixed bugs:
      root directory size in clusters instead of bytes
      growing directory didn't update in-core size
      link, symlink, mknod didn't free locked parent (deadlock)
      lookup returned real error on create and rename instead of EJUSTRETURN
      rename changed `.' entry in child instead of name entry in parent
      rename removed `.' entry in child instead of removing entry in
              parent when moving a directory from one dir to another
      createde() left new node locked when write of parent failed (deadlock)
      removede() decremented refcount even on error (rmdir's which failed
              due to write errors left in-core cache entries inconsistent)
      changed validation for filesystem to not check for the boot signature
              since some disks (e.g., mtools) aren't bootable
      directories are always show current time as modify time
              (needed for NFS export since DOS never updates dir mod times --
               ctime is true create time).

 - Added support for cookies changes to the readdir() vnode
      interface (#ifdef __bsdi__)

 - Punted on the whole problem of inode generation numbers.  This means
   that there's a chance of using a stale file handle to access a new
   file, but it doesn't appear to be the common case, and I don't see
   how to generate reasonable generation numbers without changing something
   on the disk (which is the way the SVR4 filesystem survival kit guys
   did it).  I don't think it would be very safe to change the on-disk
   format.

        Jeff Polk (polk@BSDI.COM)

------------------------------------------------------------------------------
1993-08-13 11:35:13 +00:00
cgd cd56dd1638 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:53:27 +00:00
cgd 9bd082f70e replace jolitz's vfs__bio with a better one from CMU via mw.
so, replace vfs__bio, and deal with attendant changes.
1993-07-19 16:38:35 +00:00
cgd e898be06da add isofs/isofs_rrip.c if using "options ISOFS" 1993-07-19 15:48:36 +00:00
mycroft 3be4221095 Change tty code to use clist interface, but with ring buffer implementation.
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:36:53 +00:00
cgd aa2992a474 make the rlist code all go away. replace it with resource map code,
as written by Wolfgang Solfrank.
1993-07-07 06:02:26 +00:00
cgd c286f8c4fd move julian's scsi files back into files.i386 1993-07-04 20:08:15 +00:00
cgd 0dde03704d use/add new physio... 1993-06-16 22:06:33 +00:00
cgd 57d3a6d525 add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +00:00
cgd 84c740b888 change to use new exec 1993-05-31 01:40:53 +00:00
cgd e3b4331d6e fixed rcsids and cleaned up headers 1993-05-20 03:29:36 +00:00
cgd bd05104f48 add barebones accounting, enabled w/"options ACCOUNTING", via /dev/acct 1993-05-02 09:22:31 +00:00
glass 5fc608f3ea made appropriate changes for separate inclusion of nfsclient and nfsserver support 1993-04-10 20:17:08 +00:00
glass 85eccea790 imp support is not present and is therefor 'requires broken' 1993-04-10 15:54:14 +00:00
glass d6cd25222a fixed to be compliant, subservient, and to take advantage of the newly
hacked config(8)
1993-04-10 12:02:29 +00:00
cgd 5cc382fc66 add support for PCFS, the MSDOS filesystem.
written by Paul Popelka (paulp@uts.amdahl.com) (patch 129)

invoke w/"options PCFS" in kernel config file.
1993-04-09 19:37:49 +00:00
cgd 3c5df8a123 put scsi system file list in the right place (finally) 1993-04-08 04:05:33 +00:00
glass ad3c80b352 ktrace is now optional 1993-03-26 22:15:25 +00:00
cgd 6848ea77a0 added support for kernfs and fdesc filsystem files 1993-03-23 23:55:02 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00