Commit Graph

37811 Commits

Author SHA1 Message Date
Bruce Evans
07f6cad7a0 Restored used include of <sys/systm.h>. -Wmissing-prototypes doesn't work
for builtin functions.
1999-05-13 06:07:44 +00:00
Jordan K. Hubbard
0dfcd4a9c4 I'm told by the PR author that this page_size increment was in
the wrong place; back it out.
1999-05-13 05:24:53 +00:00
Luoqi Chen
93fcd374b4 Read dumpdev using sysctl(3) interface. Now savecore should work again
after the dev_t changes.
1999-05-13 04:29:09 +00:00
Luoqi Chen
7a73ea0414 Device pager's handle is dev_t not udev_t. 1999-05-13 04:02:07 +00:00
Jordan K. Hubbard
bae5164b37 fix stupid typo. 1999-05-13 02:49:23 +00:00
Mike Smith
5ca13e05f7 Fix my own Pie Floater.
(Correctly handle 'wd' devices)
1999-05-12 23:50:50 +00:00
Jordan K. Hubbard
61bdb7bc9b Correct a bug which could cause a segfault if there is no uc_devlist
data.

Noticed by:	Bill Swingle <bill@cdrom.com>
1999-05-12 23:08:02 +00:00
Peter Wemm
a89c3bd3dc dev is a pointer, printf it as such 1999-05-12 22:33:08 +00:00
Peter Wemm
51b5226683 Try and fix a dev_t/major/minor etc nit. 1999-05-12 22:32:07 +00:00
Peter Wemm
ccb84588dd Try an fix a couple of dev_t/major/minor etc nits. 1999-05-12 22:30:50 +00:00
Jordan K. Hubbard
25c4e179f5 Update norwegian time server.
Noted by:	dag
1999-05-12 22:06:00 +00:00
Luoqi Chen
0f0fe5a4c5 Unbreak VESA on SMP. 1999-05-12 21:39:07 +00:00
Luoqi Chen
2ee16532b6 VM86_FRAMESIZE is now the size of vm86 frame, not the number of 4-byte words.
Requested by:	Bruce
1999-05-12 21:30:51 +00:00
Bill Fumerola
d8bd93842e Add doc-supfile and www-supfile, for those who'd like to track those
repositories.

On a side note, I think www should be called www-all, like all of our
other collections.

Requested By:	jesusr
No Problems:	jdp
1999-05-12 20:01:10 +00:00
Dmitrij Tejblum
6fc29216ec Added some missing dependencies. 1999-05-12 19:27:44 +00:00
Brian Somers
d543a9c02a Adjust our first timer delta according to the return
from getitimer() so that times are correct for
``show timer''.
1999-05-12 19:10:22 +00:00
Peter Wemm
cc5881cff5 Fix (?) SPECHASH dev_t/major/minor/etc args 1999-05-12 19:06:40 +00:00
Peter Wemm
c7b52b866e Fix dev_t/minor problems 1999-05-12 19:01:30 +00:00
Matt Jacob
83ae4407f5 When asked to get the current transfer settings go do a dev_refresh
isp_update call to get a better chance at seeing whether a recent
settings change has latched up.
1999-05-12 19:00:16 +00:00
Matt Jacob
442257d9c5 be a bit more chatty about some speed negotiations 1999-05-12 18:56:55 +00:00
Archie Cobbs
255065aa3b Add a min TTL flag to go along with the max TTL flag. That is, this flag
allows you to start tracing at a hop number other than 1.

