Commit Graph

35003 Commits

Author SHA1 Message Date
hubertf 6b7391ff96 We use perl 5.004_04 now 1997-11-22 04:20:49 +00:00
hubertf 31316d681a Use MI/MD PLIST files pkg/PLIST-{mi,md-{shared,static}} 1997-11-22 03:39:20 +00:00
mark 0053558a70 Fix a glaring bug in the assembly stubs for memcpy() and memmove() that
meant the src address was being returned rather than the dst address.
Spotted by Chris Demetriou.
1997-11-22 03:27:12 +00:00
tv 426330f919 eliminate declarations of global data in <sparc/cpu.h> and declare in
source files, reducing global symblol replication in .o kernel files
1997-11-22 03:13:56 +00:00
simonb e2b222f32d If not network interfaces are found, just return without cycling forever
with no valid choices.
Fixes PR#4542 from Stephane Engel.
1997-11-22 00:29:33 +00:00
is 3ba7f21d72 Get rid of (commented out) remnant of Atari install.md md_prep_disklabel.
Add into ours (which previously did nothing) a loop which allows to look
at the existing disk label.
1997-11-21 23:04:35 +00:00
gwr ae473044c7 Strengthen DIAGNOSTIC checks in pmap_enter_*
Further simplify protection converter (gone).
1997-11-21 22:13:20 +00:00
is 3abe908f1b Offer to install the X11 sets, too. 1997-11-21 21:59:46 +00:00
is 45b7fc74ce If we're (I)nstalling, add the same loadkmap call we use for the install
script to the end of rc.local.
1997-11-21 21:16:41 +00:00
tv d18b50bbf4 Added test to allow fallback to local password database if YP passwd map
is not found.  Fixes both PRs 4142 and 4557 (4558).  Still fails properly
if user is in YP and not in local database.  Man page fixed to reflect
current logic behind falling back, changed since YP was made default some
time ago.
1997-11-21 20:28:33 +00:00
kleink ffd48267c2 Update for nfds_t. 1997-11-21 18:30:49 +00:00
kleink 8b49e987ac Per X/Open CAE specification, Issue 5, add a type `nfds_t' and use it in
the poll() prototype.
1997-11-21 18:28:21 +00:00
agc 2998c94db0 Remove the magic control characters in a similar way to Bill Fenner's
patch for bsd.port.subdir.mk.
1997-11-21 17:44:11 +00:00
mhitch 4f4912d825 If DDB is defined, and RBUF_FERR occurs on a serial console port, enter ddb.
Fixes PR 4173.
1997-11-21 17:26:29 +00:00
gwr b0e8edf692 Minor simplifications. 1997-11-21 17:14:07 +00:00
agc 92ed0869d5 Modification by Bill Fenner which removes the embedded control
characters, and avoids the wrong interpretation of magic HTML
characters in DESCR files or categories.

Forwarded to me by Chris Demetriou, and refers to PR 4341.
1997-11-21 16:01:54 +00:00
bouyer ff936c230e Move the we driver at the begining of ethernet board, other board's probe
clobbers my SMC. Now I can really use a generic kernel with my SMC @0x300.
This change has been tested on various machines with ne2000 and 3c509 baords.
XXX All these probes sould be reordered after the release, with invasive
XXX probes at the end.
1997-11-21 13:25:14 +00:00
simonb b80b4d1cd0 Catch SIGINT and do a endwin() to leave tty in a sane state. 1997-11-21 12:08:06 +00:00
bouyer 2f9552c068 Bussify the I/O part of this driver, so that the invasive probe will
not clobbers config of already-found boards.
1997-11-21 10:27:45 +00:00
bouyer 66f0746d98 The if_ie probe is invasive in such a way that it can clobber other's board
config. Now that this driver is bussified, move it last in the ethernet
adapter list.
1997-11-21 10:09:42 +00:00
mrg 1c3610b684 include string.h for the alpha. 1997-11-21 08:49:12 +00:00
lukem ea345868fa * WARNSify, KNFify
* deprecate register
* replace berkeley string funcs with ansi equivs
* use getopt rather than home grown cruft
* use foo(char *, ...) rather than foo(char *, long, long, long, [long, ...])
1997-11-21 08:35:41 +00:00
thorpej 9f18d18071 Slight change to the previous: just drop the packet in the self-connect
case.  Sending an RST to ourselves is a little silly, considering that
we'll just attempt to remove a non-existent compressed state entry and
then drop the packet anyway.
1997-11-21 06:41:54 +00:00
thorpej ebd40d53e1 In tcp_input(), if the PCB we lookup for an incoming packet is a listen
socket:
- If we received a SYN,ACK, send an RST.
- If we received a SYN, and the connection attempt appears to come from
  itself, send an RST, since it cannot possibly be valid.
1997-11-21 06:18:30 +00:00
thorpej e2a99027d2 Add missing (implied) int to a variable declaration. 1997-11-20 19:12:41 +00:00
veego a77f2190fd Fix the case problem of the flags field and a problem with a # in the
middle of a line (pr#4545). Thx Ted.
1997-11-20 10:35:15 +00:00
augustss e86b728748 Remove broken PnP id again. 1997-11-20 08:53:39 +00:00
mrg e7f9829b60 install empty games data files with the correct perms for a distribution. 1997-11-20 08:53:06 +00:00
mrg 999b5ad105 install games files with the correct permissions. 1997-11-20 08:52:16 +00:00
fair 315f8de9c2 add pseudo-device rnd, commented out 1997-11-20 08:11:14 +00:00
thorpej 851be78801 Start the watchdog timer in stripopen(), and make sure it's cancelled in
stripclose().  In strip_watchdog(), make abort if the line has been closed.

This fixes kern/4470 (Wolfgang Rupprecht), which was a bad pointer passed
to b_to_q() from strip_proberadio() called via strip_watchdog(); the tty
hadn't yet been attached to the strip interface.
1997-11-20 08:03:06 +00:00
mikel 57bacccec7 increase maximum resource ROM read delay to 1 ms (slow EEPROMS) 1997-11-20 06:41:13 +00:00
mikel 37d9430628 add ID for (brain-damaged) GUS PnP, and add comments describing what
hardware each ID describes.
1997-11-20 06:23:52 +00:00
fair 6fa9b2e3c5 Add documentation for /dev/random 1997-11-20 06:17:39 +00:00
fair ffa1ced6be add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
1997-11-20 05:57:38 +00:00
mikel b99b737005 spl*() functions block interrupts of lesser or equal priority, not
higher priority.  do some copy editing while I'm here.
1997-11-20 05:47:42 +00:00
thorpej ad1ef53725 Deal with a problem where ephemeral port shortage would case a PCB's
local address to be set, causing all further attemps to bind that PCB
to fail.  From Koji Imada, PR #3857.
1997-11-20 04:53:37 +00:00
thorpej e78682a0e2 In m_split(), restore m_pkthdr.len if an error occurs. From Koji Imada,
PR #3986.
1997-11-20 04:28:18 +00:00
thorpej d2630f4098 Declare the scsipi_xfer's "flags" member to be volatile, to force it
to be reloaded every time it is checked.  This avoids a condition where
it can be cached in a register in such a way that updates to the flags in
an interrupt handler to not be noticed, which in turn causes the process
doing the i/o to sleep forever.  Bug report and suggested fix from
Hiroshi HORIMOTO <horimoto@cs-yuugao.cs.sist.ac.jp>, PR $4460.
1997-11-20 04:09:19 +00:00
thorpej 1ff808f998 Add support for the D-Link DE-650, from Eric S. Hvozda <hvozda@helios.ack.org>,
PR #4455.
1997-11-20 04:02:34 +00:00
mjacob eb498a6ab2 argv alloca'd is too short. Alloc an extra member. 1997-11-20 01:26:45 +00:00
mrg 6074e1b476 install games that need it setgid. 1997-11-20 00:12:30 +00:00
pk cbf2f164ad The pgtalloc() stuff is still not doing the right thing on non-MXCC
vikings... i don't know why.  Install a work-around in setpgt4m(),
that is still lying about here.
1997-11-19 23:19:13 +00:00
pk b9746b3d00 splpmap() is again equivalent to splimp(). 1997-11-19 23:05:49 +00:00
pk 62f73256ff Use intr_establish() to install the timer interrupt handlers. 1997-11-19 23:03:47 +00:00
pk de106f6489 1. Implement a trick from Chris Torek: if an unhandled interrupt occurs
during auto-configuration (`cold'), raise interrupt level to splhigh
   and return, instead of reporting a stray interrupt.

2. In cpu_switch(), start running a newly selected proces at splclock()
   instead of the saved IPL, allowing high-priority interrupts in
   ctx_alloc() which can take many cycles to install a new context
   (especially on the two-level sun4c MMU).
1997-11-19 22:59:05 +00:00
gwr f0047e072f Better definition of PA_IS_DEV, and use it two more places. 1997-11-19 19:28:10 +00:00
agc 16b3bf5830 Eliminate a nasty and horrible kluge by using the BSD.x11.dist when
checking the directory tree for an X11 package.
1997-11-19 16:41:21 +00:00
mjacob 261191603a copyright foo 1997-11-19 15:35:36 +00:00
augustss 2e65c33090 Make sure isapnp_config() runs before we allocate the DMA channels. 1997-11-19 14:19:59 +00:00