Commit Graph

125230 Commits

Author SHA1 Message Date
junyoung 2ed9c2c7b7 ANSIfy. 2004-03-21 15:37:02 +00:00
pk 7446de9195 Add sparc64 cell_t definitions.
Change OF_interpret() prototype to the unabridged version.
2004-03-21 15:12:35 +00:00
jdolecek ca851523f4 add mount_smbfs 2004-03-21 15:11:21 +00:00
pk 3b45f4cb4c OF_stdin() and OF_stdout() are obsolete. 2004-03-21 15:09:25 +00:00
pk 05a2b2300b Use the promlib I/O routines. 2004-03-21 15:08:24 +00:00
pk b865f2441c `stdin' and `stdout' are obsolete. 2004-03-21 15:07:00 +00:00
pk 107e759b1c Two commas went missing in last commit. 2004-03-21 14:28:47 +00:00
pk 2a26804b1a Reach over to the sparc openfirm & openprom implementation. 2004-03-21 14:25:51 +00:00
pk f7fe3a3531 Partial switch to the promlib interface. 2004-03-21 14:22:52 +00:00
pk f1bff50602 Mostly switch to promlib interface. Postpone the use of prom_makememarr()
since the sparc64 memory range properties aren't compatible yet.

Fix pmap_calculate_colors() in the process.
2004-03-21 14:19:30 +00:00
pk 0d449eda9b Switch to promlib interface. 2004-03-21 14:15:35 +00:00
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