Commit Graph

266 Commits

Author SHA1 Message Date
explorer
80513cb5ae o Make usage of /dev/random dependant on
pseudo-device   rnd                     # /dev/random and in-kernel generator
  in config files.

o Add declaration to all architectures.

o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
  that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
explorer
dac3eb2c9b make /dev/random standard, per message from Jason 1997-10-09 23:53:01 +00:00
explorer
32a092e1cf define the 'options DEVRANDOM' thing, and which files to include to use it. 1997-10-09 23:19:24 +00:00
bouyer
6ab3092b11 Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
jtc
d6ae2cd7fd Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:03:42 +00:00
gwr
31459bfd07 Make nfs/krpc_subr.c conditional on arp (fixes PR#4233). 1997-10-07 16:15:30 +00:00
augustss
082b2b05b7 Add the Interwave audio chip. 1997-10-06 20:12:26 +00:00
christos
64ff55911c From Enami Tsugutomo: Busify and split the aic6360 driver. 1997-10-06 19:49:17 +00:00
veego
c588f0b2b7 Add netinet/ip_log.c for ipfilter & ipfilter_log 1997-09-21 18:17:44 +00:00
mikel
2f014c40e6 remove obsolete comment about scsi files
don't include ppp_bsdcomp or ppp_deflate support unless ppp defined
alphabetize (mostly) file list
1997-09-20 02:20:52 +00:00
enami
64edd9d48a Use TAB instead of SPACE to indent. Line up if possible. 1997-09-20 01:02:29 +00:00
enami
8a45521059 Convert RTC_OFFSET, DEVPAGER, SWAPPAGER and VNODEPAGER to be declared
by defopt.
1997-09-20 00:44:05 +00:00
thorpej
aab66475d0 Build db_elf.c if ddb is configured. (Oops, this one got away!) 1997-09-16 06:05:54 +00:00
gwr
d10e502f80 Make the new files (nfs_boot*) conditional on nfs & arp 1997-09-02 21:35:03 +00:00
gwr
bc5b441687 Make the new files (nfs_boot*) conditional on nfs & ether 1997-09-02 17:22:47 +00:00
thorpej
3d28be8e20 Pull "sm" driver declaration down from marc-pcmcia branch. 1997-09-02 01:50:32 +00:00
gwr
2d672c5c0e Add: nfs_bootdhcp.c nfs_bootparam.c 1997-08-29 16:29:21 +00:00
bouyer
6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
augustss
332ad95e76 Change the MI audio driver so it attaches to the MD driver in the
normal way.  This requires adding a line to the config files to
get audio to work again.
1997-08-19 23:49:33 +00:00
leo
b5b61284fe Md : from needs-flag to needs-count 1997-08-03 20:33:58 +00:00
augustss
658656bb99 Audio changes:
- Change the way attach and open works to allow multiple audio
	  devices.
	- Split the mulaw.c file into two to avoid dragging in mulaw
	  convertsion when they are not needed.  Add 16 bit alaw/mulaw tables.
	- Change the way audio properties are gotten.
	- Recognize more versions os SoundBlaster.
1997-07-31 22:33:08 +00:00
matt
16b1eea874 Add files lines for lc device (LEMAC, DEC EtherWORKS III). 1997-07-31 21:56:33 +00:00
jonathan
f8687036c9 Reorder device declarations of bha and aha so th BusLogic driver probes
before before the Adaptec 1542/1642 driver. As commented,

  Probing AHA first configures bhas as aha, via their AHA
  hardware-compatibility mode.
1997-07-28 22:48:59 +00:00
thorpej
4cef61d36b Generate dependencies for the TCP_SENDSPACE and TCP_RECVSPACE options. 1997-07-28 22:31:08 +00:00
pk
0afaee97a4 Add line for the i82586 driver. 1997-07-22 23:33:33 +00:00
fvdl
6d77e0b4bb Move kern_lock.c to kern/ 1997-07-06 12:40:30 +00:00
thorpej
7d072d8efa Add new ipfilter files. 1997-07-06 05:14:51 +00:00
mrg
68e8b2b97c we are now 1.2G. 1997-06-12 19:41:10 +00:00
bouyer
276676cfbb Support ext2fs. 1997-06-11 10:40:16 +00:00
thorpej
239ce2aa34 Bump version to NetBSD 1.2F. 1997-06-07 00:57:33 +00:00
thorpej
ad58cb5136 Make kernels with ipfilter compile again: need netinet/ip_proxy.c. 1997-05-27 01:07:48 +00:00
gwr
e17505a9ea Add ddb/db_xxx.c 1997-05-21 19:54:54 +00:00
lukem
8e6617f5d8 Implement method to store release information in one location; it's
generated by `osrelease.sh`. If an argument of "-s" is given, print
the "short" form (e.g, "12E"), otherwise print the long (e.g, "1.2E").
Take advantage of this in newvers.sh.
1997-05-10 15:40:09 +00:00
mycroft
0ecc9cdac1 Update to 1.2E. 1997-05-08 11:40:16 +00:00
scottr
187f2e6235 Add the dp8390 driver back end/attribute. 1997-04-29 05:11:32 +00:00
christos
55e1055dc3 Add netatalk glue 1997-04-02 21:34:11 +00:00
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