Commit Graph

230 Commits

Author SHA1 Message Date
thorpej
dbc8632d59 Build if_media.c on the same conditions as if.c 1997-03-17 03:10:30 +00:00
is
07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
cgd
cd9e2f3b86 add an entry for 'isp', the MI Qlogic ISP 10x0 SCSI Controller driver,
from Matt Jacob.
1997-03-12 01:56:18 +00:00
jonathan
f0f7e53290 Add compiled-in MCLBYTES and MSIZE to conf/param.c, as 'mclbytes" and "msize".
Add code to netstat to use libkvm to for kernel variables "mclbytes"
and "msize', and if found, use those for netstat -m rather than
compiled-in defaults.
1997-02-28 00:14:19 +00:00
thorpej
d02bfeb0ac Define the ncr53c9x attribute to pull in the MI 53c9x driver. 1997-02-27 01:13:45 +00:00
mrg
6d1865aace include net/pfil.c with pfil_hooks|ipfilter 1997-02-18 21:14:03 +00:00
mikel
ff4c83accc Don't build ip_mroute.o unless MROUTING is defined; fixes PR kern/2820.
Don't build PPP compression code unless ppp pseudo-device is configured,
  regardless of PPP_COMPRESS and PPP_DEFLATE options.
1997-02-12 08:18:15 +00:00
gwr
f96d73ce59 Add kern/kgdb_stub.c 1997-02-12 00:56:06 +00:00
mycroft
1dd1504980 Move the aha ISA probe functions into a separate file. 1997-02-07 17:37:27 +00:00
thorpej
72096190e8 Make KMEMSTATS a "header option". 1997-02-02 21:16:25 +00:00
thorpej
bcdef359ef Fairly major kernel change went in today; bump the version to 1.2C. 1997-01-31 09:28:05 +00:00
thorpej
578626f7ea nfsclient -> nfs 1997-01-31 02:21:33 +00:00
thorpej
5885fe6b78 This file is now obsolete. 1997-01-30 17:29:23 +00:00
tls
a6b42c4d73 fix a large number of braindead unconditional #defines 1997-01-30 10:16:18 +00:00
thorpej
147c10c146 The "md" driver is MI (har har :-). Declare it here. 1997-01-21 09:36:04 +00:00
perry
b89a3425b7 Eliminate obsolete TIMEZONE and DST options.
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
mrg
c71a371532 use pseudo-device ipfilter, not ipl. 1997-01-07 11:35:01 +00:00
thorpej
3941a378c0 Give the "ipl" pseudo-device the "device-driver" attribute, so that
ipl.h is generated.
1997-01-06 08:41:19 +00:00
veego
98bf77c987 Add needs-flag and ifnet for ipl. 1997-01-05 22:16:51 +00:00
mrg
b002cf09d3 initial import of darren reed's ip-filter, version 3.1.2. 1997-01-05 13:39:41 +00:00
thorpej
5e49978c31 Back out previous change, which was:
>Only build kern/kern_ntptime.c if NTP is being compiled into the kernel.