Submitted by:	Stefan `Sec` Zehl <sec@42.org>
1999-05-12 17:28:31 +00:00
Kris Kennaway
790b555384 Grammatical fixes.
Obtained from:	OpenBSD
1999-05-12 13:48:47 +00:00
Poul-Henning Kamp
e519e78b42 braino. 1999-05-12 13:06:34 +00:00
Bruce Evans
6930c8618b Backed out the previous commit, except for the parts that reduced
the magicness of 200.  Cleaned up the remaining parts.  Circularisation
of the list of malloc types was a kernel bug (now fixed).  Interfering
with applications' definitions of pgtok is a system header bug (not
fixed).
1999-05-12 11:49:47 +00:00
Bruce Evans
ce45b512b3 Fixed corruption of the kmemstatistcs list. The first malloc()
with malloc type at the tail of the list changed the list from
linear to circular.  This seemed to cause surprisingly few problems,
but it now causes weird output from `vmstat -m', probably because
a more important malloc type is now at the tail of the list.

Fix it by abusing ks_limit instead of ks_next as a flag for being
on the list.  Don't forget to clear the flag when a malloc type is
uninit'ed.  Uninit'ing is still fundamentally broken -- it loses
history.
1999-05-12 11:11:27 +00:00
Poul-Henning Kamp
adfea48f2b Produce compiler warning if dev_t and udev_t is confused. 1999-05-12 11:06:56 +00:00
Poul-Henning Kamp
8bee45c44e Don't peek into dev_t 1999-05-12 11:06:07 +00:00
Poul-Henning Kamp
c32e6392b5 Fix a udev_t/dev_t mismatch which prevent paging from working. 1999-05-12 11:05:23 +00:00
Brian Somers
ef868a34ad Oops - hook the sync push diagnostics correctly. 1999-05-12 09:54:33 +00:00
Brian Somers
6815097bf7 Allow `host:port/udp'' devices and support `host:port/tcp'' as
being the same as the previous (still supported) ``host:port''
syntax for tcp socket devices.

A udp device uses synchronous ppp rather than async, and avoids
the double-retransmit overhead that comes with ppp over tcp (it's
usually a bad idea to transport IP over a reliable transport that
itself is using an unreliable transport).  PPP over UDP provides
througput of ** 1.5Mb per second ** with all compression disabled,
maxing out a PPro/200 when running ppp twice, back-to-back.

This proves that PPPoE is plausable in userland....

This change adds a few more handler functions to struct device and
allows derivations of struct device (which may contain their own
data etc) to pass themselves through the unix domain socket for MP.
** At last **, struct physical has lost all the tty crud !

iov2physical() is now smart enough to restore the correct stack of
layers so that MP servers will work again.

The version number has bumped as our MP link transfer contents have
changed (they now may contain a `struct device').

Don't extract the protocol twice in MP mode (resulting in protocol
rejects for every MP packet).  This was broken with my original
layering changes.

Add ``Physical'' and ``Sync'' log levels for logging the relevent
raw packets and add protocol-tracking LogDEBUG stuff in various
LayerPush & LayerPull functions.

Assign our physical device name for incoming tcp connections by
calling getpeername().

Assign our physical device name for incoming udp connections from
the address retrieved by the first recvfrom().
1999-05-12 09:49:12 +00:00
Semen Ustimenko
3c9bb8b7ff Driver is now ported to NetBSD.
Submitted by:	Christos Zoulas <christos@zoulas.com>
1999-05-12 09:43:09 +00:00
Jordan K. Hubbard
e71d157614 Add some extra checks to make *sure* we got what we were told we got. 1999-05-12 09:22:47 +00:00
Jordan K. Hubbard
b9ad2ee3d4 Completely change the way package_add() does its work. Now we
handle dependencies at a lower level and use package add for this.
Also made index searches stricter.
1999-05-12 09:02:37 +00:00
KATO Takenori
91f9d6d376 Sync with sys/i386/isa/diskslice_machdep.c revision 1.34. 1999-05-12 08:33:22 +00:00
Jordan K. Hubbard
a6af8d4174 Support divergent docs for different architectures. 1999-05-12 08:19:54 +00:00
Jordan K. Hubbard
04b10daf62 Punt! This file is now architecture specific. 1999-05-12 08:17:56 +00:00
Jordan K. Hubbard
2a43f686f5 A special installation guide for the Alpha. Thanks, Doug! This is good!
Submitted by:	Doug Rabson <dfr@freebsd.org>
1999-05-12 08:17:03 +00:00
Poul-Henning Kamp
63bc2b64ea $ brucify sys/stat.h
_devt should be __dev_t
$
1999-05-12 07:55:42 +00:00
Poul-Henning Kamp
7238b09623 #define udev_t dev_t in userland, so that programs which peek at
vnodes and stuff compile.  They may still not work however.
1999-05-12 07:41:49 +00:00
Poul-Henning Kamp
02342b0cfe Fix dumpon. It passes a udev_t from userland to kernel, that needs a
udev2dev() before we use it.

