Commit Graph

23505 Commits

Author SHA1 Message Date
pk
87e006459e sync with libc source: remove DEFS.h 1996-11-18 22:50:28 +00:00
pk
fa80fdb243 Remove `chmod 444's. 1996-11-18 22:48:59 +00:00
pk
3b4eca1f48 Remove reference to DEFS.h 1996-11-18 22:37:28 +00:00
pk
5ba1566c5c The code in here was just an expansion of RSYSCALL(syscall). 1996-11-18 22:35:53 +00:00
pk
6b2334f637 Correct two typos. 1996-11-18 22:16:50 +00:00
gwr
3d5027bee4 Correct lengths used to build environment strings. (Fixes PR#2948) 1996-11-18 18:54:36 +00:00
mrg
368d2cb79c update for removed DEFS.h. 1996-11-18 16:08:30 +00:00
pk
1ab7502adf Initialize cache aliasing bits for MicrosparcIIs. 1996-11-18 11:23:32 +00:00
pk
b82932df85 sparc uses new savecore.c 1996-11-18 11:20:16 +00:00
mrg
8a92017f34 update copyright. 1996-11-18 10:26:18 +00:00
mrg
374d8a5b5a minor tweaks. 1996-11-18 10:15:09 +00:00
is
6f98abee6a Change the token loss report algorithm:
Earlier, we re-complained about excessive token losses about once a minute.
However, on small ARCnet networks, the token will also be lost if only one
station (us) is active (ifconfig'd down interfaces don't take place in the
token exchange), and our syslog would be filled with repeated messages about
this condition.

Our new code only complains once, starts a timeout() each time a token
regeneration is reported by the chip, and generates a log message about
the regenerated token if it was stable for 15 seconds.
1996-11-18 09:08:29 +00:00
is
b39e54485e Fix a bug in the "spurious rx interupt" detection: don't copy the spurious
buffer out of the hardware (it is invalid!).
This fixes hangups due to spurious rx interupts.
XXX Maybe I should completely reset the hardware in this case?
1996-11-18 08:49:30 +00:00
mrg
59b7590636 merge in 8.8.3 1996-11-18 05:29:14 +00:00
jonathan
9f58a9278a make <sys/systm.h> #include-idempotent. 1996-11-18 05:18:04 +00:00
mrg
7531efff40 sendmail 8.8.3 1996-11-18 04:29:19 +00:00
fvdl
c15f6d921f Changes for NKPDE calculation from cgd.
- New variables: biosextmem, biosbasemem, nkpde
- Above can be set by using the options BIOSEXTMEM, BIOSBASEMEM,
  and NKPDE respectively (EXTMEM_SIZE is now called BIOSEXTMEM).
  When preset this way, they won't be filled in / calculated.
- Readable by sysctl using machdep.nkpde, machdep.biosbasemem
  and machdep.biosextmem.
- nkpde is calculated as:

	min(NKPDE_MAX, NKPDE_BASE + (biosextmem >> 10) * NKPDE_SCALE)

  Where NKPDE_MAX is 31, NKPDE_BASE is 4, NKPDE_SCALE = 1.
1996-11-18 01:06:09 +00:00
pk
ab9677d1d6 Move *PAGER options and `machine sparc' to std.sparc. 1996-11-18 00:10:19 +00:00
jonathan
16d760f318 Fix for hanging 3com ``large packet'' (100Mbit) Etherlink-III devices:
* Add a slot in the softc, ep_pktlenshift, to indicate that
    a board implements ``large packets'' (FDDI-sized frames) and
    therefore implicitly shifts the argument to packet-length commands
    by two bits to fit a 13-bit length in  an 11-bit command argument field.

 *  Change  the reset of station-mask filterto be independent of bus-type
    (e.g.,. for 3c515)

 * Replace  the "2044" constant used to disable TX threshold interrupts
   on 3c509-generation cards with a #define. Use 2047 instead,
   since that works on the large-packet cards (Vortex, Demon, Boomerang)
   and 2044 doesn't.

 *  Add code to  epconfing to probe for large-packet support,
    set the softc appropriately, and  shift packet sizes in commands
    by ep_pktlenshift to compensate  for the implicit shift.

 *  Tweak the epconfig() code to avoid hanging on startup.
    Set the Tx threshold to interrupt when there's space for
    a maximal-sized ether frame, then  do epinit() then epstop(),
    instead of just the Tx and Rx reset. Required on at least a 3c595.

Tested on  a 3c595, but not on 3c509-generation hardware.
1996-11-17 23:58:29 +00:00
lukem
01d3778298 fix spello of 'convenience' 1996-11-17 23:09:55 +00:00
jonathan
76f1d1f657 Commit src/gnu/usr.bin/gcc/arch/mips/netbsd.h diffs with minimal
support for shared libraries.  Diffs from Manuel Bouyer, probably
derived from similar OpenBSD gcc diffs.

