Commit Graph

32187 Commits

Author SHA1 Message Date
nsouch
39b3c82b22 abort imm init if can't disconnect from drive 1998-10-02 20:44:58 +00:00
luigi
8d4824c432 Update the pcm driver to the most recent version. This should
add support for Vibra16X, OPTi925, and bring in several assorted
fixes to the code and documentation.
Also present here are apm hooks so that laptops can properly
reconfigure the hardware after suspend (tested on the Libretto50).
Reviewed by: jordan
1998-10-02 17:26:37 +00:00
phk
5df5f0b107 s/Lesp/Leap/
Caused by:	packet loss to freefall
1998-10-02 17:08:35 +00:00
msmith
bcb24d714a Set $currdev according to our best guess at the BIOS device that the previous
bootstrap loaded us from.
1998-10-02 16:33:43 +00:00
msmith
a7e19924ad aout_freebsd.c
Use bd_getdev() to work out a dev_t for the root device.
	Allow $rootdev to override $currdev as the root device.

biosdisk.c
	Save the slice table and disklabel when opening a disk.
	Add bd_getdev(), which attempts to return a dev_t corresponding
	to a given device.  Cases which it still doesn't get right:
	 - The inevitable da-when-wd-also-exists
	 - Disks with no slice table (the slice number is not set correctly)
	The first is difficult to get right, the second will be
	fixed in an upcoming commit.

comconsole.c
vidconsole.c
	getchar() should return an 8-bit value; some BIOSsen pack extra
	information in %eax.

libi386.h
	Remove some stale prototypes, add new ones.
1998-10-02 16:32:45 +00:00
msmith
4e9232983b Mark exit() as __attribute__((__noreturn__)) 1998-10-02 16:22:54 +00:00
msmith
9844efc6b7 boot.c
Increase the robustness of the "is it time to boot yet" test;
	if the time skipped the "when" time, we would miss it.
	Don't spin in an endless loop if we don't find the first possible
	kernel suggested.  When we run out, don't try to load an empty
	kernel name.

load_aout.c
	printf format warnings
1998-10-02 16:22:26 +00:00
ache
a9d48ca059 space/tab problem 1998-10-02 13:01:59 +00:00
ache
d81b1cb7aa back out h2ph from here, Bruce found another proper place 1998-10-02 13:00:58 +00:00
jkh
05dbeba5a7 Add crunch back to general targets. 1998-10-02 11:31:36 +00:00
jkh
98f9e88894 Temporary use different stubs for the ECOFF case; I'm trying to get this
to build on the alpha, first off.
1998-10-02 11:30:07 +00:00
jkh
d930f627e8 Add documentation for tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:24:38 +00:00
jkh
cc238ccf3e Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
peter
a79bd7a693 First shot at loading elf symbols. Things are a bit strange because
of the ..umm.. "wierd" way binutils lays out the file.  The section
headers are nearly at the end of the file and this is a problem when
loading from a .gz file which can't seek backwards (or has a limited
reverse seek, ~2K from memory).

This is intended to be compatable with the ddb/db_elf.c code and the
alpha/libalpha/elf_freebsd.c layout.  I've studied these (which are NetBSD
derived) but did it a bit differently.  Naturally the process is similar
since it's supposed to end up with the same result.
1998-10-02 08:04:56 +00:00
obrien
5a6b93580f Install z*grep manpages 1998-10-02 07:14:32 +00:00
ken
555e391274 Modify the changer driver so it can handle (hopefully!) changers that need
block descriptors enabled on mode sense commands.

Basically, we try sending a mode sense with block descriptors disabled (the
previous default), and if it fails, we try sending the mode sense with
block descriptors enabled.  If that works, we note that in a runtime quirk
entry, so we don't bother disabling block descriptors again for the device.

This problem was first reported by Chris Jones <cjones@honors.montana.edu>
on one of the NetBSD lists, but I'd imagine that some FreeBSD users would
have run into it eventually as well, since our changer driver is derived
form the NetBSD changer driver.

Also, change some of the probe logic so that we do the right thing in the
case of a failure to attach.

Fix a memory leak in chgetparams().

Add a couple of inline helper functions to scsi_all.h to correctly return
the start of a mode page.

