Commit Graph

30749 Commits

Author SHA1 Message Date
bde
c76f23e6f5 Removed support for FreeBSD-1.x. 1998-08-12 18:32:42 +00:00
bde
6fb3ce7cbf Fixed printf format errors.
Removed support for FreeBSD-1.x.
1998-08-12 18:16:38 +00:00
bde
73e732d5ac Removed unused includes. 1998-08-12 18:02:48 +00:00
bde
46f6c3b3db Synced with dgb.c. Important changes from 1.29 (ioctl handling
was broken), 1.30 (COMPAT_43 option header was missing), 1.31 (DEVFS
option header was missing), 1.33 (garbage pointers were followed
in debugging code).  Cosmetic changes from 1.27, 1.32, 1.36, 1.37.

Of course, the DEVFS code didn't even compile.  Fixed.  Not tested.

Forgotten by: brian

This file should not exist.  It is the same as dgb.c except for lots of
renamed variables, about 250 lines removed, and only about 100 lines of
real differences.
1998-08-12 17:38:09 +00:00
bde
e215c582a4 Fixed printf format errors.
This file is disgusting.
1998-08-12 16:16:10 +00:00
jkh
dc8245893d Bump this one more time before going on a witch hunt for space. 1998-08-12 11:49:22 +00:00
jkh
42ea1a18e9 Bring proflibs distro back from the dead - taught about BINFORMAT. 1998-08-12 11:43:24 +00:00
des
53a13012b5 Add missing .TP in "INTERACTIVE MODE" section. 1998-08-12 10:38:37 +00:00
wosch
dbdb393361 Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
asami
c9478dae17 Merge 1.227.2.45 (perl version substitution in PLIST). 1998-08-12 09:47:47 +00:00
dfr
1ce8df28ac Modify the internal interfaces to the kernel linker to make it possible
for DDB to use its symbol tables.
1998-08-12 08:44:21 +00:00
charnier
cffb56f20c Forgot to remove a ';' in my previous commit. 1998-08-12 06:07:43 +00:00
jdp
f0c83d6638 Add "-aout" option when calling the linker, so that this will work
in an ELF world.  This will have to be revisited when the kernel
moves to ELF.
1998-08-12 02:39:23 +00:00
asami
88c125c531 Merge 1.227.2.44. 1998-08-12 01:47:47 +00:00
bde
5b26ffd8b0 Removed a bogus ifdef that broke using SWI_* in LKMs.
Fixed a comment.
1998-08-11 19:21:17 +00:00
bde
67bcdce4a0 Fixed printf format errors (ntohl() returns in_addr_t = u_int32_t != long
on some 64-bit systems).  print_ip() should use inet_ntoa() instead of
bloated inline code with 4 ntohl()s.
1998-08-11 19:08:42 +00:00
brian
8ee6e5166c Be careful about using ``.Bd -literal'' as groff sometimes keeps
the `-literal' after the closing .Ed.
Where this happens, use ``.Bd -unfilled'' with ``.It Li'' to dodge
the problem - it looks better too.
Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>
1998-08-11 18:59:36 +00:00
bde
c40923fd37 Don't depend on "implicit int". 1998-08-11 17:22:42 +00:00
bde
088be0f1b3 Register tty software interrupt handlers at run time using register_swi()
instead of at compile time using ifdefs.

Use _swi_null instead of dummycamisr.  CAM and dpt should call
register_swi() instead of hacking on ihandlers[] directly.
1998-08-11 17:01:32 +00:00
bde
c8958abf40 Fixed printf format errors. 1998-08-11 16:06:10 +00:00
bde
79065e3102 Implemented dynamic registration of software interrupt handlers. Not
used yet.

Use dummy SWI handlers to avoid some checks for null pointers.
1998-08-11 15:08:13 +00:00
dfr
1e3ae169ea Add code from NetBSD to print CIA capabilities and try to detect Pyxis bugs. 1998-08-11 08:51:09 +00:00
des
0b235a1969 Make /etc/security bitch about passwordless accounts.
Use awk -F: rather than 'BEGIN {FS=":"}'
1998-08-11 08:48:54 +00:00
dfr
8ccc09809b Sync with i386/isa/diskslice_machdep.c 1.31. 1998-08-11 07:17:36 +00:00
jkh
8a79899cbb Bump BOOTINODE value a bit more. 1998-08-11 03:59:12 +00:00
bde
9919307c83 Fixed null setting of multiple wakeup prevention variable.
Fixed printf format errors.
1998-08-10 20:47:22 +00:00
brian
7af720c752 Add Id keyword. 1998-08-10 19:54:12 +00:00
brian
362071b38d Don't blat /var/run and /var/spool/lock *after* network_pass1()
unless /var is nfs-mounted.
This was removing ppps device lock (when ppp's started in
/etc/start_if.tun0 in -ddial or -dedicated mode) and allowing
other programs (such as mgetty) to confuse ppp by playing with
the modem while ppp's using it.

People that nfs-mount /var had better not start ppp in this
way....
1998-08-10 19:53:50 +00:00
brian
d09cdefa02 Cosmetic MF2.2: Add a missing (commented) parenthesis. 1998-08-10 19:53:22 +00:00
wpaul
5baabbaea1 DNS lookups for partially qualified hosts didn't work right. I was trying
to be clever by avoiding the 'check all domains in the search list'
cycle in certain cases, but this would lose if handed a name like
"foo.ctr" which refers to an FQDN of "foo.ctr.columbia.edu". If
"columbia.edu" is in the search list in /etc/resolv.conf then the
DNS lookup code should resolve it, but it didn't.
1998-08-10 19:43:33 +00:00
bde
de821344ae Fixed restoring of cpl after trap handling. The wrong cpl (SWI_AST_MASK
instead of 0) was "restored" after handling a trap that occurred while
returning to user mode.  This bug was most noticeable for VM86 and is
still detected and fixed up (on return from the next exception) in doreti
if VM86 is configured.
1998-08-10 19:41:07 +00:00
bde
ce5383a704 Use [u]intptr_t instead of [unsigned] long to convert and/or represent
pointers.

This finishes fixing conversions between pointers and integers of
possibly different sizes in GENERIC.
1998-08-10 17:21:49 +00:00
bde
72ba1a7836 Hide compiler warnings for casting from a long to a pointer of a
different size (on i386's with 64 bit longs).  Cosmetic.  Non-cosmetic
unportabilities were already hidden by using ntohl() to convert a
32-bit user DMA address to a long.
1998-08-10 17:06:28 +00:00
kato
d6edd353ef Sync with sys/i386/isa/syscons.c revision 1.273. 1998-08-10 16:56:53 +00:00
kato
c50d98a69e Sync with sys/i386/isa/diskslice_machdep.c revision 1.31. 1998-08-10 16:55:54 +00:00
kato
bd86e0ea4d Sync with sys/i386/conf/majors.i386 revision 1.45. 1998-08-10 16:54:47 +00:00
kato
4f13deec96 Sync with sys/i386/conf/options.i386 revision up to 1.84. 1998-08-10 16:54:09 +00:00
bde
7ce3ad02a0 Fixed the formatting of some tables (mainly the one produced by ps
in ddb) which I broke by changing %8[l]x to %8p.  Hacked the central
printf routine to not add an "0x" prefix for %p formats if the field
width is nonzero.  The tables are still horribly misformatted on
64-bit machines.

Use %p instead of %8p to print pointers when the field width isn't
important.
1998-08-10 14:27:34 +00:00
thepish
baef4173f4 PR: 7522
Correct bug in the inverse operator optimisation code which caused segv
on ! without a following expression.
1998-08-10 10:29:11 +00:00
phk
09b1b2bcde Add devices for M-systems DiskOnChip 1998-08-10 10:17:46 +00:00
phk
cda9cb7dcf I have been running with these locale data for a while now and
I hope some other people might find them useful. They are for
zh_CN.EUC (GB) only. I'm not familiar with the BIG5 encoding,
so I could only hope someone else would fill the gap.

PR:		7310
Submitted by:	Luoqi Chen <luoqi@chen.ml.org>
1998-08-10 09:49:42 +00:00
phk
7db8300645 Reserve majors for M-Systems DiskOnChip driver. This driver will be
available directly from M-systems.
1998-08-10 09:06:21 +00:00
yokota
455be19056 - Added SC_BAD_FLICKER for syscons.
- Added the flag 0x40 (quiet bell) for syscons.
1998-08-10 08:40:27 +00:00
yokota
84cd1e0489 A workaround for screen flicker; eliminate some I/O access to the VGA
chip.

It has been observed that the problem is most apparent:

a) in notebook computers,
b) and/or in the systems with C&T video chips.

Define the new configuration option SC_BAD_FLICKER in the kernel
configuration file to remove outb()/outw() calls in question.
1998-08-10 08:39:19 +00:00
dfr
14fa8c272d Lots of changes, including:
* Support for AlphaStation 200, 250, 255, 400
* Untested support for UDB, Multia, AXPpci33 (Noname)
* Support for Personal Workstation 433a/433au, 500a/500au, 600a/600au (Miata)
* Some minor fixes and improvements to interrupt handling.

Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> (AS200, Miata)
Obtained from: NetBSD (some code for AS200, Miata, Noname)
1998-08-10 07:53:59 +00:00
phk
23105313ec The machine dependent disk slice manager does not recognize
DOS partition type 15 (Extended DOS, LBA) as a container for
DOS logical volumes, so the appropriate slices (e.g. sd1s5)
are not initialized.

PR:		7549
PR:		4120
Reviewed by:	phk
Submitted by:	Jim Mattson <jmattson@sonic.net>
1998-08-10 07:22:14 +00:00
imp
8ecdefb50d Use us rather than ns, pre recent commits 1998-08-10 06:54:52 +00:00
imp
e0837bdf6b Add an emacs enhanced keyboard layout.
Submitted by: Rob Austein <sra@epilogue.com>
1998-08-10 06:51:47 +00:00
sos
e1d8ed486c Support the PAL version of the BT878 based Haupauge WinTV/PCI.
Submitted by: Matthias Scheler <tron@netbsd.org>
1998-08-10 06:39:33 +00:00
obrien
418d269d86 I presume Satoshi wanted `uname -r'' for OSREL not `uname -s''
Found by:	gcc28 port
1998-08-10 04:02:50 +00:00