Commit Graph

28908 Commits

Author SHA1 Message Date
thorpej f2317e1c5b Changes to support NetBSD, written by me, tested by Matthias Drochner:
- Add NetBSD autoconfiguration support.
- Rearrange code slightly to minimize the number of #ifdefs.
- Don't use a structure to access CSRs.  Use macros that DTRT for
  the NetBSD and FreeBSD cases.
- Deal with alignment contraint on Alpha - add 2-byte padding at the
  beginning of the RFA, so that the data will be 4-byte aligned, after
  the 14-byte Ethernet header.
Thanks to Matthias Drochner for the testing, and David Greenman for
the feedback on the changes.
1997-06-05 02:01:55 +00:00
thorpej 7fa6876537 Import FreeBSD's Intel EtherExpress PRO 10/100B driver, written
by David Greenman.
1997-06-05 01:50:48 +00:00
christos d5538cb536 Try to fix the tags mess.
- Build in obj/tags
- Only create ${.CURDIR}/tags if 'make tags' is specify.
- ${.CURDIR}/tags is a symlink to /var/db/libc.tags
1997-06-04 23:11:54 +00:00
is 6d6e724440 Reorganize buserr/addrerr stuff, to allow omitting unused code in single-cpu
kernels, at the same time getting rid of up to 3 conditional branches and a
bit over one cacheline fetch (for the 68060; the saving is a bit smaller for
040 and yet smaller for the 020/30).
While we're here, also get rid of an redundant lea (using SP-relative
addressing) and of two redundant pushes.
While we're here, also fix a panic which would tear us down on 68060 machines
if a branch prediction error ever occured.
1997-06-04 22:12:43 +00:00
perry f2b935d7c6 make closer to reality. 1997-06-04 21:39:34 +00:00
mellon e888b2d22b Lose message on short icmp echoreplies 1997-06-04 21:04:10 +00:00
cgd 9d52c4bb31 4th arg to bus_space_{read,write}_multi_2() is a u_int16_t *, and should be
cast if it isn't.  (These casts aren't necessarily safe, because of
alignment issues, but they allow the code to compile with prototyped versions
of bus_space_{read,write}_multi_2().)
1997-06-04 20:42:56 +00:00
perry fb7dc23a39 sync to reality 1997-06-04 18:22:07 +00:00
leo f42858310e Use m68k cacheops 1997-06-04 14:33:49 +00:00
leo bafe3a5dcf Use MACHINE instead of MACHINE_ARCH to make fdformat on the atari. 1997-06-04 13:54:08 +00:00
leo 60d8682a5b Add the 68060 Software Support Package. 1997-06-04 13:51:48 +00:00
leo 75fe0ae7a5 Export vectab label (68060 changes). 1997-06-04 13:50:25 +00:00
pk 19d4236655 Put `-DPIC' back in CPICFLAGS (a.out section); at least one C source
file (sparc/include/profile.h) relies on this.
1997-06-04 08:38:45 +00:00
mikel 2acd0ee09a optarg -> optstring and rewording from Brian Grayson in PR misc/3697. 1997-06-04 06:42:38 +00:00
mikel c82e54d994 nuke extra : in usage string 1997-06-04 04:38:37 +00:00
jtk d935ace5a0 1) When we cannot complete our attachment, don't just return 0 but also
disconnect from the BIOS

2) when text segment as claimed by BIOS is out of sensible range, punt
completely rather than trying to shrink it to fit the ISA hole.  Some
BIOSes would crash with the previous behavior.  Some won't have a
working APM with the new behavior, but their BIOSes are broken.

Suggested by Chris Demetriou, with very minor tweaks by me.
1997-06-04 03:34:43 +00:00
cgd 86b5c1e498 make REGVAL macros use volatile pointers 1997-06-04 01:47:15 +00:00
mellon 57eeaacdcc Add dns.c and resolv.c 1997-06-04 00:31:53 +00:00
mark 323b20590a Remove some nasty casts in macros. This fixes problems accessing raw
partitions > 4GB in size.
1997-06-03 23:48:36 +00:00
kleink 72a0532ba2 Add an Xref to rmdir(2). 1997-06-03 22:28:25 +00:00
kleink 5ddc3f534d Always use rmdir(2) to remove a directory, as the file system may prohibit
using unlink(2) on directories.
1997-06-03 22:26:38 +00:00
cgd 079e0c6bff make REGVAL macros use volatile pointers 1997-06-03 21:54:02 +00:00
cgd ba43d7fec5 do not spew about processes which have had fatal traps, unless DEBUG
is defined.  Actually, it never should do it, but DEBUG should be 'never'
for most users.
1997-06-03 17:38:50 +00:00
cgd e2bc183e52 remove DEBUG from GENERIC kernel 1997-06-03 17:37:58 +00:00
kml 6a233e37f6 Fix urgent pointer overflow problems when used with large windows 1997-06-03 16:17:09 +00:00
cgd 521240796e declare ${DESTDIR}${INCSDIR}/$I .PHONY if UPDATE isn't defined, so that
headers will be installed properly in the !UPDATE case.  From Christos.
1997-06-03 16:00:30 +00:00
kleink 0e1fa19edf Nuke a spurious (but under !__STDC__ fatal) space from last commit. 1997-06-03 10:19:45 +00:00
kleink c9e453859c Replace some hand-crafted concatenation with the __CONCAT() macro. 1997-06-03 10:04:20 +00:00
thorpej 4ae176cb0a Ooops! Not meant for the trunk; these need to be added to the branch! 1997-06-03 07:01:58 +00:00
thorpej 36e7d039c0 Add "typedep" code to deal with both the 32-bit and 64-bit PTE formats
found on Alpha workstation and server PCI bridge chipsets.
1997-06-03 07:00:20 +00:00
mikel b606e6941b fix some minor macro usage and other bugs; some from Saitoh Masanobu
in PR misc/3656, others by myself.
1997-06-03 06:31:20 +00:00
mikel 1c200deee9 fix some paste-os and other minor problems. 1997-06-03 05:38:59 +00:00
lukem a9fe880b0c explicitly \0 terminate locname[] in treescan(). should fix [bin/2093] 1997-06-03 04:27:49 +00:00
mikel 0bf17c4d39 fix typo; from Saitoh Masanobu in PR misc/3696.
also comma-separate and reorder xrefs.
1997-06-03 04:24:25 +00:00
mellon 185e701358 970602 snapshot 1997-06-03 02:49:04 +00:00
mycroft eed746a9eb Don't interpret _POSIX_VDISABLE as a special character. 1997-06-03 01:51:43 +00:00
phil 71fb702409 Update Sys V shared memory options. Still commeted out, but now correct. 1997-06-03 01:38:00 +00:00
leo 6360466b8b Add ipfileter stuff. 1997-06-02 20:46:26 +00:00
leo 154afe5d70 Add ipfilter stuff. 1997-06-02 20:40:40 +00:00
leo 6793c446f0 An attempt to make a generic m68k implementation for cache control operations.
Not yet completely finished.
1997-06-02 20:26:37 +00:00
leo 37325cfb41 More stuff for handling an 68060. 1997-06-02 12:03:40 +00:00
mrg 701a388310 rsh is not setuid anymore. 1997-06-02 11:58:13 +00:00
mrg 32b4c34ed2 rcmd(1) does not use argv[0] for hostname, like rsh does.
apply patch for pr#3695 from <hannken@ppp-jhi.eis.cs.tu-bs.de>.
1997-06-02 11:57:23 +00:00
leo 45ae0c3916 Be a bit more robust when dealing with genassym failures (From mycroft). 1997-06-02 11:49:02 +00:00
kleink f8c2019a61 Add chrtbl(8). 1997-06-02 10:17:41 +00:00
kleink 06b78a313c Add a utility to create character classification and upper <-> lower conversion
tables, as well as numerical formatting specifications.

Thanks go to Christos Zoulas for reworking this into SVR4/Solaris style,
and to Matthias Scheler <tron@lyssa.owl.de> for contributing his initial
work in PR/3592!
1997-06-02 10:16:41 +00:00
kleink dbda158f1f Add support for localized character sets (a.k.a. LC_CTYPE).
Thanks go to Matthias Scheler <tron@lyssa.owl.de> for contributing his initial
work in PR/3592, and to Christos Zoulas for refining it!
1997-06-02 09:52:36 +00:00
jonathan 6aa07ba92c Add #ifdef _KERNEL/#endif around prototype of mips single-step emulator.
Add "struct proc;" inside the ifdef: <sys/proc.h> includes <machine/proc.h>
before declaring struct proc.
1997-06-02 01:58:38 +00:00
perry d27bc903b5 trivial reformat -- one space to a tab 1997-06-02 00:26:49 +00:00
mjacob 62b3daa7d2 Finally found the cause of that nagging 'lost command' (for the first
command) bug: the initial response queue index is take from mbox 5,
not mbox 4, and mbox 5 wasn't getting initialized to zero.
1997-06-01 23:42:04 +00:00