NetBSD PR:	kern/6214
Reviewed by:	gibbs
1998-10-02 05:25:49 +00:00
ken
c19e09786a Patches from DES to create three new kernel config options to control
timeouts in the SA driver (timeouts for space, rewind and erase).  Folks
can lengthen the timeouts if their hardware is especially slow, or shorten
them if they want to be notified of errors a little sooner.

Also, get rid of two OD driver options.  The od driver has been made
obsolete by the da driver.

Reviewed by:	ken, gibbs
Submitted by:	Dag-Erling Coidan Smørgrav <des@FreeBSD.ORG>
1998-10-02 05:15:51 +00:00
msmith
7d178bc52e Define KLD_MODULE if building a KLD module.
Forgot to mention that the previous commit was
Submitted by:	Doug Rabson <dfr@freebsd.org>
1998-10-02 05:08:09 +00:00
msmith
51d91e56f1 Changes to support building of KLD modules. This includes the possibly
to be removed KMODDEPS define.
1998-10-02 04:51:10 +00:00
imp
5f8a3330ca GC unused stuff. 1998-10-02 04:37:49 +00:00
yokota
0ed89e499b A size field returned by the VESA BIOS is already expressed in bytes.
Submitted by: sos
1998-10-02 03:42:19 +00:00
gibbs
4b4461e1d2 Remove a spurious, but benign statement.
Correct some panic and printf strings that referenced the 'bt' driver.
I should be more careful when I Cut 'n Paste.
1998-10-02 03:40:53 +00:00
ache
075825e3cb add /usr/share/perl/man 1998-10-02 01:06:30 +00:00
ache
b699bd66cd Add h2ph call to afterinstall target
Error code ignored to allow building without perl installed
1998-10-02 00:49:43 +00:00
ken
8bb1ed55dd Fix 'chio params' so that it actually prints out the current picker.
(This was broken when the volume tag changes went in.)

Submitted by:	Josef Karthauser <joe@pavilion.net>
1998-10-01 23:30:14 +00:00
obrien
c9a04630c0 Use lpr' vs. lp' to print
Add "ESC-Enter: exit" message to the emacs binding info window.
1998-10-01 21:18:18 +00:00
ache
178783efed Restore static of sc_flags.
Restore set_destructive_cursor prototype.
1998-10-01 21:04:52 +00:00
jdp
317967a273 Fix a bug in which a page index was used where a byte offset was
expected.  This bug caused builds of Modula-3 to fail in mysterious
ways on SMP kernels.  More precisely, such builds failed on systems
with kern.fast_vfork equal to 0, the default and only supported
value for SMP kernels.

PR:		kern/7468
Submitted by:	tegge (Tor Egge)
1998-10-01 20:46:41 +00:00
jlemon
9fb6dbbc14 Don't try to save FP state if npxproc is null.
Submitted by:	Tor Egge
1998-10-01 20:45:28 +00:00
phk
d7482b5621 INTERNATIONAL EARTH ROTATION SERVICE (IERS)
SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE

BUREAU CENTRAL DE L'IERS
OBSERVATOIRE DE PARIS
61, Av. de l'Observatoire 75014 PARIS (France)
Tel.      : 33 (0) 1 40 51 22 26
FAX       : 33 (0) 1 40 51 22 91
Internet  : iers@obspm.fr
                                              Paris, 17 July 1998

                                              Bulletin C 16

                                              To authorities responsible for
                                              the measurement and distribution
                                              of time

                                   UTC TIME STEP
                            on the 1st of January 1999

       A positive leap second will be introduced at the end of December 1998.
       The sequence of dates of the UTC second markers will be:

                          1998 December 31,     23h 59m 59s
                          1998 December 31,     23h 59m 60s
                          1999 January   1,      0h  0m  0s

  The difference between UTC and the International Atomic Time TAI is:

  from 1997 July 1,    0h UTC, to 1999 January 1, 0h UTC  : UTC-TAI = - 31s
  from 1999 January 1, 0h UTC, until further notice       : UTC-TAI = - 32s

       Leap seconds can be introduced in UTC at the end of the months of
 December or June, depending on the evolution of UT1-TAI. Bulletin C mailed
 every six months, either to announce a time step in UTC, or to confirm that
 there will be no time step at the next possible date.

                                              Daniel GAMBIS
                                              Director
                                              Central Bureau of IERS
