Commit Graph

18043 Commits

Author SHA1 Message Date
mycroft
4b2741c436 Map SIOCGIFCONF. 1996-02-27 05:51:05 +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
jonathan
7c6f017cab Import sys/timex.h from xntp 3.5a: NTP precision timekeeping definitions. 1996-02-27 03:55:49 +00:00
briggs
92c6f5f0ee Get rid of some unneeded constants. 1996-02-27 03:29:16 +00:00
briggs
6ec37fa3df Use IOBase instead of INTIOBASE. 1996-02-27 03:25:47 +00:00
briggs
db2f33c640 Clean out some unneeded constants. 1996-02-27 03:23:42 +00:00
cgd
8c79f5dd54 one more minor oops; print our name, not parent's, when doing unconfigured dev 1996-02-27 03:22:44 +00:00
cgd
09c7841a66 fix bug in previous commits. also, do submatch checking for all devices,
not just option slot devices.
1996-02-27 03:19:43 +00:00
briggs
1dcd5f9d15 For a bus error in nofault, if it's an 040, load the address from the
correct frame offset.  This is required for the 5380 driver to work
properly.
1996-02-27 03:17:00 +00:00
cgd
ecc22fbecd use #defines for bus speed constants, print speed on attach 1996-02-27 01:37:32 +00:00
cgd
3c43b4317d alphabetize device list 1996-02-27 01:31:33 +00:00
pk
9216cf3276 Drain rev 1 chips in dma_reset(). 1996-02-27 00:36:11 +00:00
pk
2c646f8da5 bwtworeg' is just about the same as the generic fbcontrol'. 1996-02-27 00:32:34 +00:00
cgd
7f4f1d2406 be consistent when talking about eisa_attach_args 1996-02-27 00:31:30 +00:00
cgd
4bd7608739 Better EISA autoconfiguration, per PR 1959. 1996-02-27 00:20:54 +00:00
cgd
e4a3b7650e oops; remove extraneous #if/#endif pair 1996-02-27 00:15:23 +00:00
pk
6b5eb65b21 bt_reg => fbcontrol. 1996-02-27 00:14:17 +00:00
cgd
570976f77c change previously-useless config_rootfound() for the EISA bus so that
it provides what the new MI EISA code expects.
1996-02-27 00:13:45 +00:00
pk
8628f94179 Use `video enable' bit in framebuffer control. 1996-02-27 00:11:14 +00:00
pk
2fe54615fb Define a couple more framebuffer control bits. 1996-02-27 00:09:23 +00:00
cgd
188cda224f Trim some comments relating to EISA configuration that are no longer relevant. 1996-02-27 00:08:29 +00:00
cgd
440b3cbc94 update for new EISA autoconfiguration: there can now be an eisa0 at root,
and ahb attaches to eisa, not isa.  Also, ahb* at eisa?... is now supported,
so you can get all ahb's configured easily.
1996-02-27 00:06:42 +00:00
cgd
897baa5642 machine-generated files 1996-02-26 23:47:18 +00:00
cgd
9b53b5770d list of all EISA devices that we know about (for smarter 'unconfigured'
printing if 'options EISAVERBOSE'), and files to turn the list into c source.
From my PR (1959).
1996-02-26 23:46:17 +00:00
thorpej
0adab4d779 Avoid accidentally lowering a devices console priority. 1996-02-26 23:40:29 +00:00
cgd
c0251e2a9d (1) rename some structures & structure members, for consistency with
planned changes in other sections of code.
(2) expands the use of config_found() in tcattach() in-line, so that
    tcsubmatch can be invoked there, rather than being invoked by
    individual drivers.
(3) tcbus_attach_args now includes a turbochannel speed flag.
(4) compare a string in tcbus_attach_args against tc bus driver name,
    to better allow attachment of multiple busses to the same parent.
1996-02-26 23:38:38 +00:00
jonathan
ff27dbbcf9 Revert pmax stdarg.h and varargs.h to versions from 1995-11-13. Those
versions work correctly; at some point between then and the immediately
preceding revisions, the "stylistic" changes to one (or both) stdarg.h
and varargs.h broke passing doubles to printf().
1996-02-26 23:29:05 +00:00
mrg
32cdb91fa3 two more local addr changes, all done differently now (idea from charles) 1996-02-26 23:16:42 +00:00
gwr
056810ed99 Make this code independent of <sys/nfs> now that we use very little
from there anyway, so we can ignore changes in the NFS code...
1996-02-26 23:05:14 +00:00
scottr
4005c5fd09 Fix typo (PR 2123, from Michael VanLoon) 1996-02-26 22:48:32 +00:00
thorpej
cf93780656 Adjust for the new console code; CONSCODE is now a kernel option, not
a dca-specific constant.  For now, hardwire standalone DCA console
at select code 9 (which is what the old constant expanded to).  Really
should make the way the bootblock console is probed look just like how
the kernel console is probed.
1996-02-26 21:51:25 +00:00
scottr
6a0803ca9a Make these build again in the wake of the v3 changes 1996-02-26 21:50:07 +00:00
scottr
c24557134f Needed for NFS booting; we aren't likely to use v3 here any time soon. 1996-02-26 21:49:34 +00:00
pk
517988b940 Interims:
Comment out `STATINT' checking; this is apparently unreliable on some
ESP revisions.
Deal with target initiated synch re-negotiation.
1996-02-26 14:48:30 +00:00
mrg
86b9b4d6be if we are connecting *to* an address of any local interface, default the
local address of the socket to the same address.
1996-02-26 08:25:47 +00:00
mycroft
2ce52ae489 Define build programs with ?=', so they can be overridden with makeoptions'. 1996-02-26 02:53:20 +00:00
cgd
5a1e1bb682 don't need isa/isareg.h or pci/pci{reg,var}.h. 1996-02-25 22:56:30 +00:00
pk
a3ab0e81da Use CPU-type macros. 1996-02-25 22:03:20 +00:00
pk
3d182fe265 Use CPU-type macros 1996-02-25 21:53:49 +00:00
pk
ba0eb7ea59 Use CPU-type macros. 1996-02-25 21:45:53 +00:00
fvdl
3821dd940b Oops. Do previous fix on the right line this time.. (thanks Charles) 1996-02-25 17:47:26 +00:00
fvdl
1f20fc9fc2 Call soreserve() with the right size for receives (from pk). 1996-02-25 15:30:01 +00:00
pk
95d7594df0 If NFS rsize' is specified, set readdirsize' too. 1996-02-25 13:27:01 +00:00
ghudson
fc22c4663e "kerberos4" is now port 750, "kerberos" port 88.
send_to_kdc.c will try the kerberos4 port first, and then the kerberos
port.  send_to_kdc.c will connect() to the socket so that it retries
quickly if it gets a port unreachable message.  Also, don't rely on
select() not modifying the timeout parameter.
1996-02-25 02:19:56 +00:00
ragge
1376f92db9 Add routine to convert phys device number to kernel unit number.
Allow to set disklabel area writable.
1996-02-24 21:22:54 +00:00
ragge
f2aaea55c2 Make setroot() grok where we boot from even if it is hp disks. 1996-02-24 21:20:01 +00:00
cgd
6be793f659 use mono_time, rather than time, to keep track of timeouts. time can change
unpredictably.
1996-02-24 21:09:38 +00:00
chopps
6ab6c3037d remove floating point expressions. gen_cvtab.c generates a conversion
table to replace a specific floating point expression in grf_cv.c
1996-02-24 20:13:00 +00:00
jtk
bf9897158a put back in a change I accidentally dropped from telnet.95.10.23 1996-02-24 20:02:02 +00:00
jtk
47dc9102de restore lost local change (be careful with 'long' vs. 'int'
distinctions)
1996-02-24 19:13:37 +00:00