Commit Graph

22101 Commits

Author SHA1 Message Date
thorpej
a962c12194 Use "cy_port_num" rather than "cy_port" where appropriate. 1996-09-26 19:16:02 +00:00
christos
a63ddeefe6 - kill the -c hack. It does not work properly with virtual consoles anyway.
Implement a better scheme where we `find' the login ttys by looking in
  /etc/ttys. Of course this scheme breaks when /etc/ttys changes, but such
  is life.
- some cleanups...
1996-09-26 19:06:37 +00:00
christos
869fd46175 Implement T_FIXALIGN by adding code to fix unaligned accesses and a bit
in md_flags. This should bring the solaris mac emulator software a step
closer to working.
1996-09-26 18:58:33 +00:00
christos
e33f712af6 Initialize md_flags. 1996-09-26 18:55:51 +00:00
christos
9db40d9ba8 Add md_flags so that we can have a fix-misalign-accesses flag. 1996-09-26 18:51:17 +00:00
gwr
79b5c352a5 Fix bounds_check_with_label() as suggested in PR#2598 (Thanks to der Mouse) 1996-09-26 18:10:21 +00:00
mrg
b37e459094 use words from $DESTDIR. 1996-09-26 00:04:42 +00:00
thorpej
cb5947b47e - Fix the gecos botch ... sizeof() was incorrectly being applied
to a pointer; use the provided length of buffer instead.

- Patch from Eric - fix a one-byte buffer overflow...

Both changes obtained from FreeBSD.
1996-09-25 22:40:26 +00:00
jonathan
9b5c58c457 * When configuring a serial console on a machine with a dc serial chip,
use the pre-autoconfig cold serial-console inititialization entry
  points from the bus-specific cfattach front-end code.
* Delete post-autoconfig code to switch from PROM output to kernel
  driver for machines with dc serial chips.
1996-09-25 21:16:00 +00:00
jonathan
8eca2b2bb4 * Rewrite asc driver with ``mi'' backend and parent-specific front-end
cfattach code for TC SCSI option cards  and ioasic 53c94 baseboard SCSI.
    ascvar.h:  shared softc  declarations
    asc_ioasic.c: ioasic front-end code.
    asc_tc.c: Turbochannel option (and 5000/200 basebard) front-end code.
* ioasic_attach meeds more work to eliminate pmax_type dependency
   and to verify the clocks speed passed to 53c94.
* Add prototypes for asc script entry points; should compile with
  -Wstrict-prototypes -Wmissing-prototypes.
* Use tcvar.h interface.  The usage of tc_syncbus() and tc_mb() may
  not be quite stylistically on an Alhpa, but it apparently makes no
  difference on the eerly-generation Alpha CPUs in TC Alphas.
1996-09-25 21:07:46 +00:00
christos
3f15a06497 Recognize %.2x as %02x 1996-09-25 21:03:06 +00:00
jonathan
874baa6c95 Rewrite dc7085 (dz-11 clone) driver as MI back-end, with bus-specific
cfattach front-end code:
  dc_ds for the decstation 2100( pmin), 3100 (pmax), and 5100.
  dc_ioasic for the decstation 5000/200 (3max) which does  not have a
  DEC TC-style IOCTL asic, but is configured as if it did.

* Add pre-autoconfig  code initialization of kerenl dc driver console I/O
  for remote serial consoles.  The hack to use PROM serial I/O until the
  dc device is autoconfigured is no longer necessary.
1996-09-25 20:48:51 +00:00
thorpej
63b18ee2f2 This file is now obsolete. 1996-09-25 20:44:09 +00:00
jonathan
75fd343a78 Build locore using merged mips (mips1, mips3) locore source:
* Add MIPS make variable pointing at $S/arch/mips
  * Build locore from $MIPS/mips locore source
  * Build locore.o and fp.o (fp emulation) from arch/mips locore source
  * Add target and rules to build pmax-specific locore code locore_machdep.o
    from $PMAX/pmax/lcore_machdep.S
1996-09-25 20:41:00 +00:00
jonathan
2ec085cba7 Back out part of revision 1.30:
>* Use `-S' rather than `-x' to remove debugging symbols.

because the pmax toolchain and gcc disagree about what is a "local"
symbol, and ld requires a "-x" to let elf2aout build bootable a.out kernels.
1996-09-25 20:35:16 +00:00
leo
ffd121b446 More preps for et-driver. 1996-09-25 15:15:07 +00:00
leo
f97dcb95be The KDASSERT macro is now defined in libkern 1996-09-25 15:10:15 +00:00
leo
d9ec4b0569 Second arg to print function is now 'const char *' 1996-09-25 15:07:40 +00:00
leo
8e7f6c2cf5 Catchup with -current:
- Extra argument to boot()
  - select -> poll