1998-10-01 20:42:03 +00:00
dt
0c8d2e9dfc Backed out "fix for PR 7575". It was bogus. 1998-10-01 19:40:27 +00:00
msmith
39357ea35d Remove lpt1 - we have userconfig if you have a weird port.
Remove mse0 - the Microsoft Bus Mouse is a dinosaur.  There are probably
              more Pintos on the road than these on peoples' desks.
1998-10-01 19:35:28 +00:00
msmith
716c2dc2ad Pass the '-n' flag to route(8) when setting up/tearing down the default
route.  If your nameserver config is wrong, this will otherwise hang for
the default resolver timeout (75 seconds), leading people to think that
the system has hung.
1998-10-01 19:26:02 +00:00
markm
d1cf67d6d8 Fix default location of *.ph file install.
Asked-for-by: ache
1998-10-01 19:17:58 +00:00
markm
eac014cf49 Whitespace cleanup. Probable patch cut 'n paste. 1998-10-01 19:16:20 +00:00
msmith
ca4a8b6a69 Remove the bi_vesa field, as vesa modeswitching is no longer performed
by the bootblocks.
1998-10-01 18:25:04 +00:00
msmith
f1febe76b2 Pass the BIOS unit number from which the kernel/loader was obtained in
the bootinfo struct so that it can be reused later.
1998-10-01 18:22:52 +00:00
msmith
c0b467b849 Prune unused zalloc components as recommended by Matt Dillon. Extra debugging
code is still enabled (it's not very expensive).
1998-10-01 17:35:08 +00:00
jkh
d6f6d292c4 Add libdisk back to alpha build. 1998-10-01 14:49:57 +00:00
jkh
e560d1324f Add syscons back to alpha build; works fine now. 1998-10-01 14:48:58 +00:00
yokota
486dcc0575 Fix typo.
PR: kern/8118
Submitted by: Sheldon Hearn
1998-10-01 11:48:38 +00:00
yokota
b500f8edcc - Express various sizes in bytes, rather than Kbytes, in the video
mode and adapter information structures.
1998-10-01 11:40:22 +00:00
yokota
3d34bf047b Yet another round of fixes for the VESA support code.
- Express various sizes in bytes, rather than Kbytes, in the video
  mode and adapter information structures.
- Fill 0 in the linear buffer size field if the linear frame buffer
  is not available.
- Remove SW_VESA_USER ioctl. It is still experimetal and was not meant
  to be released.
- Fix missing cast operator.
- Correctly handle pointers returned by the VESA BIOS. The pointers
  may point to the area either in the BIOS ROM or in the buffer supplied
  by the caller.
- Set the destructive cursor at the right moment.
1998-10-01 11:39:18 +00:00
jkh
5b11e52736 Override STRIP so installation doesn't try to strip the loader. 1998-10-01 09:57:09 +00:00
sos
5093f1ad5b Oops, forgot /* */ around Id string 1998-10-01 09:35:48 +00:00
jkh
5d8082b6bf Urk!! At some point, CFLAGS got set to -O2 rather than -O (which
has always been our "recommended optimization flag") and this causes
problems on the Alpha in addition to being generally wrong.
Noticed by:	dfr
1998-10-01 09:27:02 +00:00
imp
14a7c9e318 Misc cleanup and probe rework:
o Use the board id command to find out what kind of board
	  we're talking to.  If we're talking to a board that is has
	  an ID that is shared between boards supported by the aha
	  driver and the bt driver, then use the bt's geometry
	  register to weed out the bt cards.  Otherwise assume that we
	  support this card.
	o Remove bt esetup command sending to the card.  It seems to
	  wedge too many cards.
	o Revert to doing a soft reset after an invalid command.  This
	  change didn't fix anything, so I'm backing it out.  The
	  whole issue of card resetting needs to be revisisted at some
	  point so that we can do it properly on all hardware.
	o GC unused stuff in some places.
1998-10-01 04:53:55 +00:00
peter
67498e0651 Make 'make install' do something that might be useful. 1998-09-30 22:37:47 +00:00
peter
2a56913e23 Stop libi386.a from being installed.. 1998-09-30 22:36:45 +00:00
jkh
8d37011292 Add /boot, while I happen to be thinking about it. 1998-09-30 22:27:27 +00:00