Commit Graph

38537 Commits

Author SHA1 Message Date
mjacob 17ec1fbf11 clarification of comment 1998-04-15 00:46:41 +00:00
mjacob 65e5c41fad do not cia include files here 1998-04-15 00:46:17 +00:00
mjacob d3f1c5b8d8 add Alpha 4100 support 1998-04-15 00:45:43 +00:00
thorpej 164f56220e Add support for the Cypress CY82C693 PCI-ISA bridge. This bridge is more or
less like an Intel SIO except that the ELCR registers are accessed differently
than on the Intel SIO.

XXX This code needs to be split up into bridge front-end and PIC back-end
XXX pieces.
1998-04-14 22:31:17 +00:00
thorpej 4c01c3c48e Pass the pci_chipset_tag_t to sio_intr_setup(). XXX This code should be
rearranged so that other non-PCI-but-in-all-other-ways-ISA-PIC-like
devices can share code.
1998-04-14 22:20:59 +00:00
thorpej a95c0ac15a Add pci_conf_print(), a function to dump the PCI configuration space, useful
in driver debugging.  From Zubin D. Dittia <zubin@clouseau.arl.wustl.edu>,
PR #4249.
1998-04-14 21:24:50 +00:00
thorpej ce28bee247 Add UDF and 66MHz capable bit definitions for the PCI status register.
From Zubin D. Dittia <zubin@clouseau.arl.wustl.edu>, PR #4249.
1998-04-14 21:22:44 +00:00
cgd c402844892 note bogon in the .y.cc rule which doesn't cause problems here, but
people should be aware of.
1998-04-14 20:30:27 +00:00
fair c0ad440bd6 fix my boo-boo documented by PR#5293 1998-04-14 20:20:16 +00:00
is c61f5c0cc5 Uhm... looks like I forgot this when doing the MACHINE_NEW_NONCONTIG stuff.
Sorry folks.
1998-04-14 20:18:08 +00:00
leo 2571635f1f Correct cd minor numbers. 1998-04-14 10:51:32 +00:00
fair 54e08fd771 error message improvement per PR#4378 1998-04-14 09:26:33 +00:00
leo 5a3045445a Rename tty devices according to the following table:
tty00 -> 8530 Channel A (formerly ser02)
       tty01 -> 8530 Channel B (formerly mdm02)
       tty02 -> UART on first 68901 (formerly mdm01)
1998-04-14 09:16:42 +00:00
frueauf 2a4a35095c Add some missing files. 1998-04-14 08:22:36 +00:00
agc 001ce9107b Move bsd.port.mk and bsd.port.subdir.mk into pkgsrc/mk (by CVS
repository copy), which is a much better place for them.  Update the
Makefile to reflect these changes.
1998-04-14 07:56:56 +00:00
fair c85ab8db8e A few more error message changes for better information. 1998-04-14 04:51:19 +00:00
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