Commit Graph

125169 Commits

Author SHA1 Message Date
pk e0b67a7f3e Drop prom_printf() + some other unused stuff. 2004-03-21 14:13:15 +00:00
pk 6521621036 Switch to the sparc prom library. 2004-03-21 14:10:08 +00:00
pk fb7560550b Add sparc/sparc/promlib.c. 2004-03-21 14:07:01 +00:00
pk ef98c2defb Reach over to the sparc versions. 2004-03-21 14:05:43 +00:00
pk afe147460e Add openfirmware() entry point, since it's no longer defined as a macro
in openfirm.c.
2004-03-21 14:04:30 +00:00
pk b5a947488b * Add OF_claim() for sparc64.
* Change OF_interpret() to the unabridged version.
* Sync OF_sym2val() and OF_val2sym() with the psarc64 versions.
2004-03-21 14:02:39 +00:00
pk 4b86fd8eed opf_getboot{path,file,args}: return static storage so these can be used
in the early boot phase.

Define prom_interpret() to be a simple form of the Openfirmware OF_interpret().

Re-arrange OLDMON code in prom_getidprom() to make it compile on sparc64.
2004-03-21 13:57:58 +00:00
pk d7d8742ed3 Turn members of `struct memarr' into long ints, to help sparc64 integration. 2004-03-21 13:52:00 +00:00
jdolecek 93afaf4fc0 use SMBVDEBUG() instead of #ifdef SMB_VNODE_DEBUG 2004-03-21 13:43:46 +00:00
jdolecek 76763df930 no need of #ifdef SMB_VNODE_DEBUG around SMBVDEBUG() 2004-03-21 13:43:09 +00:00
mrg 0275cc80b8 fix a (syscall args) comment. 2004-03-21 13:26:44 +00:00
martin 9bea7e2495 Not uvm_bio.c disabled optimization on sparc64 32bit kernels. 2004-03-21 13:17:14 +00:00
martin d315780ef4 Disable optimization when compiling uvm_bio.c with a 32 bit compiler. 2004-03-21 13:12:30 +00:00
martin 55dfc16be5 Make sure prom_getprop is called with the size pointed to by nitem
initialized. (Some of these are more paranoia, but two were actual bugs.)
Print error codes in some panic messages.
2004-03-21 12:50:14 +00:00
dsl 54b6a75114 A better fix for PR kern/24809, old filesystems should work ok now! 2004-03-21 12:46:57 +00:00
dsl 42e3b20f75 Fix PR kern/24809 properly... 2004-03-21 12:37:48 +00:00
jdolecek f7461cc453 make the fallback to *SMBSERVER actually work (tested against Windows NT
share)

this fixes PR kern/23401 by Hubert Feyrer for real, and also fixes
PR kern/20991 by Robert Vargason
2004-03-21 12:30:51 +00:00
he b38a526b83 The man-page symlink should be pckbport_set_inputhandler, not
pckbport_set_inputhandle -- make it so.
2004-03-21 11:49:28 +00:00
simonb 84b7d801ac Only initialise ksi if we use it. 2004-03-21 10:56:24 +00:00
mrg 057c3b737e in -r mode, if given "-s sensor_list", only list the given sensors instead
of always listing them all
2004-03-21 10:52:26 +00:00
mrg a698ba9223 allow the number of vnd's created to be patchable... 2004-03-21 10:51:16 +00:00
aymeric 0c43568c58 pmap_pinit(): improve the hash function in the case of collisions, the
previous version would easily make the low order bits oscillate between 0
and some other value.

Together with the previous change, this should make those
pmap_pinit: out of segments
panics even less likely.

We should really attempt a systematic search before panic()ing at the end.
2004-03-21 10:34:56 +00:00
aymeric 560cb79c0e . don't call VSID_TO_HASH() on a pmap.pm_vsid. It already holds the hash value.
This should fix PR #24754, as well as many of the hangs and process
  aborts reported on port-macppc@ in the last weeks.
  This error would cause the pmap's vsid never to be freed, and would
  occasionnally free a valid vsid used by another pmap, sometimes the kernel's.
. add a related KASSERT() to avoid regression
2004-03-21 10:25:59 +00:00
jdolecek 8c5dfdc365 Allow the [, ], and = characters in non-8.3 filenames since they
are allowed by Windows (ref: MS KB article 120138).

Change follows FreeBSD rev. 1.40
2004-03-21 10:24:01 +00:00
jdolecek 1e14d87c7e follow FreeBSD and replace code using the try/catch paradigm
abstracted by itry, ithrow, icatch et.al. macros

there is problem with these in stack setup for FreeBSD/ia64 at least,
and in general the rewritten explicit code is slighly more optimal
and smaller in size

the NetBSD code change is somewhat different to what was done in FreeBSD,
to improve readability of the code
2004-03-21 10:09:52 +00:00
simonb 221634063e Fix option handling so that you can show information about more than
one thing at a time.
Patch from Chris Demetriou a very long time ago.
2004-03-21 10:02:12 +00:00
jdolecek 55447aba3b change the default SMB share owner - when run by non-root, use same uid as
the owner of the mount point (or user specified via -u); this is necessary
to succeed the permission check in the kernel SMB share code

owner setting via -O would still apply, but it's now not necessary when
doing non-root mount
2004-03-21 08:35:18 +00:00
jdolecek b717338fee clarify the error message when the open of /dev/nsmb* fails
enable the check for cloned /dev/nsmb, to simplify eventual future switch
to cloned /dev/nsmb device

use compile time string concatenation for one constant string
2004-03-21 07:16:39 +00:00
oster 3dd7f5503f Fix a nastly little bug that I've been chasing over the past 12 hours.
If raidPtr->numFailures isn't initialized properly, then all sorts of
whacky things can happen, including incorrect DAGs being generated.
(Triggering this problem is a little esoteric, which is why this bug has
been in hiding for so long -- I only saw it after rebooting with a
degraded RAID 5 set that was autoconfigured, rebuilding the failed
componennt, and then failing the component while IO was happening to
the RAID set.)
2004-03-21 06:32:03 +00:00
oster 492aa07868 Doesn't hurt much to zero this before we start mucking with it. 2004-03-21 06:16:49 +00:00
mrg 3b66f6e642 clean up my copyright 2004-03-21 05:47:44 +00:00
mrg 05cd119306 remove my copyright statement 2004-03-21 05:46:42 +00:00
oster 01e44f9df5 Add in a couple of missed foo=foo->next's. 2004-03-21 03:22:08 +00:00
uwe 0589938ad6 s/r15/sp/ for clarity.
Whitespace nit.
2004-03-21 02:20:21 +00:00
he 89ae25ef5b Also temporarily remove servent until it's made compileable again
after recent changes to <netdb.h>.
2004-03-21 01:47:00 +00:00
mrg f433e33bb4 also define __sparcv9. noted by heas@ 2004-03-21 01:22:12 +00:00
mycroft 9f9d44127e Remove part of a very old change that caused NFS to not enforce socket buffer
limits.  No idea why it was done in the first place.

Don't remember who reported this, but I think it was yamt.
2004-03-21 00:54:46 +00:00
uwe 43e4b74e81 Add _DPRINTFN. 2004-03-21 00:41:04 +00:00
he 4eb714337c Remove protoent from SUBDIR, since recent changes to netdb.h makes
it fail to build.
2004-03-20 23:27:40 +00:00
heas 209ebbab46 - deal with a dead tty in ttyflush() by cleaning-up and exiting instead of
returning a failure code and processing that all the way up the stack.
- deal with a dead peer similarly and do it without setjmp/longjmp() (at
  christos' request).

These fix bin/20304 and my own observations when the remote abruptly closes
the connection.
2004-03-20 23:26:05 +00:00
heas d5561e39ff remove duplicate description of DEFAULT keyword (introduced by me). 2004-03-20 23:10:01 +00:00
perseant 5aaab72dd6 change KES license to standard NetBSD license 2004-03-20 22:31:13 +00:00
bjh21 b38b985f56 pckbport(9) and friends. 2004-03-20 22:05:56 +00:00
snj a374a1f8f1 Fix a typo. 2004-03-20 21:52:54 +00:00
groo 80ddfc8cb9 update documentation from 0.9.7b to 0.9.7d 2004-03-20 21:48:44 +00:00
wiz 1f250009b5 New sentence, new line. Remove superfluous double quote.
Fix a typo.
2004-03-20 21:43:03 +00:00
bjh21 8808a41bd8 Kernel-internal documentation for pckbport. 2004-03-20 21:28:59 +00:00
oster ac19c32ed5 Can't conditionalize cleanup on numStripeUnitsBailed -- have to
cleanup regardless.

More importantly, we can't free any of the AccessStripeMaps here!
2004-03-20 21:25:55 +00:00
christos e4b3e03b4c Remove extraneous ; from OpenBSD. 2004-03-20 21:16:55 +00:00
jdolecek 64022a06e1 Add missing permission checks to the smbfs VOP_SETATTR vnode op for the
case where the caller requests to change access or modification times.
Change obtained from FreeBSD rev. 1.30
2004-03-20 21:03:42 +00:00