1996-09-25 15:03:20 +00:00
christos
42d3980338 Fix PR/2779: statvfs returns incorrect sizes. From Aaron Brown 1996-09-25 04:37:13 +00:00
mycroft
605403ce1e portal_fsync -> genfs_nullop 1996-09-25 03:01:41 +00:00
christos
f44e9d22db Avoid problems with ptrdiff_t and size_t being different on different
architectures, by adding explicit casts to printf arguments. Is there
a better way to do this?
1996-09-25 02:22:10 +00:00
jtc
e1cfddbd32 Copyright has been assigned to The NetBSD Foundation 1996-09-25 00:53:45 +00:00
briggs
ba1a770fcd Make a pass for 1.2. 1996-09-24 23:04:41 +00:00
gwr
a8791ca150 The hack to keep out deflate.c and related stuff belongs better here,
because that allows zlib to stay closer to the distributed version.
1996-09-24 20:40:10 +00:00
christos
6dde563e8f Fix the entries for the cyclades multiport serial cards, but leave commented
out, like the other multiport cards
1996-09-24 19:10:41 +00:00
christos
ded50ae798 New Cyclades driver from Timo Rossi 1996-09-24 18:02:33 +00:00
christos
e76a4ef86b New cyclades driver from Timo Rossi. 1996-09-24 17:59:33 +00:00
christos
7c744984f3 New cyclades driver from Timo Rossi. 1996-09-24 17:47:14 +00:00
christos
5d34f1a62b New cyclades driver from Timo Rossi 1996-09-24 17:45:14 +00:00
christos
3f0fed8ce8 Add stub for cyclades multi-port serial cards 1996-09-24 17:43:35 +00:00
is
e6edfde31b Rename the watchdog enable bit to reflect its polarity. 1996-09-24 17:11:53 +00:00
christos
df34c6063d explicitly enumerate the ripv1 fields. 1996-09-24 17:00:27 +00:00
christos
5057242ce3 put back the explicit ripv1 field enumeration; lots of userland has changed
to use this.
1996-09-24 16:46:51 +00:00
christos
41751ebe3c - Revert to the traditional struct sockaddr description of the rip v1 packets.
- Fix a bad bug where:
	u_int16_t       n_dst;
  should be:
	u_int32_t	n_dst;

  If this bug is in the 1.2 release it should be part of the first patch.
1996-09-24 16:36:19 +00:00
christos
4d3fba5988 - resolve conflicts
- try to follow rcsid style more closely
- fix rn_walktree callback routine signatures.
1996-09-24 16:24:12 +00:00
is
2b84ad395b Don't forget to shut up Fido. 1996-09-24 16:08:36 +00:00
christos
7311bcb20e Latest version of routed(8) from Vernon Schryver <vjs@sgi.com> 1996-09-24 15:11:33 +00:00
ws
82cdedc3cd Fix delete() call in dir.c differently than Christos' way.
Require at least one filesystem as program argument.
Update man page to reflect the latter.
1996-09-24 13:17:18 +00:00
matthias
b92278aef8 The pc532 port now has string functions in assembler.
strcmp.S, strcpy.S and strlen.S are contributed by Randy Hyde.
1996-09-24 09:29:52 +00:00
matthias
9ea65c1c28 Changed KMSRCS to reflect new reality (Stringfunctions in assembler). 1996-09-24 09:18:29 +00:00
matthias
6a01b1234b Make it possible to have a md version of memccpy. 1996-09-24 09:14:18 +00:00
ghudson
f48afa5735 Install mrg's pfil man page, which he forgot to have installed. 1996-09-24 07:33:08 +00:00
ghudson
126dd6897b Correct a typo: sc_dk in a softc structure should be a struct disk, not
a struct disk *, at least as used in the example.
1996-09-24 07:18:44 +00:00
ghudson
1369a02a4b Document bootstr parameter added by mrg a little while ago. 1996-09-24 07:01:26 +00:00
ghudson
c8301c319b Install extent.9 and symlinks for each of its functions. 1996-09-24 06:46:03 +00:00
ghudson
e3d475e885 Describes the extent manager introduced in NetBSD 1.2A. 1996-09-24 06:03:12 +00:00
jtc
d137b0e8ba Added new macro _PROF_PROLOG which contains the code sequence needed
to call mcount().  This is needed because the ``link a6,#0'' insn used
trips up gcc's ANSI preprocessor (A # in a function-type macro must be
followed by a macro argument).  _PROF_PROLOG is also used in the i386
asm.h.

Solaris' asm_linkage.h has a MCOUNT macro similar to _PROF_PROLOG
except it expands to different code sequences based on whether a
function is being compiled with "prof" or "gprof" instrumentation.

I also discovered that the m68k ALTENTRY is very different than the
implementation used by other NetBSD ports.  Usually ALTENTRY simply
provides an alternate function entry point.  The m68k version takes a
second argument and jumps inside the second function when profiling is
enabled.  The m68k behavior is similar to the ENTRY2 macro found in
solaris.

Providing ENTRY2 and changing all the code that uses ALTENTRY to use
it would be a desirable change.
1996-09-24 00:05:55 +00:00
abrown
795306043d Add missing quote (") in @echo line of .S.o rule, to prevent sh from
getting confused in certain cases.
1996-09-23 20:23:05 +00:00
jtc
a66b1cae00 Fix from Aaron Brown that fixes some typos 1996-09-23 18:15:48 +00:00