Commit Graph

20686 Commits

Author SHA1 Message Date
phk
fc10d8f0c7 Sanitize APM a bit. Convert various #ifdef to id_flags instead.
You may want to add "flags 0x31" to apm0 if you have a lousy
implementation.  Read LINT.
1997-03-29 11:07:12 +00:00
bde
29f905f3b2 Use new mount args (mount "ufs" instead of MOUNT_UFS).
vnconfig doesn't seem to be in Lite2, although dev/vn is.  The Lite2
merge in userland has converted all mount calls except this one and
one for devfs in init, so we can drop support for old mount args soon.

Vnconfig probably shouldn't support mounting - it only supports ufs.
1997-03-29 11:01:54 +00:00
peter
2b25d3ca61 Fix the warning when compiling the SYSINIT hook due to function types. 1997-03-29 10:50:27 +00:00
peter
c83cf31c04 Forgot $Id$, break a long line 1997-03-29 10:48:49 +00:00
peter
13c8fe24a7 Add a Makefile for regenerating the syscall tables 1997-03-29 10:45:39 +00:00
peter
471b960858 Don't use these that were generated on a foreign system, generate our own. 1997-03-29 10:36:49 +00:00
peter
2dffd9b51d generate c-exp.c, f-exp.c and m2-exp.c with yacc rather than using
the generated ones in the gdb dist.
1997-03-29 10:33:13 +00:00
peter
34b7382753 Protect against multiple inclusion (All the CFLAGS+= items make the cc
command lines get rather long).  (bsd.lib.mk is particularly bad at this)
1997-03-29 10:29:40 +00:00
jkh
4035aab1d3 Catch this puppy up to RELENG_2_2 1997-03-29 06:44:57 +00:00
bde
423123bb4c Don't keep cpu interrupts enabled during the lookup in vm_page_zero_idle().
Lookup isn't done every time the system goes idle now, but it can still
take > 1800 instructions in the worst case, so if cpu interrupts are kept
disabled then it might lose 20 characters of sio input at 115200 bps.

Fixed style in vm_page_zero_idle().
1997-03-29 04:35:26 +00:00
imp
141381e1cb compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
imp
167db52912 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 03:33:12 +00:00
kato
acc1b708c1 Synchronize with sys/i386/i386/machdep.c revision 1.233. 1997-03-29 02:48:49 +00:00
kato
9fee161999 Synchronize with sys/i386/isa/syscons.c revision 1.207. 1997-03-29 02:46:28 +00:00
kato
3b44833e50 Synchronize with sys/i386/isa/isa.c revision 1.80. 1997-03-29 02:43:49 +00:00
jdp
a58153ffe1 Support the ".p2align" directive, which is standard in newer versions
of binutils.  For all architectures and object file formats,
".p2align n" aligns to the next multiple of 2**n.  Thus for FreeBSD,
it does exactly the same thing as the traditional ".align".

The old ".align" directive has different meanings in different
object formats, and even in different variants of a.out.  Sometimes
is aligns to a multiple of n, and other times it aligns to a multiple
of 2**n.  ".p2align" is preferable for use in assembly language
sources, since it makes them more portable to object formats other
than a.out.
1997-03-29 02:16:44 +00:00
phk
e0c6c153a3 Don't break the nice symmetry of these messages with undue '>' chars. 1997-03-28 18:40:24 +00:00
phk
5cb2f4595c Try to talk to the APM BIOS with version 1.2 if possible. 1997-03-28 18:38:19 +00:00
hanai
defe43f62e Correct the typo, /heading>', to </heading>'.
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1997-03-28 16:15:08 +00:00
imp
3125d931c2 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-28 15:48:21 +00:00
imp
054f35c222 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-28 15:24:41 +00:00
wosch
3ad19c4ae3 Add ac which check if the FreeBSD handbook is in sync with the committers list 1997-03-28 14:40:39 +00:00
peter
78634ace4c Make this compile after the fsirand changes that deleted two fields.
I was not sure whether the fs_id fields should be printed in the clear
in case of sniffing over a network login etc.  It might be an idea
to have somebody with spare time go through and find any other missing
fields that should be reported.

Definate 2.2.x/2.1.x candidate since it breaks the build.
1997-03-28 13:06:59 +00:00
bde
88669bfdf1 Added a setjmp() and a longjmp() so that an unexpected trap inside
ddb isn't necessarily fatal.  You can now do silly things like
`call vprint' and `show map' without losing control.
1997-03-28 12:56:07 +00:00
bde
743b3751bf Backed out rev.1.5. if %cs is bad, %eip may be bad, but this is no longer
fatal.
1997-03-28 12:46:52 +00:00
bde
b0b8f0ac08 Added a setjmp() so that an initial pc that points to unmapped memory
isn't fatal.  Backed out rev.1.6, which handled special cases of this.
1997-03-28 12:39:43 +00:00
joerg
2558d1ad63 Something long overdue: compile inb() and outb() into the kernel as
functions if DDB is available.  The remaining occurences are usually
only inlined and thus not available in DDB.

