Commit Graph

84820 Commits

Author SHA1 Message Date
simonb
49e4ac39e7 Include <limits.h> for LONG_MIN/LONG_MAX.
Put kernel include file first, as per KNF.
2001-09-01 02:17:29 +00:00
simonb
7e448d13f5 Don't need <sys/types.h> or <sys/time.h> before <sys/resource.h>.
References: SUSv2
2001-09-01 02:01:48 +00:00
simonb
504907b03b Don't need <sys/types.h> either (ref: SUSv2). 2001-09-01 01:59:42 +00:00
simonb
134164f42c Little cleanup:
- Don't need to include <sys/time.h>, <sys/resource.h> does.
 - Include <limits.h> for LONG_MIN/LONG_MAX.
 - Be consistant with usage of (void) in front of printf()/fprintf().
 - Sort include files.
 - ANSIfy.
2001-09-01 01:57:28 +00:00
mjacob
18e1071fce Add table value for Ultra3, so configuring an Ultra3 disk shows:
sd1: sync (12.5ns offset 14), 16-bit (160.000MB/s) transfers, tagged queueing enabled

instead of:

sd1: sync (36.0ns offset 14), 16-bit (55.554MB/s) transfers, tagged queueing enabled
2001-09-01 00:54:38 +00:00
mjacob
4986b9ee8b Ulp! Open Wide! Another Firmware Enchilada!
2-Gigabit card firmware.
2001-08-31 22:28:37 +00:00
chuck
31ae40ba15 confirmed the code for MID_VAX1K NMAGIC binaries was wrong,
you've got to pad the text just like with 4.3BSD binaries.
fix it.

i have now successfully tested compat-vax1k with real
o/m/z magic binaries from both 4.3BSD and netbsd 1.3.
2001-08-31 18:44:12 +00:00
martin
c51e03edde Move struct segmap declaration inside #ifndef _LOCORE to make locore.s
compilable again.
2001-08-31 18:06:13 +00:00
eeh
5783dd5873 instance-to-path works on instances not nodes. 2001-08-31 17:10:54 +00:00
eeh
ed373b780a Change data segment size calculations so we don't need to resize if the
bootloader did it for us.
2001-08-31 16:47:41 +00:00
itojun
ee42f09d5b upgrade to KAME 2001/8/31. 2001-08-31 10:36:08 +00:00
itojun
9e9f5f3086 KAME as of 2001/8/31 2001-08-31 09:59:03 +00:00
itojun
89c23ae51c sync manpage with latest kame. 2001-08-31 09:53:23 +00:00
cjs
da09d12c1e Document that PermitRootLogin's default is now "no". 2001-08-31 09:00:29 +00:00
cjs
894936aa50 Do not permit direct root logins. This makes ssh consistent with
NetBSD's default security policy in this area: if you are not on
a secure terminal, you must be able to authenticate as a user in
the "wheel" group before you may attempt to authenticate as root
using the root password.
2001-08-31 08:16:24 +00:00
lukem
a565a4a989 fix a couple of typos in option descriptions 2001-08-31 08:03:27 +00:00
jsm
488fd227b8 Always lseek back to the beginning of the file in post(), which may be
called twice in a game if a bonus occurs.  Patch from Malcolm Parsons
<malcolm@ivywell.screaming.net>.
2001-08-31 07:17:02 +00:00
jsm
a9d4ab8d8a Ensure that the random hop delta does make the cave connected. Based
on bug report and patch from <afghan@afghanhound.org.uk>.
2001-08-31 07:16:22 +00:00
jsm
20af46d385 Keep track of visible worm length. If nowhere is available for the
new prize, have the player win rather than hanging.  Bug reported by
Malcolm Parsons <malcolm@ivywell.screaming.net>.
2001-08-31 07:15:44 +00:00
augustss
60ffafe273 Add a new quirk, PQUIRK_NOBIGMODESENSE, for devices that need big
SCSI ops, but still fails on big mode sense.
Makes M-Sys DiskOnKey work.
2001-08-31 07:09:41 +00:00
augustss
033a7fa40d Some quirks for USB M-Sys DiskOnKey. Still not enough to make it work. 2001-08-31 06:54:42 +00:00
chs
94d6f3ee95 map files are zero-length. 2001-08-31 04:56:26 +00:00
simonb
023bdd2bf2 Use comments around the token after a #endif. 2001-08-31 04:44:54 +00:00
simonb
e5b3cbb4cd Use comments around the token after a #endif. 2001-08-31 04:18:52 +00:00
simonb
a6b8c86af0 Remove an unneeded comment; ``sync'' with other "just include <mips/foo.h>"
files.
2001-08-31 03:53:22 +00:00
simonb
4ac4da1c52 G/C the unused kernel-only CLK_TCK #define.
XXX: does include/time.h still need <machine/limits.h>?
2001-08-31 03:46:03 +00:00
lukem
563fb2d03f no need to cast arg to lblktosize() any more 2001-08-31 03:38:45 +00:00
lukem
2bfd8a2678 More fixes from FreeBSD (with changes):
- Cast blk argument to lblktosize() to (off_t), to prevent 32 bit overflow.
  whilst almost every use in ffs used this for small blknos, there are
  potential issues, and it's safer this way.  (as discussed with chuq)