It really should pass a name like swapon does.
1999-05-12 07:40:50 +00:00
Jordan K. Hubbard
26e6116190 Erm, delete the package base hint again. Gotta lay off the crack!
I simply forgot that I'd already proven this to be a "really good idea that
unfortunately didn't work at all" the *last* time I tried it.  Now
I remember.  Hmmm.  I WILL defeat this evil problem.
1999-05-12 07:12:01 +00:00
Jordan K. Hubbard
4d350c33db We don't bundle the XFree86 release notes on the floppies anymore; take it
out of the appropriate menus.
1999-05-12 06:58:18 +00:00
Dag-Erling Smørgrav
ecb80458eb Brucify. 1999-05-12 06:57:07 +00:00
Jordan K. Hubbard
41fe7a1406 Set PKG_ADD_BASE hint in a certain case. 1999-05-12 06:11:32 +00:00
Jordan K. Hubbard
722678f1c8 Revive the PKG_ADD_BASE stuff a bit. 1999-05-12 06:06:49 +00:00
Bruce Evans
5264b48a6e Updated a comment (Crtat is no longer bogusly shared with syscons).
Don't declare a nonexistent variable.
1999-05-12 04:59:27 +00:00
Jordan K. Hubbard
703e69c29c Fix a couple of bogons in the X server/desktop setup menus. 1999-05-12 04:52:41 +00:00
Bruce Evans
4a79c0bea3 Removed global variable `Crtat'. This was once (bogusly) shared with
pcvt, but it had rotted into unuse here, and of course its type had
become inconsisent with its type in pcvt.

Fixed some minor style bugs.
1999-05-12 04:45:56 +00:00
Poul-Henning Kamp
bfbb9ce670 Divorce "dev_t" from the "major|minor" bitmap, which is now called
udev_t in the kernel but still called dev_t in userland.

Provide functions to manipulate both types:
        major()         umajor()
        minor()         uminor()
        makedev()       umakedev()
        dev2udev()      udev2dev()

For now they're functions, they will become in-line functions
after one of the next two steps in this process.

Return major/minor/makedev to macro-hood for userland.

Register a name in cdevsw[] for the "filedescriptor" driver.

In the kernel the udev_t appears in places where we have the
major/minor number combination, (ie: a potential device: we
may not have the driver nor the device), like in inodes, vattr,
cdevsw registration and so on, whereas the dev_t appears where
we carry around a reference to a actual device.

In the future the cdevsw and the aliased-from vnode will be hung
directly from the dev_t, along with up to two softc pointers for
the device driver and a few houskeeping bits.  This will essentially
replace the current "alias" check code (same buck, bigger bang).

A little stunt has been provided to try to catch places where the
wrong type is being used (dev_t vs udev_t), if you see something
not working, #undef DEVT_FASCIST in kern/kern_conf.c and see if
it makes a difference.  If it does, please try to track it down
(many hands make light work) or at least try to reproduce it
as simply as possible, and describe how to do that.

Without DEVT_FASCIST I belive this patch is a no-op.

Stylistic/posixoid comments about the userland view of the <sys/*.h>
files welcome now, from userland they now contain the end result.

Next planned step: make all dev_t's refer to the same devsw[] which
means convert BLK's to CHR's at the perimeter of the vnodes and
other places where they enter the game (bootdev, mknod, sysctl).
1999-05-11 19:55:07 +00:00
Dmitrij Tejblum
ac9a7ff18c Oops, the correct commit message is:
remove unused variable db_recover.
1999-05-11 19:02:52 +00:00