This change is in the source tree because it was used to build a NetBSD/pmax
shared-lib snapshot.  The change isn't being integrated into  the gcc2netbsd
script until the shared-lib diffs are finalized.
1996-11-17 19:36:51 +00:00
is
4104d4bf07 Make sure we only handle the DraCo native timer interupt, if it was enabled.
We test this condition AFTER the interupt condition, because it is only
disabled during autoconfiguration.
Without this patch, if autoconfiguration takes long enough, eventually a
timer interupt will call hardclock() and panic the machine.
1996-11-17 18:22:37 +00:00
leo
f9ace39811 Plug some spl-holes in the lp-driver. Also be more strict in protecting
the register access to the psg-chip. The combination of those bugs
caused the printer to print garbage sometimes.
1996-11-17 13:47:09 +00:00
leo
d3ef248436 Shift screen a bit to the left. 1996-11-17 13:39:40 +00:00
leo
643abfa146 Make splbio really splbio. All holes now seem to be plugged. At least
on the Hades & TT030.
1996-11-17 13:38:03 +00:00
leo
a5d68d8e59 Move SWAPPAGER, VNODEPAGER and DEVPAGER options to std.atari. 1996-11-17 13:33:36 +00:00
mikel
6965177949 Add iso_addr.3 to MAN. Fixes misc/2942. 1996-11-17 04:37:14 +00:00
mikel
bcc644fd7e Add missing arguments to NIC_GET in debug code. Fixes kern/2875. 1996-11-17 04:11:18 +00:00
cgd
e35cd5615f implement interrupt enable/disable and mapping as described in
the Digital Semiconductor AlphaPC 164 Motherboard Technical Reference
Manual.  This may not work, but it's the best i can do with the
documentation I have.
1996-11-17 02:30:25 +00:00
cgd
ccc668e0d7 use the new common chained-interrupt support code. 1996-11-17 02:05:26 +00:00
cgd
91c6442ca0 implement a (hack-ish) set of routines to do common chained-interrupt
handler management.  It's nasty, but three slightly different copies of
the code is worse.
1996-11-17 02:03:08 +00:00
cgd
bbb8f63dae clean up some 'system not supported' printfs 1996-11-17 01:59:35 +00:00
pk
336790c5a2 Sync with sparc revision 1.61:
Add explicit casts to `%l*' formatted arguments.
1996-11-16 23:17:18 +00:00
pk
89b8591c60 Add explicit casts to `%l*' formatted arguments. 1996-11-16 23:14:58 +00:00
cgd
c5323239f6 add names and space for eb164 interrupt request counters 1996-11-16 23:11:57 +00:00
jonathan
21ec686bd1 Move non-optional "options" SWAPPAGER, VNODEPAGER, DEVPAGER to std.pmax 1996-11-16 23:10:47 +00:00
cgd
2e5bc1461a panic with "bogus size" if ncols or nrows is <= (not just <) 0 1996-11-16 23:10:06 +00:00
cgd
f48eac49ba compile with -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wcast-qual, even if DEBUG isn't defined.
1996-11-16 23:07:40 +00:00
pk
b61f7eb526 Remove `unused variable' warning. 1996-11-16 23:00:24 +00:00
pk
76dfffe335 Remove DEFS.h, which has been just a placeholder for a long time. 1996-11-16 20:53:13 +00:00
fvdl
44fa942695 The FILES section named '/etc/ttyactions'; remove that 's'. 1996-11-16 20:50:12 +00:00
pk
ba50a4fa6e Remove "trap#29" debugging code. These traps have disappeared since a bug
was fixed in the pamp code ("stale PTEs", pmap.c rev. 1.62).
1996-11-16 20:45:13 +00:00
pk
63c8772a52 Do the `_REENTRANT' song-and-dance. 1996-11-16 20:43:07 +00:00
briggs
15c3f794e5 Updates from Steve Allen <wormey@eskimo.com> to match the current world. 1996-11-16 16:36:11 +00:00
fvdl
9974e36372 Move VNODEPAGER and DEVPAGER to std.i386 as well. 1996-11-16 01:16:38 +00:00
cgd
c8201bca4d Add short delays after accessing registers, so that the z8530's settle
times are respected.  This solves the duplicated characters problem.
1996-11-16 00:40:14 +00:00
cgd
70147216ec Include a PMAGB-BA in the list of built-in devices only if SV_GRAPHICS
is set in the RPB's rpb_variation field.  This fixes a bug where machines
(e.g. the 3000/900) would see that they could touch memory where a built-in
PMAGB-BA, assume that it was there, and panic later because the memory they
were accessing didn't look like PMAGB-BA registers (because it wasn't).
1996-11-15 23:59:00 +00:00
cgd
9ed8ce3b8f clean up a few spaces vs. tabs and KNF bogons. Make this compile
cleanly with -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual.
1996-11-15 23:53:32 +00:00
cgd
30ca7eaa8d clean up a few spaces vs. tabs bogons 1996-11-15 23:51:23 +00:00
cgd
f6e4567c57 cast int64_t-sized types to "long long" before printing them with %qd.
gcc thinks that the 'q' modifier describes a "long long", and so -Wformat
whines when printing with 'q' on the alpha, since int64_t-sized types are
done with variations on "long" rather than "long long".
1996-11-15 23:11:56 +00:00