Commit Graph

39549 Commits

Author SHA1 Message Date
obrien
b10abbc3c0 Check that user supplied the required argument; and if not, show usage().
Obtained from:	OpenBSD
1999-07-29 09:47:33 +00:00
obrien
ecc95f8e7b * Don't assume realloc() can take NULL as first arg. Yacc needs to
generate portable code...
* Correctly define yyparse() (ie, K&R vs. C++/ANSI-C)

Obtained from:	OpenBSD revs 1.5 & 1.10
1999-07-29 09:42:14 +00:00
des
a041e6bb66 By popular request: Bill Paul's undying words. 1999-07-29 08:48:44 +00:00
obrien
0f208ce6bb YYRECOVERING(), not YYRECOVERING.
Obtained from:	OpenBSD rev 1.8 (approved by Robert Corbett)
1999-07-29 08:47:30 +00:00
obrien
d7c5d95faa Add support for Bison's "%expect <int>" directive.
I originally coded this myself, and now I realize {Net,Open}BSD had already
coded this.  I have tossed my version to reduce diffs between the projects.

Obtained from:	OpenBSD 2.5
1999-07-29 08:42:21 +00:00
peter
e4a8f9d4da GBIOSSTACK_SEL is undefined, but OTOH, BSSSEL apparently isn't used either. 1999-07-29 08:33:00 +00:00
bde
e0dd4f4f32 Removed references to a nonexistent variable. This fixes building kernels
without -O.
1999-07-29 07:14:28 +00:00
bde
11b4b3493e Look for symbols in /modules/*.ko, not in /lkm/*.o. 1999-07-29 07:12:01 +00:00
msmith
9eb6a913ca Remove some duplicate definitions, as suggested by Alan Cox. 1999-07-29 07:10:35 +00:00
msmith
2b81d6a6ed Fix for vmspace sharing as per Alan Cox. Thanks! 1999-07-29 06:48:26 +00:00
brian
6136b590e0 Allow room for editing labels on disks that are >= 10000Mb
Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
1999-07-29 06:28:52 +00:00
jkh
34b40fa57f Don't show fdisk choice on Alpha.
Suggested by:		obrien
1999-07-29 06:23:17 +00:00
msmith
d47ae04f04 Nuke this, it's not used anymore. 1999-07-29 01:52:13 +00:00
mdodd
371aa4e1b9 Fix a typo.
Back out a few lines that I haven't dealt with properly yet.

Snickered at by: Mike Smith
1999-07-29 01:51:49 +00:00
msmith
e495b00d19 Major update to the kernel's BIOS-calling ability.
- Add support for calling 32-bit code in other segments
 - Add support for calling 16-bit protected mode code

Update APM to use this facility.

Submitted by:	jlemon
1999-07-29 01:49:19 +00:00
green
0cee2525fa Remove XXX from the headers (broke the build, I'm betting.) 1999-07-29 01:20:47 +00:00
mdodd
1b3328c300 Alter the behavior of sys/kern/subr_bus.c:device_print_child()
- device_print_child() either lets the BUS_PRINT_CHILD
	  method produce the entire device announcement message or
	  it prints "foo0: not found\n"

Alter sys/kern/subr_bus.c:bus_generic_print_child() to take on
the previous behavior of device_print_child() (printing the
"foo0: <FooDevice 1.1>" bit of the announce message.)

Provide bus_print_child_header() and bus_print_child_footer()
to actually print the output for bus_generic_print_child().
These functions should be used whenever possible (unless you can
just use bus_generic_print_child())

The BUS_PRINT_CHILD method now returns int instead of void.

Modify everything else that defines or uses a BUS_PRINT_CHILD
method to comply with the above changes.

	- Devices are 'on' a bus, not 'at' it.
	- If a custom BUS_PRINT_CHILD method does the same thing
	  as bus_generic_print_child(), use bus_generic_print_child()
	- Use device_get_nameunit() instead of both
	  device_get_name() and device_get_unit()
	- All BUS_PRINT_CHILD methods return the number of
	  characters output.

Reviewed by: dfr, peter
1999-07-29 01:03:04 +00:00
green
0d84c8efb0 8 -> NBBy 1999-07-28 22:27:27 +00:00
green
a8dcdb7b2f Correct a really gross comment format. 1999-07-28 22:22:57 +00:00
se
edb27d9a84 Activate "arc" (ARC / AlphaBIOS loader) on Alpha. 1999-07-28 20:32:44 +00:00
nik
af96d3ba77 Fix some typos.
PR:             docs/11955
Submitted by:   Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-07-28 20:30:59 +00:00
nik
5fb9ea27ca Explicitly list the i/o addresses of the serial ports.
Prompted by docs/12343, in which people seemed to get a little confused.
The original text in the file said:

[...]
# By default we use COM1 as our serial console port *if* we're going to use
# a serial port as our console at all.  (0x3E8 = COM2)
#
#BOOT_COMCONSOLE_PORT= 0x3F8
[...]

From what I can make out, some people have assumed that means that if
they just uncomment the BOOT_COMCONSOLE_PORT then it will use COM2:
These same people then assume that "0x3F8" on that line is a typo for
"0x3E8".

What it actually means is that if you uncomment the line then the default
stays as "Ox3F8" (COM1:), and that you have to uncomment the line, *and*
change the value of the variable in order to use COM2:.

So I've made that a little bit clearer.  I've also listed the hex values
for COM1: thru COM4:, snarfed from sys/isa/isareg.h.

PR:             docs/12343
Submitted by:   Bill Grunfelder <wjgrun@dippy.cyberwar.com>
1999-07-28 20:28:54 +00:00
se
e34ff91e6c This commit was generated by cvs2svn to compensate for changes in r49187,
which included commits to RCS files with non-trunk default branches.
1999-07-28 20:28:47 +00:00
se
159c5d3210 The ARC BIOS / AlphaBIOS specific primary boot loader. This code is the
result of a joined effort with parts contributed by Doug Rabson, Warner
Losh and Stefan Esser (hope I did not forget anybody). Part of the sources
is obtained from NetBSD with modifications.

This code is work in progress:

As of the time of the initial import, a loader.exe executable is built,
which can be loaded on an Alpha with NT only firmware, but no attempt is
made to switch to OSF PAL code as required to start an actual kernel.
1999-07-28 20:28:47 +00:00
msmith
0c57984456 We're called too early to have any idea whether APM is going to be
active or not.  The only sane thing we can do here is assume that if
APM is supported it might be active at some point, and bail.

In reality, even this isn't good enough; regardless of whether we support
APM or not, the system may well futz with the CPU's clock speed and throw
the TSC off.  We need to stop using it for timekeeping except under
controlled circumstances.  Curse the lack of a dependable high-resolution
timer.
1999-07-28 20:22:30 +00:00
msmith
fa00e8d616 Remove unused real-mode APM setup support. We've been using the vm86
mode initialiser for a while now, and it's looking happy.
1999-07-28 20:20:31 +00:00
se
c1498b784a Activate building of elf2exe for MACHINE_ARCH==alpha. 1999-07-28 20:16:49 +00:00
se
7576b7e750 ELF to EXE converter for ARC BIOS / AlphaBIOS booting. 1999-07-28 20:09:52 +00:00
se
f5d4fad82d This commit was generated by cvs2svn to compensate for changes in r49182,
which included commits to RCS files with non-trunk default branches.
1999-07-28 20:09:52 +00:00
msmith
0adfd02044 Remove unused real-mode APM init functions. 1999-07-28 20:07:12 +00:00
brian
61cc9f6d68 Don't return a garbage mbuf pointer after storing it
as an unresolved fragment.
1999-07-28 19:39:00 +00:00
msmith
c35098dcbf Remove some erroneous comments about how APM is initialised. 1999-07-28 19:37:32 +00:00
msmith
05d0b40988 Remove some droppings left over from the removal of the APM hooks. 1999-07-28 19:34:16 +00:00
green
e59fc97cc8 New w ability: you can list multiple users on the command line and it will
match with all of them, rather than only supporting a single user.

PR:		11121
Kinda submitted by:	James Howard <howardjp@byzantine.student.umd.edu>
Reviewed by:		DES
1999-07-28 19:29:46 +00:00
n_hibma
ac442754a7 bc core dumped when a value with between 128 and 255 (mod 256) digits
was entered.

PR:		12550
Submitted by:	Vladimir Tchoukharev chu@gpi.ru
Reviewed by:	Phil Nelson <phil@cs.wwu.edu> (maintainer of bc)
1999-07-28 17:58:12 +00:00
sheldonh
526b94a315 Fix typo: sofware -> software.
PR:	12837
Submitted by:	Norihiro Kumagai <kuma@jp.freebsd.org>
1999-07-28 13:33:36 +00:00
davidn
92f725d0a6 Remove some more warnings. 1999-07-28 12:49:34 +00:00
ru
d9756ac21a Become a maintainer.
Approved by:	brian
1999-07-28 08:50:42 +00:00
ru
d4af6c2191 Back out previous commit. 1999-07-28 08:38:26 +00:00
alc
1f3845a859 Clear error in nfsrv_create when we have a valid reply so that
that reply is actually transmitted.
Submitted by:	dillon
1999-07-28 08:20:49 +00:00
dfr
37dec27558 Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are
equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual()
address of the resource is initialised to point into either dense-mapped
or bwx-mapped space respectively, allowing direct memory pointers to be
used to device memory.

Reviewed by: Andrew Gallatin <gallatin@cs.duke.edu>
1999-07-28 07:57:48 +00:00
obrien
ebe74fdfd5 Use Yacc rather than Bison. 1999-07-28 07:22:08 +00:00
obrien
a4b8ba086c The Unix way is arguments come before an input file name, not after. 1999-07-28 07:19:38 +00:00
obrien
0beb705ee7 Correctly refer to the companion program rather than as "chown".
Clean up wording a little (like I have any idea what real English looks like...)
1999-07-28 04:28:05 +00:00
obrien
4bcf1a9e39 Go back to allowing ``.'' as a username.group separator for backward
compatibility.  : is still the documented non-ambiguous approach.  The
algorithm used will correctly parse david.obrien.staff as strrchar() is
used, and in my mind more people would use a ``.'' in the username than
the group name.

Convinced by argument and patch by: sheldonh (with slight changes by me)
1999-07-28 04:26:10 +00:00
brian
5245387bb3 Fix a load of typos
Use sizeof, not a hardcode value.

Some of it submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
1999-07-28 03:01:52 +00:00
wpaul
93b3dc59cd Add a module Makefile for the PNIC driver. 1999-07-28 02:21:56 +00:00
wpaul
68e5873c40 Convert the PNIC driver to newbus. 1999-07-28 02:19:52 +00:00
brian
0e42efbef0 Show how to use the new filter capabilities
Mostly submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
1999-07-27 23:44:29 +00:00
brian
c91d3bd70a o Overhaul filtering, adding facilities to jump over rules and to
negate the sense of rules.
o Remove the redundant (and undocumented) ``host'' and ``port''
  words (README.changes updated).
o Don't permit (and ignore) garbage instead of the protocol.

Mostly submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
1999-07-27 23:44:00 +00:00