Commit Graph

38970 Commits

Author SHA1 Message Date
jkh
03d36097e5 Fix time of last dump handling.
Submittted by:		Richard Wiwatowski <rjwiwat@ozemail.com.au>
1999-07-02 04:44:43 +00:00
peter
06d465779b Sync with GENERIC.. (Gee, this is a useful file..) 1999-07-02 04:36:48 +00:00
peter
b2ceca9964 Zap totally the npx0 memory size override. It only worked if statically
specified in the kernel config file - but setting options MAXMEM works
exactly the same.  Userconfig overrides of this have not worked for
ages.

Also, change the getenv for the loader override to hw.physmem based on a
prior suggestion from Mike Smith.  I think he still wants to change this
some, but this shouldn't get in his way.  This is a forced setting of
the memory size, not a "cap".  We probably should have a plain 'maxmem'
variable as well which does do a cap, without loosing the bios memory
configuration data.
1999-07-02 04:33:05 +00:00
peter
e79ae62f6f Change the cast in pci_map_port() from u_short * to pci_port_t * so it
compiles cleanly on the Alpha.  (On the alpha, the port type is an int,
not a short).
Cast a couple of pointers to ints via 'uintptr_t' rather than 'unsigned
int' since uintptr_t is long (64 bit) on Alpha, as are pointers.
1999-07-02 04:17:16 +00:00
mjacob
68d7003784 Replicate changes to i386 to do tags. I doesn't work yet 'coz ctags dumps
core, but when that is fixed it ought to.
1999-07-02 04:16:57 +00:00
jkh
68ec92b0c6 Working kernel tags!
Submitted by:	Craig Leres <leres@ee.lbl.gov>
PR:		2806
1999-07-02 04:00:01 +00:00
jkh
221b6ad2f5 127 fire Firewire driver <ikob@koganei.wide.ad.jp> 1999-07-02 02:49:24 +00:00
jkh
4206273f1d Fix stupid error where more bits where set than actual distributions
used.  Doh!

Embarassingly-pointed-out-by:	Brian Dean <brdean@unx.sas.com>
1999-07-02 02:00:23 +00:00
peter
95cc52fe28 #include <machine/md_var.h> to bring the prototype for
alpha_platform_assign_pciintr() into scope (!).
1999-07-01 22:58:03 +00:00
peter
438f240ecd Fix a warning - the code is correct but gcc can't tell. 1999-07-01 22:54:55 +00:00
peter
5aea52b344 Moving the initialization for write sooner quiets a warning. 1999-07-01 22:52:40 +00:00
peter
e5f9a83488 Unused variable. 1999-07-01 22:49:03 +00:00
peter
6bca1c545d Pull some prototypes into scope 1999-07-01 22:48:31 +00:00
peter
4049435cac Add alpha_platform_setup_ide_intr() and alpha_platform_assign_pciintr()
prototypes.
1999-07-01 22:47:53 +00:00
peter
3875064428 Fix a printf int/long problem on the Alpha 1999-07-01 22:14:51 +00:00
peter
711f2e5384 move <sys/systm.h> before <sys/buf.h> 1999-07-01 22:12:39 +00:00
peter
bcdf6e00fd #include <machine/md_var.h> to get prototype for alpha_register_pci_scsi(). 1999-07-01 22:00:12 +00:00
peter
491d95c640 Declare busdma_swi() like on i386 version. 1999-07-01 21:58:38 +00:00
mpp
96041f60b9 Nuke the BUGS sections of these man pages because they are not appropriate. 1999-07-01 21:13:06 +00:00
mpp
46f2e082fe Fix typos/spelling errors. 1999-07-01 21:09:57 +00:00
peter
a20576a15f Avoid warning on nextpaddr, just like on the x86. 1999-07-01 20:59:56 +00:00
mks
c12e85162e Modify code to be -Wall'able.
PR: bin/11315
1999-07-01 20:48:59 +00:00
peter
db67750420 Tidy up a few warnings when used without splash. (things defined but not
used)
1999-07-01 20:43:03 +00:00
peter
a16018be5f Prototype for alpha_fix_srm_checksum(). 1999-07-01 20:34:28 +00:00
peter
0089ef2c98 Fix warnings on the Alpha. 1999-07-01 20:29:25 +00:00
peter
24a715a2cd Get prototype for isa_init_intr(). 1999-07-01 20:25:39 +00:00
peter
d52dcc0ad7 Fix a warning, and pull prototypes into scope for ide/isa interrupt setup. 1999-07-01 20:23:01 +00:00
peter
c1b9d9a545 Fix printf int/long format problems on the Alpha. 1999-07-01 20:01:03 +00:00
wes
d3b7cd630d Add mising aio_* man pages. Fixed a minor typo in aio_read.2,
and "corrected" statement of Posix conformance.
1999-07-01 19:58:12 +00:00
peter
4c2774844e int/long printf format problems on the Alpha. 1999-07-01 19:56:50 +00:00
peter
f6eb5aa9a8 Fix some int/long printf problems for the Alpha 1999-07-01 19:53:43 +00:00
peter
d7071c18f2 Quiet warnings on an Alpha. CBSIZE has long type and causes the other
ints to promote to long.
1999-07-01 19:46:36 +00:00
peter
3035e78723 Quiet warnings on Alpha. (db_expr_t is a long on alpha, int on x86) 1999-07-01 19:42:56 +00:00
jkh
7e10909dcd Remove the now-bogus comment about using iosiz with npx0 for memory
sizing - environment does this properly  now.  Thanks, Peter!
1999-07-01 18:39:23 +00:00
peter
bf0087145c Look up the kernel environment for MAXMEM as a final override for the
memory size.  If somebody wants to change the name, fine - I used this
since it's consistant with the config variable it replaces.
This is intended to replace the npx0 msize hack (which no longer works).
1999-07-01 18:33:22 +00:00
peter
12d5777cd5 Move kern_envp and preload initialization a little earlier so that we
can do a getenv_int() inside the memory sizing routines to override the
memory limit.
1999-07-01 18:27:15 +00:00
billf
cb1432f381 Fix ambigious else.
Reviewed By:	eivind
1999-07-01 17:59:17 +00:00
peter
c56d47c7a1 Don't include trailing whitespace in ID tokens before comments. ie:
options FOO=10		# comment
would give FOO the value of "10		" and that caused unwanted
touches on the opt_*.h files.

