38621 Commits

Author SHA1 Message Date
fair
dd15ee1ce0 Handle the problem cited in PR#1328 (no checking for I/O errors).
Improve some of the error messages to provide more accurate information.

Repaired a bug by inspection (function pointer reference through a
free'd DB structure!! How did this *ever* work?)
1998-04-13 23:12:45 +00:00
thorpej
ddf189f7da Remove the stuff that was apparently not intended for commit in the
previous change.
1998-04-13 22:18:03 +00:00
frueauf
f7a146be7b Add isa/pcvt to SUBDIR, this will install /usr/include/machine/pcvt_ioctl.h
which is needed by our default xsrc on i386. Closes pr 1391.
1998-04-13 21:54:30 +00:00
kml
fcf0227962 Fix to ensure that the correct MSS is advertised for loopback
TCP connections by using the MTU of the interface.  Also added
a knob, mss_ifmtu, to force all connections to use the MTU of
the interface to calculate the advertised MSS.
1998-04-13 21:18:19 +00:00
lukem
77a346fea2 use COPTS not CFLAGS 1998-04-13 14:42:03 +00:00
lukem
2fbe0fef8d disable the optimizer the correct way... 1998-04-13 14:28:04 +00:00
lukem
6c4ddbba34 fix disabling of optimization on powerpc (set COPTS *after* <bsd.prog.mk>...) 1998-04-13 14:24:02 +00:00
lukem
175e3708a8 use CPPFLAGS not CFLAGS 1998-04-13 14:18:45 +00:00
lukem
4a07ff4e77 use HOST_CPPFLAGS not HOST_CFLAGS 1998-04-13 14:14:39 +00:00
lukem
d3ecec520c use CPPFLAGS not CFLAGS 1998-04-13 14:10:05 +00:00
lukem
f1a5689fa6 refer to COPTS not CFLAGS 1998-04-13 14:08:27 +00:00
augustss
993dcaa947 Add another device, YMH0021. From nathanw@MIT.EDU, PR #5289. 1998-04-13 13:19:40 +00:00
ragge
470ec523f2 Wall cleaning. 1998-04-13 12:15:56 +00:00
ragge
4bcd8130fe t_wopen fixes. 1998-04-13 12:14:42 +00:00
ragge
eaeee62af2 Wall cleaning. 1998-04-13 12:10:26 +00:00
lukem
d6c354cb4b * remove CFLAGS+=-w for powerpc (added in 1.26):
- it was in the wrong place
	- makefiles shouldn't override CFLAGS; only CPPFLAGS and COPTS
	- christos fixed unsigned char stuff in 1.33 which should
	  remove the need for -w anyway
* move .include <bsd.prog.mk> to EOF
1998-04-13 12:06:48 +00:00
lukem
2dbeb85dde only read /etc/mk.conf once (stops += variables getting double assignments) 1998-04-13 12:03:07 +00:00
scottr
0dfa8582c5 Make type explicit for egcs, from Erik Bertelsen in PR 5287.
Dump the register qualifier while we're here, as suggested in the PR.
1998-04-13 02:51:32 +00:00
scottr
d87f21702e Make type explicit for egcs, from Erik Bertelsen in PR 5288. 1998-04-13 02:36:24 +00:00
scottr
9a7810a03e Make type explicit for egcs, from Erik Bertelsen in PR 5288.
While we're here, kill register qualifier and other KNF.
1998-04-13 02:35:21 +00:00
tv
b21bfbde11 Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
tv
a40db43400 missed 3 lines on sync 1998-04-12 21:38:58 +00:00
tv
c97729d6b8 Also build a static library regardless of NOSTATICLIB if LDSTATIC is
defined.  In situations where a "private library" is being built, a static
library is needed to link binaries statically (LDSTATIC=-static).
1998-04-12 21:22:20 +00:00
tv
3d6a264267 sync with Makefile.inc 1998-04-12 21:09:35 +00:00
tv
5321eb363d PIC systems no longer build libamu.a; depend them on libamu_pic.a. 1998-04-12 20:45:05 +00:00
tv
ee34020134 Don't rebuild cc1 executables on PIC systems (which don't build a
libcc1.a, but do build a libc1_pic.a)
1998-04-12 20:40:21 +00:00
veego
924ae4ad39 We don't need the extra make for mkhits.
The extra make would build mkhits again if you do a make clean.
1998-04-12 15:30:15 +00:00
tv
24dc95d50d Add the .cc(.NULL) overrid used for libgcc 1998-04-12 14:18:41 +00:00
veego
7eff266c41 Add a cleandir target to the clean target. 1998-04-12 13:59:28 +00:00
mjacob
e40e2ff2d0 A little buglet: softc for pceb is same as sio- so declare it as such.
By not doing so, a very obscure bug followed where the config search
stuff stopped at the bridge (pceb) and didn't even call match for the
two Qlogic ISP cards that followed.
1998-04-12 08:32:19 +00:00
fair
6394d4858b Added .Xr mdoc 7 and .Xr mdoc.samples 7 per PR#5284 1998-04-12 07:39:17 +00:00
is
4e23fff56a Make ser.c compile again (preliminary release). It needs still a lot of
cleanup, but at least mainstream usage should be possible again (worked
for me 5 minutes ago).
1998-04-11 19:30:56 +00:00
is
da0b5bf913 amiga_ttyspl -> amiga_serialspl (and keep ttyspl constant at 4 again).
(Part of this change slipped in with my last machdep commit; thanks to
Matthias Scheler for pointing this out).
1998-04-11 18:28:33 +00:00
matthias
2fe02dea17 Changes for kernels compiled with -mrtd:
locore.s:
- cpu_switch "returns" to proc_trampoline after cpu_fork. cpu_switch is
  called with an argument, remove it from the stack when not compiled
  with -DMRTD.