This change had implications that didn't occur to me at the time. *sigh*
1996-12-06 20:03:24 +00:00
thorpej
b98d1aca52 Only build kern/kern_ntptime.c if NTP is being compiled into the kernel. 1996-11-14 04:53:59 +00:00
mikel
fd55e79cd3 Don't build ufs_quota.c if not QUOTA. Fixes PR 2821. 1996-11-13 00:15:28 +00:00
thorpej
4ad70417a0 Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).
1996-11-12 23:58:01 +00:00
thorpej
e50a1d048c Bump NetBSD version to 1.2B (kernel interface changed) 1996-10-25 20:13:16 +00:00
ws
31bdb14ed5 Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB 1996-10-16 19:32:08 +00:00
thorpej
5636f8d06d Make sure a kgdb.h file gets generated.
(*grumble*)
1996-10-02 21:41:37 +00:00
ws
2da166f660 Fix p_nice vs. NZERO code.
Change NZERO to 20 to always make p_nice positive.
On Christos' suggestion make p_nice explicitly u_char.
1996-10-02 18:04:56 +00:00
cgd
ccd26363f6 allow a.out executable support to be optional (conditioned on EXEC_AOUT),
and shell script support to be optional (conditioned on EXEC_SCRIPT).
Remove the implicit inclusion of EXEC_ECOFF when COMPAT_OSF1 and/or
COMPAT_ULTRIX is included, and of EXEC_ELF32 when COMPAT_LINUX and/or
COMPAT_SVR4 is included.
1996-10-02 05:29:29 +00:00
ws
093a00671f Add (and change) machine independent files for KGDB support 1996-09-30 16:16:45 +00:00
cgd
79bd41b179 add support and reorganize for 64-bit ELF, included by EXEC_ELF64
option.  (Also, make EXEC_ELF32 option a way to explicitly include
32-bit ELF support.)
1996-09-26 20:51:03 +00:00
christos
3f0fed8ce8 Add stub for cyclades multi-port serial cards 1996-09-24 17:43:35 +00:00
cgd
80c82b8766 rename exec_elf.c to exec_elf32.c, since it execs 32-bit ELF. exec_elf32.c
was copied from exec_elf.c on the CVS server to keep the logs intact.
1996-09-20 22:33:23 +00:00
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
explorer
471c23385f Add compile-time and run-time control over automatic niceing 1996-07-17 21:43:22 +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
jtc
64157258f9 updated for 1.2A (post 1.2) 1996-05-25 21:59:38 +00:00
cgd
407faf0374 add line for 'strip' pseudo-device, and include slcompress.c if it's included. 1996-05-24 13:03:57 +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
scottr
6dcb4fba8c XXX !! Hack to make config.old-based ports generate an audio.h file.
Works around the problem reported in PR 2228.
1996-03-19 04:40:54 +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
thorpej
7f80deb0ad Bump version to NetBSD 1.1B. 1996-03-17 01:01:45 +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
mrg
a8554128fc default DST and TIMEZONE to 0, if not already defined 1996-03-12 03:08:40 +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
thorpej
693685364b Add kern_ntptime.c, per Thorsten Frueauf <frueauf@ira.uka.de>, PR #2146. 1996-02-29 03:36:31 +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
mycroft
af23361dde Remove tty_compat.c. 1996-02-03 00:23:51 +00:00
christos
0ff0d71a2d Removed kernel/tty_compat.c 1996-02-02 18:52:49 +00:00
mycroft
c1978093ef Remove some junk, and add _KERNEL and _LOCORE. 1996-02-01 22:41:12 +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
pk
eb22b59e44 Pad `sccs[]' to make it 8 bytes long, to make it work on more architectures.
(PR#1690).
1996-01-05 15:06:45 +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
thorpej
c6d3b96520 Change "OS release" to 1.1A. 1995-12-12 02:05:14 +00:00
jtc
0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +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
thorpej
22ab83eff0 We don't have, and have never had, a kern/exec_hpux.c 1995-11-20 01:01:05 +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
b6dc9e0984 don't do things that should only be necessary for 'real' clists. 1995-03-08 00:54:44 +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
brezak
1f5bdc75a9 New audio subsystem 1995-02-21 01:35:58 +00:00
cgd
2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
mycroft
835dfab068 Minor style cleanup. 1994-12-05 06:03:45 +00:00
mycroft
2f710a54ee Convert process, file, and namei lists and hash tables to use queue.h. 1994-08-30 03:04:28 +00:00
deraadt
3938d6ba02 initialize shmmax to `# of pages' at compile time; multiply by NBPG at
boot time (in shminit). This supports architecture families with varying
values for NBPG, and does not break ipcs.
1994-08-22 23:37:03 +00:00
cgd
cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
cgd
2e82a93f57 the trunk now carries the revision 1.0A (i.e. the first revision after
1.0), because the release branch is 1.0, and when the trunk again becomes
-current, it's 1.0A.
1994-07-10 22:26:30 +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
chopps
9ae627b8b7 remove inet from if_ether.c this needed to be "ether and inet" INET now
checked in if_ether.c at compile time.
1994-06-21 03:56:22 +00:00
pk
75811dd071 4.4 fs code. 1994-06-10 10:57:03 +00:00
mycroft
428590d3e2 B --> C 1994-06-08 11:47:03 +00:00
mycroft
36d501bf10 Update for 4.4 fs code. 1994-06-08 11:20:25 +00:00