I hope I've got this right..
1999-07-01 16:20:16 +00:00
peter
238abea5d1 Detect and remove defunct or unknown options from opt_*.h files. This
can happen when options are removed from the options files.
1999-07-01 16:17:13 +00:00
peter
8a59a0e391 Fix two easy warnings when using BRIDGE without IPFIREWALL. 1999-07-01 15:07:08 +00:00
peter
40dd5d3cd7 Fix some warnings, unused functions etc. 1999-07-01 15:05:11 +00:00
ru
62f711207c Document that FTP_PASSIVE_MODE should be explicitly
set to `YES' for passive mode to be used by default.
Just setting FTP_PASSIVE_MODE is not sufficient, as
it was before.

Noted by:	eivind
Reviewed by:	des
1999-07-01 14:32:07 +00:00
ru
5a67b5c03e Turn System V command line syntax ``on'' by default.
Requested by:		peter
Reviewed by:		des, billf
1999-07-01 13:33:56 +00:00
peter
535675f7fe Fix warning. va_fsid is udev_t, which is int32_t. No need to use %lx. 1999-07-01 13:32:54 +00:00
kris
888c8a3dba Spelll 'asynchronous' coriectly 1999-07-01 13:31:30 +00:00
peter
59391814b7 Slight reorganization of kernel thread/process creation. Instead of using
SYSINIT_KT() etc (which is a static, compile-time procedure), use a
NetBSD-style kthread_create() interface.  kproc_start is still available
as a SYSINIT() hook.  This allowed simplification of chunks of the
sysinit code in the process.  This kthread_create() is our old kproc_start
internals, with the SYSINIT_KT fork hooks grafted in and tweaked to work
the same as the NetBSD one.

One thing I'd like to do shortly is get rid of nfsiod as a user initiated
process.  It makes sense for the nfs client code to create them on the
fly as needed up to a user settable limit.  This means that nfsiod
doesn't need to be in /sbin and is always "available".  This is a fair bit
easier to do outside of the SYSINIT_KT() framework.
1999-07-01 13:21:46 +00:00
sheldonh
6dcae7f011 Fix the NAME section of the kldload.2 manpage, which made reference to
kldunload. Add proper cross-references to the whole family.

PR:	12472
Submitted by:	Chris Costello <chris@calldei.com>
1999-07-01 12:16:06 +00:00
jkh
01b37cc97d Sigh. It's always the smallest changes that generate the largest public
commentary. :)  3rd and final frob of this.  Leave enough comments
behind that anyone running into trouble at least has some cited clues
on dealing with it and jump into the brave new world with uncommented
IANA port assignments.
1999-07-01 11:36:38 +00:00
billf
517cc3c451 (1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.
(2) Die when there is a problem opening at.allow other then it not existing.
    An error other then it not existing might be a trick to somehow
    circumvent system security.

Mostly Reviewed By:	msmith
1999-07-01 01:07:30 +00:00
jkh
40ef2af7a3 Compromise proposal: Comment out both old and new radius ports, explain
the differences in the comments, let the USER select which assignment to
use now.

Suggested by:		rgrimes
1999-07-01 00:08:08 +00:00