- use KENTRY instead of ENTRY for all functions called from C.
- when calling C code, don't clean up the stack when compiled with -DMRTD.
- need to split fusubail into fubail and subail, because fu and su
  take different number of arguments.

machdep.c:
- set sf_p when dumping
- new function do_softclock (that just calls softclock) because softclock
  doesn't take an argument.

mainbus.c:
- establish softclock interrupt to call do_softclock

trap.c:
- trap() and syscall() allways use std C calling conventions.
- need to split fusubail into fubail and subail, because fu and su
  take different number of arguments.
- make child_return take only one argument like the other functions
  "called" via cpu_set_kpc.

vm_machdep.c:
- set sf_p in cpu_fork.
1998-04-11 17:44:11 +00:00
matthias
bd4f1b48a9 cpu_switch is called with an argument. Reflect this in the switchframe. 1998-04-11 17:30:40 +00:00
mhitch
11b4024ccf Initialize proc0.p_addr so we don't dref NULL in trap(). [From hp300 locore.s]
Fixes PR 5281.
1998-04-11 16:13:57 +00:00
veego
dd9d3a3015 Fix an error introduced in rev 1.39 where jason fixed kern/5271:
s/vp/ap->a_vp/ in line 715.
1998-04-11 08:51:12 +00:00
ender
de57defb67 o Added a known hardware problems section
o Documented clock lossage per suggestion from Jonathan Stone
o Documented the long-standing SCSI difficulties
1998-04-10 22:52:41 +00:00
fair
c90e2a4b2e getNAME now handles [nt]roff comments (.\") correctly. 1998-04-10 22:32:45 +00:00
cgd
edcb9b60e1 current_spl_level should be initialized to _SPL_HIGH. 1998-04-10 20:29:02 +00:00
tv
cd87299ab8 add NOLINT 1998-04-10 19:35:22 +00:00
mjacob
76970a00f5 trim ID of ST19171FC so that SUN drives are caught 1998-04-10 17:13:11 +00:00
mhitch
18114765d8 Fix a bug I think I introduced long, long ago. The bug would only show
up on systems that have Zorro I/O space allocated outside the Z2 I/O
region, and then only if kvm usage is high enough to begin allocating
pages already mapped for hardware mappings.  Found and fixed by Niklas
Hallqvist on OpenBSD.

From niklas@cvs.openbsd.org:
Yay! This fixes a bug that has been there since day one of the amiga port.
We have never protected the kvm area that maps Zorro I/O registers in the
Z2 memory space from being allocated by the kmem_* routines.  Lately kvm
usage has increased and we have needed more kvm allocated than earlier thus
this area have got allocated with random results.  Most often resulting in
MMU fault panics, but also in hangs.  This bug has stalled the amiga port
release builds for several weeks, but now I *hope* the amiga will have a
chance to be built and tested in time for 2.3.
1998-04-10 15:59:35 +00:00
tv
60961686a4 add do-nothing .cc(.NULL) extension rule to avoid trying to "build" new
and exception from new.cc and exception.cc
1998-04-10 15:05:48 +00:00
leo
85966e661a Use MI wdc-driver. 1998-04-10 10:37:04 +00:00
leo
bc2d7f642e le_bus.c is dependent on pci & isa. 1998-04-10 10:28:47 +00:00
fair
3b04f8e0b1 Add .Xr ttyaction 3 per PR#4647 1998-04-10 09:31:55 +00:00
leo
bc9ebf17a7 Major overhaul of the atari bus_space implementation. 1998-04-10 08:19:53 +00:00
mark
af29a19dd0 Fix the interrupt number for the PS/2 mouse port on the ARM7500
(from David Forbes).
1998-04-10 06:54:30 +00:00
mark
447623df53 Correct the values of IOMD_MSDATA and IOMD_MSCR as they are 4 times too
big. Spotted by David Forbes.
1998-04-10 06:53:08 +00:00