- Use 64bit (off_t) math to calculate if we have hit our freespace() limit.
  Necessary for coherent results on filesystems bigger than 0.5Tb.
- Use lblktosize() in blksize() and dblksize(), to make it obvious what's
  happening
- Remove sblksize() - nothing uses it
2001-08-31 03:15:45 +00:00
briggs
e6ca9b3514 Fix use of uninitialized variable. Missed by gcc, spotted by enami. 2001-08-31 01:00:16 +00:00
lukem
9839c99d92 fstabscan() fixes:
- if _fs_fstab.fs_type is NULL, the line is incorrect, so warn about it
  rather than trying to deference a NULL pointer.
  fixes [bin/13787] by Dave Burgess.
- clear _fs_fstab before each use (just to be sure)
2001-08-31 00:31:07 +00:00
simonb
ba96ebc2fd Match quotes. 2001-08-31 00:17:45 +00:00
mjl
7312906ef0 Remove duplicate fortunes. 2001-08-31 00:10:17 +00:00
lukem
8262a6ac5a Expand description of shells(5) requirement.
Per PR [misc/13814] from Alexander Sorg.
2001-08-31 00:05:31 +00:00
wiz
9731e34bd0 Remove code #ifdef'd on NEWINIT (never used on NetBSD).
Sync with Cray, patch by Brian Ginsbach in private mail.
2001-08-30 23:25:15 +00:00
eeh
84fb62aba0 Handle kernels with data+BSS segments larger than 4MB. 2001-08-30 23:00:19 +00:00
eeh
f2e3486b5b Preliminary UltraSPARC III suport (not enabled yet). 2001-08-30 22:58:30 +00:00
matt
04bdd02c1a Make pmap_pte_insert STATIC so it will show up in DEBUG kernel with DDB
traces.
2001-08-30 22:06:44 +00:00
matt
4a580ee45e Make sure to restore SR 0 since returning from a syscall is actually
one way of doing a process context switch.
2001-08-30 22:00:48 +00:00
matt
a140263932 Add new 7450 SPRs 2001-08-30 21:55:27 +00:00
matt
50b056bc3a Teach db_trace that some low addresses are ok to trace. 2001-08-30 21:44:58 +00:00
briggs
fdedf9b80f Sandpoint set lists. 2001-08-30 20:55:53 +00:00
manu
7741a86c00 On the PowerPC, ldd now works, hence the removal from the BUGS section 2001-08-30 20:47:14 +00:00
manu
8e1033bfc3 Enable the GCC signature test so that ld.so will be executable (needed for
Linux's ldd)
2001-08-30 20:41:36 +00:00
manu
8537f76c98 Changed the way signature tests are done. This makes possible to run
ld.so as an executable on the PowerPC (Linux's ldd does this), and it also
much clearer IMHO.
2001-08-30 20:22:08 +00:00
rearnsha
46f383bde2 Adjust printf format string for size_t change. 2001-08-30 17:16:02 +00:00
soren
9b39be0b69 Regen. 2001-08-30 16:22:48 +00:00
soren
6863a605e0 Add some more Hifn chips. 2001-08-30 16:21:42 +00:00
lukem
0cf1d74c5b be consistent when casting arg to lblktosize() in UVM_PAGE_TRKOWN debug code 2001-08-30 15:17:28 +00:00
lukem
c56418af73 some improvements from freebsd/openbsd
- replace the unused fs_headswitch and fs_trkseek with fs_id[2], bringing
  our struct fs closer to that in freebsd & openbsd (& solaris FWIW)
- dumpfs: improve warning message when cpc == 0
2001-08-30 14:37:25 +00:00
mrg
c63364c612 ultrasparcen do not tftp ip.arch just ip. noted by <andrew@ugh.net.au> on port-sparc64 2001-08-30 12:26:06 +00:00