I'm sure Bruce will have 23 additions to these 30 lines of code, but
at least it's a starting point. ;-)
1997-03-28 12:37:44 +00:00
bde
4003214ed8 Fixed #includes in synopsis to compile.
Fixed #includes in synopsis to declare the prototype in the synopsis.
Fixed stale types in description of struct dirent.
1997-03-28 12:27:42 +00:00
yokota
63119c4a9f Interim patch/kludge for keyboard lock-up when `kbdcontrol' tries to
change typematic rate, or the X server (XFree86 or Accelerated X)
starts up.

So far, there have been two independent reports from Dell Latitude XPi
notebook/laptop owners. The Latitude seems to be the only system which
suffers from this problem.  (I don't know the problem is with the
entire Latitude line or with only some Latitude models) No problem
report has been heard about other systems (I certainly cannot
reproduce the problem in my -current and 2.2 systems).

In 3.0-CURRENT, 2.2-RELEASE and 2.2-GAMMA-970310, when programming the
keyboard LED/repeat-rate, `set_keyboard()' in `syscons' tells the
keyboard controller not to generate keyboard interrupt (IRQ1) and then
enable tty interrupts, expecting the keyboard interrupt doesn't occur.

It appears that somehow Latitude's keyboard controller still generates
the keyboard interrupt thereafter, and `set_keyboard()' doesn't see
the return code from the keyboard because it is consumed by the
keyboard interrupt handler.

The patch entirely disables tty interrupts while setting LED and
typematic rate in `set_keyboard()', making the routine behave more
like the previous versions of `syscons' (versions in 2.1.X and
2.2-ALPHA, -BETA, and some -GAMMAs). The reporter said this patch
eliminated the problem.

(I also found another typo/bug, but the reporter and I found that it
wasn't the cause of the problem...)

This should go into RELENG_2_2.
1997-03-28 10:11:24 +00:00
jdp
a310835bda Change a "=" to "?=" to make it easier to override the binary format
from the environment.
1997-03-28 04:45:30 +00:00
ache
3adaa3c5d0 Remove recently commited support for iobase == -2 ("port none")
is is really probe routine task (return -1 for no ports)
1997-03-28 01:02:17 +00:00
ache
bcbc3df8b0 Remove support for "port none" and "port auto", it gains nothing,
non-standard and not used. "port auto" is equal to "port?" or missing "port"
keyword now. "port none" is really probe routine task (return -1 for
no ports).
1997-03-28 00:56:11 +00:00
guido
8db0f5f4fd Add code that will reject nfs requests in teh kernel from nonprivileged
ports. This option will be automatically set/cleraed when mount is run
without/with the -n option.
Reviewed by:	Doug Rabson
1997-03-27 20:01:07 +00:00
mpp
223d4ca2d3 Update HISTORY to reflect that this will first appear in 2.2.5. 1997-03-27 18:47:05 +00:00
mpp
df9784adc5 The w+ entry description was misformatted.
Pointed out by: bde
1997-03-27 18:08:23 +00:00
davidn
57689e09a5 Fix for logic in no-password accounts. 1997-03-27 10:09:09 +00:00
ache
03c5e9fbba Fix length-related bugs
Submitted by: Choi Jun Ho <choi.junho@jazz.snu.ac.kr>
1997-03-27 03:07:25 +00:00
peter
24b9a00306 Add Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> 1997-03-27 02:57:53 +00:00
peter
bce2ebb937 Fix "-fstype local" that was broken by another bugfix in the Lite2 merge.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3076
1997-03-27 02:36:26 +00:00
jkh
6b898a8b98 YAMF22 1997-03-27 01:44:11 +00:00
jkh
f40d7504a2 Sync with 2.2 1997-03-27 01:05:17 +00:00
mpp
831b437059 Typo fix (now how did that one get by me :-).
Submitted by:	Philippe Charnier
1997-03-27 00:27:50 +00:00
obrien
a58719acdf FreeBSD modifications and notes for GNU cpio. 1997-03-26 20:01:24 +00:00
guido
4763d0a981 Get rid of __progname. I thought I already did that... 1997-03-26 19:07:54 +00:00
obrien
4c9cebcc51 make usage() and SYNOPSIS agree with each other and add missing options
documented in the DESCRIPTION section.
1997-03-26 17:48:40 +00:00
ache
3e779d8c7b Add "conflicts" to sbmidi0 since configured irq passed back to isa
and conflict with sb0 irq.

NOTE: existen configurations require "conflicts" adding to sbmidi0 now
1997-03-26 17:46:03 +00:00
ache
e3fc34456c Check sb0 configured in probe routine first
Pass configured irq back to isa
1997-03-26 17:41:16 +00:00
ache
15f60c2c3e Add "conflicts" to sbxvi0 since all information now passed to isa
and conflict with sb0 happens.

NOTE: it affects existen configurations, add "conflicts" to sbxvi0 line
if you see probe error
1997-03-26 17:20:24 +00:00
ache
662f18df96 Pass configured irq and ports number back to isa 1997-03-26 17:14:21 +00:00
ache
a3dd619a17 Allow low level probe routine pass configured information back to isa 1997-03-26 17:12:31 +00:00