]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoImplement the -l commandline option which turns off broadcast of
Steve Price [Mon, 11 Jan 1999 05:27:37 +0000 (05:27 +0000)]
Implement the -l commandline option which turns off broadcast of
information, but still allows you to monitor other machines.

PR: 9301
Submitted by: Matthew Fuller <fullermd@futuresouth.com>

25 years agoDon't refer to i386/isa/kbdio.h anymore. Use dev/kbd/atkbdcreg.h instead.
Kazutaka YOKOTA [Mon, 11 Jan 1999 03:50:01 +0000 (03:50 +0000)]
Don't refer to i386/isa/kbdio.h anymore.  Use dev/kbd/atkbdcreg.h instead.

25 years agoAdd splash screen module. This version has rather limited
Kazutaka YOKOTA [Mon, 11 Jan 1999 03:34:56 +0000 (03:34 +0000)]
Add splash screen module.  This version has rather limited
capabilities, but should be a good start... Well, sort of.

It can handle W*ndows 256 color BMP file.  (Other color depth probably
won't work.) The size of the image must be 320x200 or less.  *sigh*

25 years agoThe first stage of console driver reorganization: activate new
Kazutaka YOKOTA [Mon, 11 Jan 1999 03:20:32 +0000 (03:20 +0000)]
The first stage of console driver reorganization: activate new
keyboard and video card drivers.

25 years agoThe first stage of console driver reorganization: activate new
Kazutaka YOKOTA [Mon, 11 Jan 1999 03:18:56 +0000 (03:18 +0000)]
The first stage of console driver reorganization: activate new
keyboard and video card drivers.

Because of the changes, you are required to update your kernel
configuration file now!

The files in sys/dev/syscons are still i386-specific (but less so than
before), and won't compile for alpha and PC98 yet.

syscons still directly accesses the video card registers here and
there; this will be rectified in the later stages.

25 years agoOops, I committed wrong version of these files in the last commit!
Kazutaka YOKOTA [Mon, 11 Jan 1999 03:06:28 +0000 (03:06 +0000)]
Oops, I committed wrong version of these files in the last commit!
Here are the correct, and up-top-date ones.

25 years agoTry some new floppy sizes.
Jordan K. Hubbard [Mon, 11 Jan 1999 00:54:00 +0000 (00:54 +0000)]
Try some new floppy sizes.

25 years agoAdded file handling to ulpt (USB printer) driver
Nick Hibma [Mon, 11 Jan 1999 00:03:59 +0000 (00:03 +0000)]
Added file handling to ulpt (USB printer) driver

25 years agoFix a minor security problem in libc_r.
Warner Losh [Mon, 11 Jan 1999 00:02:37 +0000 (00:02 +0000)]
Fix a minor security problem in libc_r.

Submitted by: Alexandre Snarskii <snar@paranoia.ru>
Approved by: John Birrell
Reminded me that I'd been sitting on this too long: snar@paranoia.ru

25 years agoUse truncate() instead of otruncate() - step on the way to stopping
Eivind Eklund [Sun, 10 Jan 1999 23:15:35 +0000 (23:15 +0000)]
Use truncate() instead of otruncate() - step on the way to stopping
the linulator from depending on COMPAT_43.

25 years agoAdded starting of usbd
Nick Hibma [Sun, 10 Jan 1999 22:06:22 +0000 (22:06 +0000)]
Added starting of usbd

25 years agoRemove warning
Nick Hibma [Sun, 10 Jan 1999 22:04:05 +0000 (22:04 +0000)]
Remove warning

25 years agoAdded usbd and usbdevs
Nick Hibma [Sun, 10 Jan 1999 21:57:55 +0000 (21:57 +0000)]
Added usbd and usbdevs

25 years agoNo longer install obsolete boot.help file.
Robert Nordier [Sun, 10 Jan 1999 21:31:37 +0000 (21:31 +0000)]
No longer install obsolete boot.help file.

25 years agoNo longer install outdated boot.help file.
Robert Nordier [Sun, 10 Jan 1999 21:08:26 +0000 (21:08 +0000)]
No longer install outdated boot.help file.

25 years agoDisable kzipping the loader; it seems to be breaking the aout-to-elf build
Mike Smith [Sun, 10 Jan 1999 20:20:27 +0000 (20:20 +0000)]
Disable kzipping the loader; it seems to be breaking the aout-to-elf build

25 years agoAdd vpo.4 to the list of manpages to build and install.
Steve Price [Sun, 10 Jan 1999 19:26:27 +0000 (19:26 +0000)]
Add vpo.4 to the list of manpages to build and install.

PR: 9427
Submitted by: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>

25 years agoTweak the vr_start() and vr_rxeof() routines a little to improve
Bill Paul [Sun, 10 Jan 1999 18:51:49 +0000 (18:51 +0000)]
Tweak the vr_start() and vr_rxeof() routines a little to improve
performance and reliability a little. There was a condition before
where transmission would stall during periods of heavy traffic
exchange between two hosts. Also set the 'want interrupt' bit in
receive descriptor control words.

25 years agoSync with NetBSD sources. Almost there. Mostly style fixes.
Nick Hibma [Sun, 10 Jan 1999 18:42:54 +0000 (18:42 +0000)]
Sync with NetBSD sources. Almost there. Mostly style fixes.

25 years agoRemove warning
Nick Hibma [Sun, 10 Jan 1999 18:31:22 +0000 (18:31 +0000)]
Remove warning

25 years agoRemove redundant line of code.
Steve Price [Sun, 10 Jan 1999 18:22:23 +0000 (18:22 +0000)]
Remove redundant line of code.

PR: 9364
Submitted by: Daniel C. Sobral <dcs@newsguy.com>

25 years agoForgotten options needed to build last ppbus commit.
Nicolas Souchu [Sun, 10 Jan 1999 17:41:33 +0000 (17:41 +0000)]
Forgotten options needed to build last ppbus commit.

Submitted by: "D. Rock" <rock@wurzelausix.CS.Uni-SB.DE>

25 years agoRemove check from where arp replies are coming from -- when doing bridging,
Luigi Rizzo [Sun, 10 Jan 1999 17:40:10 +0000 (17:40 +0000)]
Remove check from where arp replies are coming from -- when doing bridging,
interfaces are used in clusters so the check does not apply.

25 years agoTypo: /etc/ppp/ppp.conf.example -> ppp.conf.sample
SADA Kenji [Sun, 10 Jan 1999 17:23:10 +0000 (17:23 +0000)]
Typo: /etc/ppp/ppp.conf.example -> ppp.conf.sample
Submitted by: Sugiura Shiro <ssugiura@duo.co.jp>

25 years agoFrom the submitter:
Doug Rabson [Sun, 10 Jan 1999 17:22:49 +0000 (17:22 +0000)]
From the submitter:

I found the reason why f77 so offen dies on alpha. Here is a fix.
"Const" is a union of int and double.
If nelt->constblock.Const.ci > 0 then it trys to evaluate it as double
and floating point exception occurs.

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Obtained from: NetBSD

25 years agoFix broken low level ppb_rxxx() return type: char becomes u_char.
Nicolas Souchu [Sun, 10 Jan 1999 16:41:14 +0000 (16:41 +0000)]
Fix broken low level ppb_rxxx() return type: char becomes u_char.

Submitted by: Bruce Evans <bde@zeta.org.au>

Some ppb bootup printfs simplified.

25 years agoFix the annoying bug introduced in rev 1.18 that caused each line to be
Peter Wemm [Sun, 10 Jan 1999 15:28:37 +0000 (15:28 +0000)]
Fix the annoying bug introduced in rev 1.18 that caused each line to be
one character shorter than the previous in a stairstep fashion when long
idle times were involved.

A couple of nits:
- spelling/typo fix.
- some of the easier style(9) fixes where it was bothering me.
- Handle 100+ days idle time (ha!).  Probably the right thing to do is
  to do a snprintf into a buffer and strlen the result rather than doing
  hackery on magic numbers.

XXX the wide (and mostly unused) username and tty columns annoy me since
it it could be used for more useful information for the command. We should
actually count the largest username and tty and adjust like 'ls -l' does.

25 years agoUse etc/make.conf settings for serial port and speed.
Robert Nordier [Sun, 10 Jan 1999 14:48:05 +0000 (14:48 +0000)]
Use etc/make.conf settings for serial port and speed.

Submitted by: rvb
Reviewed by: bde

25 years agoadd directory /etc/isdn and populate it
Hellmuth Michaelis [Sun, 10 Jan 1999 14:30:53 +0000 (14:30 +0000)]
add directory /etc/isdn and populate it

25 years agoDamn, I thought I had committed this already, but it seems not.
Peter Wemm [Sun, 10 Jan 1999 13:29:52 +0000 (13:29 +0000)]
Damn, I thought I had committed this already, but it seems not.

Move the relocated boot1 and arg transfer space from 0x600/0x800 to
0x700/0x900.  In theory this should make no difference, apart from the fact
that Buslogic controllers happen to use a few bytes at 0x600 for some sort
of scratch space for it's int 0x13 hook (!!!), causing the machine to crash
badly when the boot2 code makes it's callbacks into boot1 for disk IO.

Submitted by: Robert Nordier <rnordier@freebsd.org>

25 years agoWhen resuming with 2 identical cards in 2 slots, the initialisation
Guido van Rooij [Sun, 10 Jan 1999 13:00:09 +0000 (13:00 +0000)]
When resuming with 2 identical cards in 2 slots, the initialisation
of the second card fails. This fixes that.

25 years agoAdd hooks for the Iprobe kernel profiler.
Doug Rabson [Sun, 10 Jan 1999 12:35:39 +0000 (12:35 +0000)]
Add hooks for the Iprobe kernel profiler.

Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>

25 years agoMajor ppbus commit with:
Nicolas Souchu [Sun, 10 Jan 1999 12:04:56 +0000 (12:04 +0000)]
Major ppbus commit with:

+ ECP parallel port chipset FIFO detection
+ DMA+FIFO parallel I/O handled as chipset specific
+ nlpt updated in order to use the above enhanced parallel I/O.
  Use 'lptcontrol -e' to use enhanced I/O
+ Various options documented in LINT
+ Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for
  an overview of the IEEE1284 standard
+ Detection of PnP parallel devices at boot
+ Read capability added to nlpt driver to get IEEE1284 compliant
  printer status with a simple 'cat /dev/lpt0'
+ IEEE1284 peripheral emulation added to BYTE mode. Two computers
  may dialog according to IEEE1284 signaling method.
  See PERIPH_1284 option and /sys/dev/ppbus/ppi.c

All this code is supposed to provide basic functions for IEEE1284 programming.
ppi.c and nlpt.c may act as examples.

25 years agoFix typo: "login failures" -> "login failure"
Daniel O'Callaghan [Sun, 10 Jan 1999 11:18:59 +0000 (11:18 +0000)]
Fix typo: "login failures" -> "login failure"
PR: 9424
Submitted by: Lars K*ller <root@cc.fh-lippe.de>

25 years agoSuggested by bde@freebsd.org- memcpy not necessarily good to use. D'oh- not in
Matt Jacob [Sun, 10 Jan 1999 11:15:23 +0000 (11:15 +0000)]
Suggested by bde@freebsd.org- memcpy not necessarily good to use. D'oh- not in
the BSD DKI. Stop being lazy and finish the defines so MEMCPY becomes bzero
for FreeBSD.

25 years agoMerge changes from vendor branch (1.1.1 -> 1.1.3) into mainline.
Peter Wemm [Sun, 10 Jan 1999 09:53:51 +0000 (09:53 +0000)]
Merge changes from vendor branch (1.1.1 -> 1.1.3) into mainline.

25 years agoThis commit was generated by cvs2svn to compensate for changes in r42468,
Peter Wemm [Sun, 10 Jan 1999 09:47:00 +0000 (09:47 +0000)]
This commit was generated by cvs2svn to compensate for changes in r42468,
which included commits to RCS files with non-trunk default branches.

25 years agoImport zlib 1.1.3 onto the vendor branch.
Peter Wemm [Sun, 10 Jan 1999 09:47:00 +0000 (09:47 +0000)]
Import zlib 1.1.3 onto the vendor branch.

Obtained from: ftp.cdrom.com:/pub/infozip/zlib

25 years agoBack out last change to sysctl.
Poul-Henning Kamp [Sun, 10 Jan 1999 07:45:33 +0000 (07:45 +0000)]
Back out last change to sysctl.

It was nay'ed before committing on the grounds that this is not
the way to do it, and has been decided as such several times in
the past.

There is not point in loading gobs of ascii into the kernel when
the only use of that ascii is presentation to the user.

Next thing we'd be adding all section 4 man pages to the loaded
kernel as well.

The argument about KLD's is bogus, klds can store a file in
/usr/share/doc/sysctl/dev/foo/thisvar.txt with a description and
sysctl or other facilities can pick it up there.

Proper documentation will take several K worth of text for many
sysctl variables, we don't want that in the kernel under any
circumstances.

I will welcome any well thought out attempt at improving the
situation wrt. sysctl documentation, but this wasn't it.

25 years agoAdd kernel support for sysctl descriptions. The NO_SYSCTL_DESCRIPTIONS option
Dag-Erling Smørgrav [Sun, 10 Jan 1999 05:33:43 +0000 (05:33 +0000)]
Add kernel support for sysctl descriptions. The NO_SYSCTL_DESCRIPTIONS option
disables them if they're not wanted; in that case, sysctl_sysctl_descr will
always return an empty string.

Apporved by: jkh

25 years agoEnable escapes for $ to make it possible to insert variable names into
Mike Smith [Sun, 10 Jan 1999 05:08:12 +0000 (05:08 +0000)]
Enable escapes for $ to make it possible to insert variable names into
other variable values.

25 years agoFix typo: if_name -> ifr_name
Daniel O'Callaghan [Sun, 10 Jan 1999 04:59:59 +0000 (04:59 +0000)]
Fix typo: if_name -> ifr_name
Submitted by: Casper <casper@acc.am>

25 years agoAdd some prototype deadchip detection. Set FIFO bursting (1XX0 only-
Matt Jacob [Sun, 10 Jan 1999 02:55:10 +0000 (02:55 +0000)]
Add some prototype deadchip detection. Set FIFO bursting (1XX0 only-
it's already on for the 2XX0) and detect the broken 1040A FIFO. Change
bzero to MEMZERO (portability with **nux). Use memcpy for same reason.

Finally detect QUEUE FULL conditions and return this as an error that
will get cam_periph_error to do it's 'tagged openings now XXX' dance.

25 years agoup isp_fifo_threshold NVRAM storage to 3 bits (for future 128 bit)
Matt Jacob [Sun, 10 Jan 1999 02:51:48 +0000 (02:51 +0000)]
up isp_fifo_threshold NVRAM storage to 3 bits (for future 128 bit)

25 years agoadd MEMZERO portability defines
Matt Jacob [Sun, 10 Jan 1999 02:51:06 +0000 (02:51 +0000)]
add MEMZERO portability defines

25 years agowhoops, missed one.
Jordan K. Hubbard [Sun, 10 Jan 1999 02:46:27 +0000 (02:46 +0000)]
whoops, missed one.

25 years agoAmazingly stupid forgetfullness had me forgetting to turn on FIFO bursts
Matt Jacob [Sun, 10 Jan 1999 02:45:51 +0000 (02:45 +0000)]
Amazingly stupid forgetfullness had me forgetting to turn on FIFO bursts
for the 1XX0 cards. That cost > 50% performance.

25 years agoClean up option handling a little.
Dag-Erling Smørgrav [Sun, 10 Jan 1999 02:10:08 +0000 (02:10 +0000)]
Clean up option handling a little.
Add an option for showing sysctl descriptions instead of their values.

25 years agoIf we can't open alias.log, don't try to write to the
Brian Somers [Sun, 10 Jan 1999 02:05:13 +0000 (02:05 +0000)]
If we can't open alias.log, don't try to write to the
resulting NULL FILE *.
PR: 9403

25 years agoKNFize, by bde.
Eivind Eklund [Sun, 10 Jan 1999 01:58:29 +0000 (01:58 +0000)]
KNFize, by bde.

25 years agoOnly call isatty() when we open our descriptor, and remember
Brian Somers [Sun, 10 Jan 1999 01:26:30 +0000 (01:26 +0000)]
Only call isatty() when we open our descriptor, and remember
the answer.

If we later get a descriptor exception from select(), we know
that it's a tty (isatty() returns 0 after the exception on a
tty) and remember to call modem_LogicalClose().

The upshot of it all is that descriptor exceptions dont leave
the tty locked any more.

25 years agoNuke this - it's antiquated and unmaintained.
Jordan K. Hubbard [Sat, 9 Jan 1999 23:14:34 +0000 (23:14 +0000)]
Nuke this - it's antiquated and unmaintained.

25 years agoSwitch to using ".So" as the extension for PIC object files rather
John Polstra [Sat, 9 Jan 1999 21:51:00 +0000 (21:51 +0000)]
Switch to using ".So" as the extension for PIC object files rather
than ".so".  The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.

25 years agoshare/examples/kld/misc -> share/examples/kld/syscall
John Polstra [Sat, 9 Jan 1999 21:47:01 +0000 (21:47 +0000)]
share/examples/kld/misc -> share/examples/kld/syscall

Fixes make installworld breakage.

25 years agoOops --<, replace 1.216 with a version that actually check pv_entries (and
Dmitrij Tejblum [Sat, 9 Jan 1999 21:41:22 +0000 (21:41 +0000)]
Oops --<, replace 1.216 with a version that actually check pv_entries (and
was tested for month or two in production).

Noticed by: Stephen McKay

Stephen also suggested to remove the complication at all. I don't do it as
it would be backout of a large part of 1.190 (from 1998/03/16)...

25 years agouptime display more in style with original code
David E. O'Brien [Sat, 9 Jan 1999 20:25:02 +0000 (20:25 +0000)]
uptime display more in style with original code

25 years agoExplicitly look for kzip in /usr/bin, again this is a stopgap, to avoid
Mike Smith [Sat, 9 Jan 1999 20:14:46 +0000 (20:14 +0000)]
Explicitly look for kzip in /usr/bin, again this is a stopgap, to avoid
making kzip a build tool.

25 years agoReally delete the netboot image off the alpha floppy. I think Jordan
Gary Palmer [Sat, 9 Jan 1999 19:14:22 +0000 (19:14 +0000)]
Really delete the netboot image off the alpha floppy. I think Jordan
got his paths confused :)

25 years agoAdd driver support (and man page) for PCI fast ethernet cards based
Bill Paul [Sat, 9 Jan 1999 18:12:08 +0000 (18:12 +0000)]
Add driver support (and man page) for PCI fast ethernet cards based
on the ASIX AX88140A chip. Update /sys/conf/files, RELNOTES.TXT,
/sys/i388/i386/userconfig.c, sysinstall/devices.c, GENERIC and LINT
accordingly.

For now, the only board that I know of that uses this chip is the
Alfa Inc. GFC2204. (Its predecessor, the GFC2202, was a DEC tulip card.)
Thanks again to Ulf for obtaining the board for me. If anyone runs
across another, please feel free to update the man page and/or the
release notes. (The same applies for the other drivers.)

FreeBSD should now have support for all of the DEC tulip workalike
chipsets currently on the market (Macronix, Lite-On, Winbond, ASIX).
And unless I'm mistaken, it should also have support for all PCI fast
ethernet chipsets in general (except maybe the SMC FEAST chip, which
nobody seems to ever use, including SMC). Now if only we could convince
3Com, Intel or whoever to cough up some documentation for gigabit
ethernet hardware.

Also updated RELNOTEX.TXT to mention that the SVEC PN102TX is supported
by the Macronix driver (assuming you actually have an SVEC PN102TX with
a Macronix chip on it; I tried to order a PN102TX once and got a box
labeled 'Hawking Technology PN102TX' that had a VIA Rhine board inside
it).

25 years agoFix Linux compatible mode. ppb_rxxx() calls are chars, inb() is int.
Nicolas Souchu [Sat, 9 Jan 1999 18:10:37 +0000 (18:10 +0000)]
Fix Linux compatible mode. ppb_rxxx() calls are chars, inb() is int.

25 years agoChange /dev/smb and /dev/iic interface to allow user programs to interact with
Nicolas Souchu [Sat, 9 Jan 1999 18:08:24 +0000 (18:08 +0000)]
Change /dev/smb and /dev/iic interface to allow user programs to interact with
devices dynamically. That means,

        + only one /dev/iic or /dev/smb device for each smb/iic bus to access
        + I2C/SMB device address must be given to any ioctl
        + new devices may be plugged and accessed after boot, which was
          impossible previously (device addresses were hardcoded into
          the kernel)

25 years agoFix the disappearing da0 problem.
Nicolas Souchu [Sat, 9 Jan 1999 18:05:46 +0000 (18:05 +0000)]
Fix the disappearing da0 problem.

Submited by: Doug Rabson <dfr@nlsystems.com>

25 years agoRemoved a stray label that broke compiling in the (elf && profiling) case.
Bruce Evans [Sat, 9 Jan 1999 17:29:38 +0000 (17:29 +0000)]
Removed a stray label that broke compiling in the (elf && profiling) case.

PR: 9369
Submitted by: Assar Westerlund <assar@sics.se>

25 years agoRemove a diagnostic message left in by mistake.
Doug Rabson [Sat, 9 Jan 1999 16:50:04 +0000 (16:50 +0000)]
Remove a diagnostic message left in by mistake.

25 years agoRemoved ROOTSLICE_HUNT. The root device is now found better by
Bruce Evans [Sat, 9 Jan 1999 16:28:33 +0000 (16:28 +0000)]
Removed ROOTSLICE_HUNT.  The root device is now found better by
getvfsent() in most cases.  (The main exception is when /etc/fstab
still hasn't been converted to use a slice for the root device, the
root device is a SCSI device, and the /dev/sd* inode for this device
still hasn't been renamed to /dev/da*.)

25 years agoFixed switching between consoles (sc0, vt0 or sioN) in userconfig.
Bruce Evans [Sat, 9 Jan 1999 15:41:49 +0000 (15:41 +0000)]
Fixed switching between consoles (sc0, vt0 or sioN) in userconfig.

Broken in: rev.1.315

25 years agoUse modstat(2) to get the syscall number.
Doug Rabson [Sat, 9 Jan 1999 15:03:06 +0000 (15:03 +0000)]
Use modstat(2) to get the syscall number.

25 years agoImplement a mechanism for a module to report a small amount of module
Doug Rabson [Sat, 9 Jan 1999 14:59:50 +0000 (14:59 +0000)]
Implement a mechanism for a module to report a small amount of module
specific data back to the user via kldstat(2).  Use that mechanism in
the syscall handler to report the syscall number used.

25 years agoReplace the misc example with a simpler syscall example using the new
Doug Rabson [Sat, 9 Jan 1999 14:26:22 +0000 (14:26 +0000)]
Replace the misc example with a simpler syscall example using the new
module registration hooks for syscalls.

Submitted by: Assar Westerlund <assar@sics.se>

25 years agoImplement support for adding syscalls in KLD modules.
Doug Rabson [Sat, 9 Jan 1999 14:15:41 +0000 (14:15 +0000)]
Implement support for adding syscalls in KLD modules.

Submitted by: Assar Westerlund <assar@sics.se>

25 years agoFixed pedantic syntax errors caused by a trailing semicolon in a macro
Bruce Evans [Sat, 9 Jan 1999 14:07:37 +0000 (14:07 +0000)]
Fixed pedantic syntax errors caused by a trailing semicolon in a macro
definition.

25 years agoRemoved the asm version of translate_bytes(). When both the C
Bruce Evans [Sat, 9 Jan 1999 13:50:52 +0000 (13:50 +0000)]
Removed the asm version of translate_bytes().  When both the C
version and the asm version are inlined, and everything is cached,
the asm version is 1.75 times slower than the C version on P5's.
On K6's, it is only 1.25 times slower.

25 years agoRemoved buggy, `#if 0'ed asm version of translate_bytes() instead of
Bruce Evans [Sat, 9 Jan 1999 13:43:09 +0000 (13:43 +0000)]
Removed buggy, `#if 0'ed asm version of translate_bytes() instead of
fixing it.  See rev.1.22 of ../sound/audio.c for fixes.  When both
the C version and the asm version are inlined, and everything is cached,
the asm version is 1.75 times slower than the C version on P5's.  On
K6's, it is only 1.25 times slower.

25 years agoDon't put operands in clobber lists, since this is dubious for old
Bruce Evans [Sat, 9 Jan 1999 13:27:37 +0000 (13:27 +0000)]
Don't put operands in clobber lists, since this is dubious for old
versions of gcc and broken for current versions of egcs.  The asm
here (for translate_bytes()) is now an interesting example of one
that needs to be volatile to work.

Fixed missing "memory" in the clobber list for translate_bytes().

Submitted by: "John S. Dyson" <dyson@iquest.net> but rewritten by me

25 years agoDon't put operands in clobber lists, since this is dubious for old
Bruce Evans [Sat, 9 Jan 1999 13:07:18 +0000 (13:07 +0000)]
Don't put operands in clobber lists, since this is dubious for old
versions of gcc and broken for current versions of egcs.

Cleaned up the asm statement for do_cpuid() a little.

Submitted by: "John S. Dyson" <dyson@iquest.net> but rewritten by me

25 years agoDon't put operands in clobber lists, since this is dubious for old
Bruce Evans [Sat, 9 Jan 1999 13:00:27 +0000 (13:00 +0000)]
Don't put operands in clobber lists, since this is dubious for old
versions of gcc and broken for current versions of egcs.

Submitted by: "John S. Dyson" <dyson@iquest.net> but rewritten by me

25 years agocleanup: remove part of the code for 2.1.
Kenjiro Cho [Sat, 9 Jan 1999 12:56:17 +0000 (12:56 +0000)]
cleanup: remove part of the code for 2.1.

add two functions to get the MAC address of the card.

Obtained from: ALTQ

25 years agorevert to rev 1.29. (floppy drives will be gotten rid of another way)
David E. O'Brien [Sat, 9 Jan 1999 06:03:54 +0000 (06:03 +0000)]
revert to rev 1.29.   (floppy drives will be gotten rid of another way)

25 years agoAdd MLINKS for devstat kernel interfaces.
David E. O'Brien [Sat, 9 Jan 1999 05:09:21 +0000 (05:09 +0000)]
Add MLINKS for devstat kernel interfaces.

25 years ago- Format corrections for troff output
Greg Lehey [Sat, 9 Jan 1999 03:00:01 +0000 (03:00 +0000)]
- Format corrections for troff output
- Comment out the description of the unimplemented replace command
- Explain in even stronger language that resetconfig is not for
  everyday use

  Motivated by:  Marko Schütz <marko@ki.informatik.uni-frankfurt.de>

- Correct the description of the start command (no longer used to
  start vinum, just specific objects)

  Motivated by: dg

- Remove .TH N commands, which conflict badly with the doc macros,
  causing strange headings in nroff output and endless loops in troff.
  The current version produces warning messages with some screen
  sizes, and will be fixed when I have time.

  Bug-report: docs/9328 (nroff)
Reported-by: joerg (troff)
- Add gotcha info for the setupstate keyword and the use of label and
  resetconfig.

- Add bug entry for the warning messages introduced by fixing
  docs/9328.

- Add references to web pages on Vinum

25 years agoAdd the new keyboard driver and video card driver. They will be
Kazutaka YOKOTA [Sat, 9 Jan 1999 02:44:50 +0000 (02:44 +0000)]
Add the new keyboard driver and video card driver.  They will be
used by console drivers.

(They are not yet activated yet.  Wait for announcement later.)

25 years agokzip the loader, this shrinks it to about 60% of its original size.
Mike Smith [Sat, 9 Jan 1999 02:38:40 +0000 (02:38 +0000)]
kzip the loader, this shrinks it to about 60% of its original size.
Note that this is a stopgap with dependancies on the a.out tools.

25 years agoExtend bd_print() so that it displays slices and partitions on disks.
Mike Smith [Sat, 9 Jan 1999 02:36:19 +0000 (02:36 +0000)]
Extend bd_print() so that it displays slices and partitions on disks.

25 years agoAdd a description for 'lsdev' so that it shows up in the '?' display
Mike Smith [Sat, 9 Jan 1999 02:34:48 +0000 (02:34 +0000)]
Add a description for 'lsdev' so that it shows up in the '?' display

25 years agoback out previous commit - it's only part of the required process so
Jordan K. Hubbard [Sat, 9 Jan 1999 01:17:41 +0000 (01:17 +0000)]
back out previous commit - it's only part of the required process so
we might as well automate both steps at once and just leave this off
by default.

Pointed out by: Steve Kargl <sgk@troutmask.apl.washington.edu>

25 years agoAdd Hitachi SH-3, SH-4, ARM, PPC, 68k PA-ARCH and a few others to PE
Warner Losh [Sat, 9 Jan 1999 00:43:27 +0000 (00:43 +0000)]
Add Hitachi SH-3, SH-4, ARM, PPC, 68k PA-ARCH and a few others to PE
file types.  Also add bit interpretation from NetBSD to give more
details about the file.

25 years agoAdios, kzip - you don't work on ELF kernels.
Jordan K. Hubbard [Sat, 9 Jan 1999 00:32:00 +0000 (00:32 +0000)]
Adios, kzip - you don't work on ELF kernels.

25 years agoSneakily make linux=YES by default and hope that nobody notices.
Jordan K. Hubbard [Fri, 8 Jan 1999 23:47:28 +0000 (23:47 +0000)]
Sneakily make linux=YES by default and hope that nobody notices.

25 years agoReplace kget with version which obtains its info from newly added
Andrzej Bialecki [Fri, 8 Jan 1999 21:09:42 +0000 (21:09 +0000)]
Replace kget with version which obtains its info from newly added
sysctl machdep.uc_devlist, instead of /dev/kmem.

25 years agoFix faulty logic in handling userconfig_script, INTRO_USERCONFIG and
Andrzej Bialecki [Fri, 8 Jan 1999 21:00:26 +0000 (21:00 +0000)]
Fix faulty logic in handling userconfig_script, INTRO_USERCONFIG and
RB_CONFIG.

Now, the code should do the right thing in the following cases, when
kernel is compiled with INTRO_USERCONFIG:

* when booted without userconfig_script and without RB_CONFIG, present
  intro screen, and wait for user input.

* when booted with userconfig_script and without RB_CONFIG, DON'T present
  intro screen unless explicitly asked in userconfig_script, basing on
  assumption that if a user loads userconfig_script, (s)he already
  decided what parameters to configure. Proceed with booting.

* when booted without userconfig_script, and with RB_CONFIG, enter
  configuration utility and wait for user input.

* when booted with userconfig_script, and with RB_CONFIG, execute all
  commands from userconfig_script, and DON'T leave the config utility,
  but wait for user input.

And finally, regardless of the combination of the above parameters,
when intro screen is invoked either first or next times, and user
chooses to go back to CLI interface, unblock the quit command.

25 years agoFixed some style bugs. Clarified a comment.
Bruce Evans [Fri, 8 Jan 1999 19:51:02 +0000 (19:51 +0000)]
Fixed some style bugs.  Clarified a comment.

25 years agoUnspammed includes in <machine/cpufunc.h> in the !SMP case. Partially
Bruce Evans [Fri, 8 Jan 1999 19:17:49 +0000 (19:17 +0000)]
Unspammed includes in <machine/cpufunc.h> in the !SMP case.  Partially
unspammed them in the SMP case.

25 years agoDon't allow pointer underrun in loop.
Jordan K. Hubbard [Fri, 8 Jan 1999 18:37:34 +0000 (18:37 +0000)]
Don't allow pointer underrun in loop.

Spotted by: John W. DeBoskey <jwd@unx.sas.com>

25 years agoSplit DIAGNOSTIC -> DIAGNOSTIC, INVARIANTS, and INVARIANT_SUPPORT as
Eivind Eklund [Fri, 8 Jan 1999 17:31:30 +0000 (17:31 +0000)]
Split DIAGNOSTIC -> DIAGNOSTIC, INVARIANTS, and INVARIANT_SUPPORT as
discussed on -hackers.

Introduce 'KASSERT(assertion, ("panic message", args))' for simple
check + panic.

Reviewed by: msmith

25 years agoUSUBCLASS_MODEM -> USUBCLASS_ABSTRACT_CONTROL_MODEL
Eivind Eklund [Fri, 8 Jan 1999 17:25:37 +0000 (17:25 +0000)]
USUBCLASS_MODEM -> USUBCLASS_ABSTRACT_CONTROL_MODEL

Matches the header file change, and makes this compile.

25 years agoMoved declarations related to copying and zeroing to the right place.
Bruce Evans [Fri, 8 Jan 1999 16:29:59 +0000 (16:29 +0000)]
Moved declarations related to copying and zeroing to the right place.

25 years agoSync with sys/i386/isa/sio.c and syscons.c revisions 1.221 and 1.289,
KATO Takenori [Fri, 8 Jan 1999 16:09:23 +0000 (16:09 +0000)]
Sync with sys/i386/isa/sio.c and syscons.c revisions 1.221 and 1.289,
respectively.

25 years agoSync with sys/i386/i386/userconfig.c revision up to 1.120.
KATO Takenori [Fri, 8 Jan 1999 16:05:27 +0000 (16:05 +0000)]
Sync with sys/i386/i386/userconfig.c revision up to 1.120.

25 years agoSync with sys/i386/i386/machdep.c revision 1.320.
KATO Takenori [Fri, 8 Jan 1999 16:04:20 +0000 (16:04 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.320.

25 years agoInstead of providing bad instructions here, point people at the
Eivind Eklund [Fri, 8 Jan 1999 16:04:18 +0000 (16:04 +0000)]
Instead of providing bad instructions here, point people at the
appropriate docs.

Prodded by: Sheldon Hearn <axl@iafrica.com>'s message in -current