Commit Graph

37189 Commits

Author SHA1 Message Date
luoqi
f25dfb79ea Work around an egcs optimizer bug (i386). This should fix the active ftp
hang problem. A bug report has been sent to cygnus.
1999-04-21 21:28:01 +00:00
billf
54952f9dc1 Make usage() reflect reality (add the -aout and -elf options).
OK'd by:	bde
1999-04-21 20:06:42 +00:00
dfr
c58c94fc8f Update VERSREQ. 1999-04-21 19:50:27 +00:00
peter
7c395a1bef Fix my breakage of BRIDGE compiling option without IPFIREWALL..
(Note that if you have bridge compiled in and then kldload ipfw, bridge
 won't automatically use it - knowledge of ipfw/dummynet is compiled in)
1999-04-21 18:23:00 +00:00
obrien
48841dba89 Remove the old libf2c. libg2c is now serving us well. 1999-04-21 16:43:03 +00:00
sada
27f5984900 The function msgrcv() could copy larger data than it should do
under some circumstances.
PR:		kern/10765
Submitted by:	Yasuhito FUTATSUKI <futatuki@fureai.or.jp>
1999-04-21 13:30:01 +00:00
kato
f826086489 Sync with sys/i386/isa/isa_dma.c revision 1.2. 1999-04-21 12:17:00 +00:00
kato
7aec7d1918 Sync with sys/i386/isa/clock.c revision 1.131. 1999-04-21 12:14:37 +00:00
n_hibma
d9618608dd Forgot one.
Original log message:

Remove feature creep: STAILQ_REMOVE_HEAD_UNTIL added it for convenience
but we can do without it.

Obtained from:	Peter Wemm
1999-04-21 12:08:07 +00:00
cracauer
ea727f6428 Next approach to make loops in interactive interruptable.
PR:		bin/9173
1999-04-21 11:52:39 +00:00
jkoshy
ac52dee020 Use ${.CURDIR} in `exists()' constructs.
PR:		misc/4395
Submitted by:	J Wunsch <j@ida.interface-business.de>
1999-04-21 11:09:40 +00:00
peter
b8759ee827 Merge a diff that Soren sent me to resolve some lun / unit problems.
While here, also fix my additions to use naming that's more consistant
with Sorens.  (ie: s/softc/scp/)
1999-04-21 10:58:07 +00:00
dt
0b200cc726 pmap_ts_referenced(): set fault on {read|execute|write} bits on the page on,
so we will know when the page is accessed again.

(Also, make it return an integer, not "boolean" TRUE/FALSE).
1999-04-21 10:51:04 +00:00
dt
884cc3ec75 Change type of a variable from u_int to size_t, so that pointer to it may be
used as a last argument to copyinstr().
1999-04-21 09:41:07 +00:00
brian
5941b98f5d int -> size_t 1999-04-21 08:13:25 +00:00
brian
85e63ecedc Split the recorded chap challenge into two - one for the
receiver and one for the sender.  This allows two simultaneous
chap conversations - something that I *thought* I was already
doing on a daily basis myself until the existence of the
problem was
Beaten into me by: sos
1999-04-21 08:03:51 +00:00
brian
a2a0a5e96b If ioctl TIOCMGET fails, continue. The device may be
a pseudo device created by an interactive version of
rlogin/telnet/ssh & friends
1999-04-21 08:03:35 +00:00
imp
ca4240bb3a DEVICE_SUSPEND was always returning ENXIO for reasons unknown. For
now we noisily ignore this (and all errors).  DEVICE_SUSPEND should be
corrected, but I wanted to unbreak suspend until that happens.
1999-04-21 07:57:55 +00:00
imp
645a202f7e TARGET was being defined wrong, causing ld to always fail. It is the
name of the bfd target, not the gnu-standard target name.  Corrected
to be elf32-{big,little}mips from mipse[bl]-unknown-freebsd.

DEFAULT_EMULATION was bogusly defined, causing ld to always fail (this
was masked by the TARGET bogosity).  Define correctly as elf32bmip and
elf32lmip.  Mips doesn't follow the same conventions as i386 and alpha
do in this area.

ld now appears to work correctly for the uncommitted mips changes to
egcs.
1999-04-21 07:46:06 +00:00
obrien
3c9ea1572e Add Id. 1999-04-21 07:42:02 +00:00
peter
333d703478 oops, SMP was missing includes for a typedef. 1999-04-21 07:41:40 +00:00
peter
e2e31f6630 Stage 1 of a cleanup of the i386 interrupt registration mechanism.
Interrupts under the new scheme are managed by the i386 nexus with the
awareness of the resource manager.  There is further room for optimizing
the interfaces still.  All the users of register_intr()/intr_create()
should be gone, with the exception of pcic and i386/isa/clock.c.
1999-04-21 07:26:30 +00:00
obrien
449239f9ad Add compat3x to the mix.
Reviewed by:	jkh
1999-04-21 07:22:37 +00:00
peter
619eff0496 As I understand it, these register_intr()'s shouldn't be here. The isa
driver attaches the interupt itself.
1999-04-21 07:02:19 +00:00
imp
05fcf5fb27 Add entry for newbus. It is rather long, but lots of nits can shoot
people with this upgrade.  Lemme know what you think, or any
corrections that should be made to it.

Corrected a few typos based on submissions from various people.

Add note that make aout-to-elf is currently broken and what to do to
work around it.  This is implied by make -DWANT_AOUT being broken, but
that isn't obvious to many people.
1999-04-21 06:57:35 +00:00
alc
65965f581e Address several problems in vn_read and vn_write:
1. Make read-ahead work for pread and aio_read.

2. Fix one place where a comparison of uio_offset with -1
   wasn't updated to use FOF_OFFSET.

3. Honor O_APPEND in the FOF_OFFSET case.

In addition, use the variable name "ioflag" in both vn_read and
vn_write to avoid possible confusion between the variable "flag"
and the parameter "flags".

Submitted by:	Bruce Evans <bde@zeta.org.au> and me
1999-04-21 05:56:45 +00:00
nsayer
c6ae4b8f5d Spelling error fixed. 1999-04-21 05:40:12 +00:00
jdp
e2d9e4f987 After relocating the main program, but before calling any of the
_init() functions, initialize the global variables "__progname" and
"environ".  This makes it possible for the _init() functions to call
things like getenv() and err().
1999-04-21 04:06:57 +00:00
dt
fd0bb32a06 Added consts to cpu_set_fork_handler prototype. (Follow i386 version.) 1999-04-20 22:53:54 +00:00
n_hibma
b0afb3da01 Remove feature creep: STAILQ_REMOVE_HEAD_UNTIL added it for convenience
but we can do without it.
1999-04-20 22:37:18 +00:00
dt
1085954ed8 alpha/include/param.h: #define NCPUS 1
alpha/include/lock.h: remove nop simplelock macros, which are defined
in <sys/lock.h> if NCPUS == 1.

As a result, NULL_SIMPLELOCK is defined, and a few warnings removed.
1999-04-20 22:20:57 +00:00
billf
0acab1e897 IPX address formatting nit.
PR:		bin/11179
Submitted by:	Dan Nelson <dnelson@emsphone.com>
1999-04-20 22:04:31 +00:00
n_hibma
5a65643932 1) Change printf's into DPRINTF.
2) rename variables to be more conclusive.
3) fix a problem in uhci_ii_done. Avoid collecting all the status's of the
TD's, we only need to one from the last inactive one.
4) Change the errorcount from 2 to 3 (see UHCI spec.).
1999-04-20 21:35:27 +00:00
n_hibma
221667c21b Add defines for Mass Storage Bulk-Only and COmmun. Class devices. 1999-04-20 21:25:29 +00:00
des
f3c948877e Make the location of init(8) tunable at boot time. 1999-04-20 21:15:13 +00:00
n_hibma
0af71fff71 Enclose .hcidebug in '#ifdef N.HCI' 1999-04-20 21:10:43 +00:00
semenu
acb9e20c30 Removed annoying messaged during boot,added some check
before mounting (should help to do not mount extended partitions:-).
Fixed problem with hanging while unmounting busy fs.

And (the most important) added some locks to prevent
simulaneous access to kernel structures!
1999-04-20 21:06:44 +00:00
ghelmer
2e9c83a078 Revise for KLD's.
Prompted-By:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-20 20:36:36 +00:00
steve
13a2e65f7b Forgot to remove these files with the NetBSD games cleanups. 1999-04-20 20:24:40 +00:00
peter
55639ba0cc Clean out most of the LKM stuff, the build support left a little while ago. 1999-04-20 14:33:24 +00:00
peter
2b9bc6875f No need to use a magic IPFIREWALL_MODULE - the build system supplies
one already we can test for.
1999-04-20 14:31:23 +00:00
peter
32253baa10 s/IPFIREWALL_MODULE/KLD_MODULE/ 1999-04-20 14:29:59 +00:00
peter
db3353cc06 Default KMODDIR = /modules now, not /lkm 1999-04-20 14:24:52 +00:00
peter
613bd8b670 Tidy up some stray / unused stuff in the IPFW package and friends.
- unifdef -DCOMPAT_IPFW  (this was on by default already)
- remove traces of in-kernel ip_nat package, it was never committed.
- Make IPFW and DUMMYNET initialize themselves rather than depend on
  compiled-in hooks in ip_init().  This means they initialize the same
  way both in-kernel and as kld modules.  (IPFW initializes now :-)
1999-04-20 13:32:06 +00:00
joerg
b221fe8173 Don't clobber the "prompt" variable if it has already been set (e. g.
from within loader.conf).

Reviewed by:	dcs
1999-04-20 12:07:03 +00:00
obrien
2e28696782 Add compat22 and compat3x. 1999-04-20 11:48:01 +00:00
obrien
1bc9bc495a Add script to install the compat3x distribution. 1999-04-20 11:42:51 +00:00
obrien
4138845ac5 Add the compat3x dist. 1999-04-20 11:41:59 +00:00
kato
eb32cc1b0f Recognize PC-98 16-bits bus (C-bus) as ISA bus. Because class number
of the C-bus is not assigned, PCI to C-bus bridges were recognized as
generic PCI bridges.
1999-04-20 11:36:36 +00:00
obrien
cdcc6d5429 Add the compat3x series of uuencoded, gziped balls of fun. 1999-04-20 11:34:20 +00:00