]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoaic7xxx_freebsd.c -> aic7xxx_osm.c
gibbs [Wed, 24 Apr 2002 16:59:47 +0000 (16:59 +0000)]
aic7xxx_freebsd.c -> aic7xxx_osm.c

22 years agoMajor update to the aic7xxx driver:
gibbs [Wed, 24 Apr 2002 16:58:51 +0000 (16:58 +0000)]
Major update to the aic7xxx driver:

ahc_eisa.c:
ahc_pci.c:
Conform to new aic7xxx IRQ API.

Adapt to aic7xxx_freebsd -> aic7xxx_osm changes.

aic7770.c:
Disable card generated interrupt early in our probe for
"extra safety"

Commonize some seeprom code with the PCI side of the driver.

aic7xxx.c:
Correctly initialize a few scratch ram locations during
a sequencer restart.  This avoids spurious sequencer ram
parity errors in some configurations.

Include the softc in ahc_update_residual calls.  We need it
for some diagnostics in this code path.

Flag a data overrun on an auto-request sense failure as a
CAM_AUTOSENSE_FAIL rather than a CAM_DATA_RUN_ERR.

Force a renegotiation after noticing a parity error.  This
covers targets that lose our negotiation settings but don't
bother to give us a unit attention condition.  This can happen
if a target fails during a reselection of us during a cable
pull.

Convert some code to using constants.

Fix some typos.

Correct target mode message loop handling.  ahc_clear_msg_state
was not clearing the "need to go to message out phase" bit once
our loop was over.

Simplify some abort handling code.

Include tag information in target mode immediate notify events.

When shutting down EISA controllers, don't EISA BIOS settings in
the high portions of scratch ram.  This fixes warm boot issues on
some systems.

Save a bit of space by only allocating the SCBs that we can use.

Avoid some code paths in ahc_abort_scbs() if we are currently
acting as a target.

Correctly cleanup stranded SCBs in the card's SCB array.  These
are SCBs who's mapping has already been torn down by code that
aborted the SCB by seeing it in another list first.

Add a comment about some potential bus reset issues for target
mode on Twin (EISA only) controllers.

aic7xxx.h:
Cleanup the hardware scb definitions a bit.

Allocate a ful 256 byte scb mapping index.  This simplifies
the lookup code since the table covers all possible (and potentially
bogus) values.

Make AHC_DEBUG work again.

aic7xxx.reg:
Updates to hardware SCB definition.

New definitions for target mode fixes.

aic7xxx.seq:
In target mode, initialize SAVED_LUN just after we receive
the identify message.  It may be required in the error recovery
path when a normal cdb packet (includes lun) is not sent up to
the host for processing.

Respond to irregular messages during a selection in target mode.

Defer looking for space for a cdb packet until we are about to
enter command phase.  We want to be able to handle irregular messages
even if we would otherwise return QUEUE_FULL or BUSY.

Add support for sending Ignore Wide Residue messages as a target.

In the disable disconnect case in target mode, set our transfer
rate correctly once data are availble.

aic7xxx_93cx6.c:
aic7xxx_93cx6.h:
Add the ability to write and erase the seeprom.

aic7xxx_inline.h:
Correct Big Endian handling of large cdb sizes (> 12 bytes).

Adaptec to changes in the calc_residual API.

Correct a target mode bug where we always attempted to service
the input queue even if no progress could be made due to lack
of ATIOs.

aic7xxx_osm.c:
Adaptec to new IRQ mapping API.  The new API allows the core
to only enable our IRQ mapping once it is safe (sufficient
initialization) to do so.

Slap bootverbose protection around some diagnostics.

Only attempt DT phases if we are wide.

aic7xxx_osm.h:
Enable big endian support.

Adjust for IRQ API change.

aic7xxx_pci.c:
Be more careful about relying on subvendor 9005 information.
We now only trust it for HBAs.  This should allow the driver
to attach to some MBs where the subvendor/device information
does not follow the Adaptec spec.

Only enable interrupts on the card once we are fully setup.

Disable external SCB ram usage on the aic7895.  I have not
been able to make it 100% reliable.

Adjust to seeprom routines being properly prefixed with "ahc".

Fix a few bugs in the external SCB ram probing routine.  We
need to clear any parity errors we've triggered during the
probe to avoid future, fatal, interrupts.

If we detect an invalid cable combination, pretent there are
no cable at all.  This will enable all of the terminators
which is probably the safest configuration we can "guess".

MFC after: 4 days

22 years agoConstify _malloc_options.
phk [Wed, 24 Apr 2002 16:49:36 +0000 (16:49 +0000)]
Constify _malloc_options.

22 years agoAdd macro functionality.
gibbs [Wed, 24 Apr 2002 16:24:43 +0000 (16:24 +0000)]
Add macro functionality.

Staticize and allow unique naming of data structures so that more
than on sequencer program can be statically compiled into the kernel
at a time.

22 years agoo Work around bugs in the powerof2 macro: It thinks that 0 is a power of
imp [Wed, 24 Apr 2002 15:30:11 +0000 (15:30 +0000)]
o Work around bugs in the powerof2 macro: It thinks that 0 is a power of
  2, but that's not the case.  This fixes the case where there were slots
  in the PIR table that had no bits set, but we assumed they did and used
  strange results as a result.
o Map invalid INTLINE registers to 255 in pci_cfgreg.c.  This should allow
  us to remove the bogus checks in MI code for non-255 values.

I put these changes out for review a while ago, but no one responded
to them, so into current they go.

This should help us work better on machines that don't route
interrupts in the traditional way.

MFC After: 4286 millifortnights

22 years agoFix a PNPID in a comment
imp [Wed, 24 Apr 2002 15:22:53 +0000 (15:22 +0000)]
Fix a PNPID in a comment

Submitted by: David Xu

22 years agoPR: 33966
hm [Wed, 24 Apr 2002 14:30:56 +0000 (14:30 +0000)]
PR:             33966
Submitted by:   Nicola Vitale <nivit@libero.it>
Reviewed by:    hm
MFC after:      3 days

22 years agoGC bsd.docb.mk. It has never apparently been used.
ru [Wed, 24 Apr 2002 13:48:45 +0000 (13:48 +0000)]
GC bsd.docb.mk.  It has never apparently been used.

22 years agoAbuse bsd.obj.mk for defining default distribute target.
ru [Wed, 24 Apr 2002 13:29:34 +0000 (13:29 +0000)]
Abuse bsd.obj.mk for defining default distribute target.

22 years agoGC bsd.sgml.mk. Nothing in the src/ tree uses it, and two doc/
ru [Wed, 24 Apr 2002 13:03:44 +0000 (13:03 +0000)]
GC bsd.sgml.mk.  Nothing in the src/ tree uses it, and two doc/
instances that still use it are unconnected from the build and
have corresponding DocBook replacements.

22 years agoBuild the catpages distribution in a more natural way.
ru [Wed, 24 Apr 2002 12:54:34 +0000 (12:54 +0000)]
Build the catpages distribution in a more natural way.

22 years agoMake specific provisions for the kernel simulator used in the regression
phk [Wed, 24 Apr 2002 12:53:12 +0000 (12:53 +0000)]
Make specific provisions for the kernel simulator used in the regression
tests, other userland programs may need to include <geom/geom.h>.

Sponsored by: DARPA & NAI Labs.

22 years agoThe chrooted environment isn't nearly pristine, so reset
ru [Wed, 24 Apr 2002 12:51:48 +0000 (12:51 +0000)]
The chrooted environment isn't nearly pristine, so reset
MAKEOBJDIRPREFIX to the canonical /usr/obj while there.

22 years agoRemove the -v option, it is now default behaviour.
phk [Wed, 24 Apr 2002 12:27:03 +0000 (12:27 +0000)]
Remove the -v option, it is now default behaviour.

Sponsored by: DARPA & NAI Labs

22 years agohandle ECONNABORTED.
ume [Wed, 24 Apr 2002 12:23:03 +0000 (12:23 +0000)]
handle ECONNABORTED.

Submitted by: morito@double-fault.net
Obtained from: KAME
MFC after: 3 days

22 years agoAdd some fortunes and re-order the Feynman problem solving algorithm.
tg [Wed, 24 Apr 2002 12:15:00 +0000 (12:15 +0000)]
Add some fortunes and re-order the Feynman problem solving algorithm.
Thanks to gsutter for the quotes.

Reviewed by: jkh

22 years agoContinue the cleanup preparations for UFS2 (& GEOM):
phk [Wed, 24 Apr 2002 11:44:02 +0000 (11:44 +0000)]
Continue the cleanup preparations for UFS2 (& GEOM):

Use only one filedescriptor.  Open in R/O or R/W based in the '-N' option.
Make the filedescriptor a global variable instead of passing it around
as semi-global variable(s).

Remove the undocumented ability to specify type without '-T' option.

Replace fatal() with straight err(3)/errx(3).  Save calls to strerror()
where applicable.  Loose the progname variable.

Get the sense of the cpgflag test correct so we only issue warnings if
people specify cpg and can't get that.  It can be argued that this
should be an error.

Remove the check to see if the disk is mounted:  Open for writing
would fail if it were mounted.

Attempt to get the sectorsize and mediasize with the generic disk
ioctls, fall back to disklabel and /etc/disktab as we can.

Notice that on-disk labels still take precedence over /etc/disktab,
this is probably wrong, but not as wrong as the entire concept of
/etc/disktab is.

Sponsored by:   DARPA & NAI Labs.

22 years agoThe install.debug and reinstall.debug targets are needed solely
ru [Wed, 24 Apr 2002 11:26:19 +0000 (11:26 +0000)]
The install.debug and reinstall.debug targets are needed solely
to build kernel and kernel modules so stop supporting them in
bsd.subdir.mk and reimplement them in kern.post.mk and kmod.mk
as special versions of the install and reinstall targets, and
only define them if DEBUG is also defined (when debug versions
are really built).

Prompted by: bde

22 years agotypo in connect(2) error handling.
ume [Wed, 24 Apr 2002 10:43:40 +0000 (10:43 +0000)]
typo in connect(2) error handling.

Submitted by: Yukiyo Akisada <Yukiyo.Akisada@jp.yokogawa.com>
Obtained from: KAME
MFC after: 3 days

22 years agoFree(9) should be Giant-free.
tanimura [Wed, 24 Apr 2002 09:59:18 +0000 (09:59 +0000)]
Free(9) should be Giant-free.

Suggested by: jhb

22 years agoSplit file system setup code out into a function called mount.
jake [Wed, 24 Apr 2002 05:54:10 +0000 (05:54 +0000)]
Split file system setup code out into a function called mount.
Implement vsnprintf.  Implement panic in terms of it.

22 years agoPrepare for a major update to the aac driver:
scottl [Wed, 24 Apr 2002 05:12:50 +0000 (05:12 +0000)]
Prepare for a major update to the aac driver:
Update the aac driver with the new crashdump api.
Protect sync fibs with a mutex.
Align all DMA buffers on a PAGE_SIZE boundary.

MFC after: 3 days

22 years agoStyle changes to reduce diff to things I did in the FSF repo.
obrien [Wed, 24 Apr 2002 04:49:34 +0000 (04:49 +0000)]
Style changes to reduce diff to things I did in the FSF repo.

22 years agoFix bug where we were loosing our platform-wide ASM_COMMENT_START
obrien [Wed, 24 Apr 2002 04:48:00 +0000 (04:48 +0000)]
Fix bug where we were loosing our platform-wide ASM_COMMENT_START
definition due to pollution in i386/unix.h.

22 years agoAdd me to the MAINTAINERS for 3dfx card stuff.
cokane [Wed, 24 Apr 2002 04:31:25 +0000 (04:31 +0000)]
Add me to the MAINTAINERS for 3dfx card stuff.

22 years agoAdd support for loading files other than /boot/loader. Useful if you're
jake [Wed, 24 Apr 2002 04:27:49 +0000 (04:27 +0000)]
Add support for loading files other than /boot/loader.  Useful if you're
loader is screwed and you want loader.old.
Rewrite the scaled down printf so it actually works right, and add support
for more formats.

22 years agoRemove sodropablereq - this function hasn't been used since the
silby [Wed, 24 Apr 2002 04:11:08 +0000 (04:11 +0000)]
Remove sodropablereq - this function hasn't been used since the
syncache went in.

MFC after: 3 days

22 years agoAdd an exit function.
jake [Wed, 24 Apr 2002 02:50:59 +0000 (02:50 +0000)]
Add an exit function.

22 years agoAdd -Wno-unused.
jake [Wed, 24 Apr 2002 02:50:36 +0000 (02:50 +0000)]
Add -Wno-unused.

22 years agomemcpy, memset -> bcopy, bzero.
jake [Wed, 24 Apr 2002 02:24:32 +0000 (02:24 +0000)]
memcpy, memset -> bcopy, bzero.

22 years agoClean up elf loading to not make assumptions about the ordering of sections.
jake [Wed, 24 Apr 2002 02:10:35 +0000 (02:10 +0000)]
Clean up elf loading to not make assumptions about the ordering of sections.
Don't load the symbol table; this is only needed for loading kernels and we
load the loader.

22 years agoRemove xfsread. Just call fsread directly.
jake [Wed, 24 Apr 2002 01:47:05 +0000 (01:47 +0000)]
Remove xfsread.  Just call fsread directly.

22 years agoRemove a bunch of unused variables, functions and macros. Allocate storage
jake [Wed, 24 Apr 2002 01:40:54 +0000 (01:40 +0000)]
Remove a bunch of unused variables, functions and macros.  Allocate storage
statically instead of using a faked up malloc.

22 years agoRearrange <netinet/in.h> so that it is easier to conditionalize
mike [Wed, 24 Apr 2002 01:26:11 +0000 (01:26 +0000)]
Rearrange <netinet/in.h> so that it is easier to conditionalize
sections for various standards.  Conditionalize sections for various
standards.  Use standards conforming spelling for types in the
sockaddr_in structure.

22 years agoWhitespace.
bmah [Wed, 24 Apr 2002 01:01:17 +0000 (01:01 +0000)]
Whitespace.

22 years agoNew release note: wi(4) hostap.
bmah [Wed, 24 Apr 2002 00:58:36 +0000 (00:58 +0000)]
New release note:  wi(4) hostap.

Modified release note:  Edited RFC 1948 note to reflect post-syncache reality.

Submitted by: Thomas Skibo <skibo@pacbell.net> (for hostap),
silby (for RFC 1948)

22 years agoMake Veritas Storage Appliance a HILUNS device.
mjacob [Wed, 24 Apr 2002 00:00:55 +0000 (00:00 +0000)]
Make Veritas Storage Appliance a HILUNS device.

MFC after: 1 day

22 years agoBack out the NO_RCMNDS knob.
obrien [Tue, 23 Apr 2002 23:59:51 +0000 (23:59 +0000)]
Back out the NO_RCMNDS knob.
1. The committer refused to respond to questions over the commit.
2. The servers rlogind, rshd, rexecd were not wrapped.
3. "rcmnds" as an abbreviation gets an order of magnitude less hits on
    Google than the much more well known "rcmds".

22 years agoDo not +1 with MAXPATHLEN.
obrien [Tue, 23 Apr 2002 23:58:20 +0000 (23:58 +0000)]
Do not +1 with MAXPATHLEN.

Reviewed by: imp

22 years agoChange the name of the 'bin' distribution to 'base'.
obrien [Tue, 23 Apr 2002 22:16:41 +0000 (22:16 +0000)]
Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by: jkh

22 years agoRestore some of the original variable names, but fix the warnings their
obrien [Tue, 23 Apr 2002 20:30:30 +0000 (20:30 +0000)]
Restore some of the original variable names, but fix the warnings their
renaming addressed by removing the global variants instead.

22 years agoImplement the GEOMGETCONF ioctl which returns vital stats for the
phk [Tue, 23 Apr 2002 19:54:02 +0000 (19:54 +0000)]
Implement the GEOMGETCONF ioctl which returns vital stats for the
current device in XML in an sbuf.

Sponsored by: DARPA & NAI Labs

22 years agoThe cold and panicstr variables do not need to be protected by sched_lock.
hsu [Tue, 23 Apr 2002 19:50:22 +0000 (19:50 +0000)]
The cold and panicstr variables do not need to be protected by sched_lock.

Submitted by: Jennifer Yang (yangjihui@yahoo.com)
Reviewed by: jake & jhb in principle

22 years agoAll in a days work: make a function static.
phk [Tue, 23 Apr 2002 19:03:03 +0000 (19:03 +0000)]
All in a days work:  make a function static.

22 years agoDon't free(9) a pointer which has been modified.
phk [Tue, 23 Apr 2002 18:52:39 +0000 (18:52 +0000)]
Don't free(9) a pointer which has been modified.

Chapeau de pointe: mux

22 years agoAdd a basic sanity check on pointers passed to free(9).
phk [Tue, 23 Apr 2002 18:50:25 +0000 (18:50 +0000)]
Add a basic sanity check on pointers passed to free(9).

Should be improved by: jeff

22 years agoUnbreak NFS mounts when mount(8) is invoked as : mount path@server.
mux [Tue, 23 Apr 2002 17:24:02 +0000 (17:24 +0000)]
Unbreak NFS mounts when mount(8) is invoked as : mount path@server.

Reviewed by: obrien

22 years agosys.mk no longer includes bsd.own.mk so I need to include it here for
gshapiro [Tue, 23 Apr 2002 17:08:08 +0000 (17:08 +0000)]
sys.mk no longer includes bsd.own.mk so I need to include it here for
the definition of SHAREMODE.

Submitted by: Udo Schweigert <Udo.Schweigert@siemens.com>

22 years agoDon't call malloc(9) to allocate zero bytes softc data for devices.
phk [Tue, 23 Apr 2002 15:48:23 +0000 (15:48 +0000)]
Don't call malloc(9) to allocate zero bytes softc data for devices.

22 years agoTrack nfs's getpages() changes:
bp [Tue, 23 Apr 2002 14:30:43 +0000 (14:30 +0000)]
Track nfs's getpages() changes:

    Properly count v_vnodepgsin.
    Do not reread page if is already valid.
    Properly handle partially filled pages.

22 years agoGet rid from extra #ifdefs.
bp [Tue, 23 Apr 2002 13:55:14 +0000 (13:55 +0000)]
Get rid from extra #ifdefs.

22 years agoInitialize thread select queue in the same way as rev 1.93 of sys_generic.c
bp [Tue, 23 Apr 2002 13:29:23 +0000 (13:29 +0000)]
Initialize thread select queue in the same way as rev 1.93 of sys_generic.c
does.

Missed and found by: alfred

22 years ago1) Proberly conditionalize PAM "last login" printout.
ache [Tue, 23 Apr 2002 12:36:11 +0000 (12:36 +0000)]
1) Proberly conditionalize PAM "last login" printout.
2) For "copyright" case #ifdef HAVE_LOGIN_CAP was placed on too big block,
narrow it down.
3) Don't check the same conditions twice (for "copyright" and "welcome"),
put them under single block.
4) Print \n between "copyright" and "welcome" as our login does.

Reviewed by: des (1)

22 years agoIntroduce some serious paranoia to try to catch a memory overwrite problem
phk [Tue, 23 Apr 2002 11:48:45 +0000 (11:48 +0000)]
Introduce some serious paranoia to try to catch a memory overwrite problem
as early as possible.

Sponsored by: DARPA & NAI Labs

22 years agoThe library itself does not depend on Kerberos bits.
ru [Tue, 23 Apr 2002 11:33:29 +0000 (11:33 +0000)]
The library itself does not depend on Kerberos bits.
Otherwise, we would have broken krb4 and krb5 dists.

22 years agoOn slow machines interrupts could be lost, so check for pending
gj [Tue, 23 Apr 2002 10:25:35 +0000 (10:25 +0000)]
On slow machines interrupts could be lost, so check for pending
interrupts in a loop.

Tested by: Andrew Gordon <arg-bsd@arg1.demon.co.uk>

22 years agoDo not spam initial ${CHROOTDIR} world with Texinfo and HTML docs.
ru [Tue, 23 Apr 2002 09:24:00 +0000 (09:24 +0000)]
Do not spam initial ${CHROOTDIR} world with Texinfo and HTML docs.

For rerelease, run "make -DNOCLEAN world" instead of simple and
insufficient in some cases "make all install".  This is especially
true for cross-arch "make release"s which we don't (yet) support.

22 years agoMerge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.
ru [Tue, 23 Apr 2002 09:03:56 +0000 (09:03 +0000)]
Merge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.

Ensure all standard targets honor SUBDIR.  Now `make obj' descends into
SUBDIRs even if NOOBJ is set (some descendants may still need an object
directory, but we do not have such precedents).  Now `make install' in
non-bsd.subdir.mk makefiles runs `afterinstall' target _after_ `install'
in SUBDIRs, like we do in bsd.subdir.mk.  Nothing depended on the wrong
order anyway.

Fixed `distribute' targets (except for the bsd.subdir.mk version) so that
they do not depend on _SUBDIR; `distribute' calls `install' which already
depends on _SUBDIR.

De-standardize `maninstall', otherwise manpages would be installed twice.
(To be revised later.)

22 years agoCorrect default value of drainwait: it should be 300 seconds, not forever.
sobomax [Tue, 23 Apr 2002 08:26:50 +0000 (08:26 +0000)]
Correct default value of drainwait: it should be 300 seconds, not forever.

PR: 37370
Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
MFC after: 2 weeks

22 years agoAdd the -t option, which allows tab stop positions to be specified similarly
tjr [Tue, 23 Apr 2002 07:15:09 +0000 (07:15 +0000)]
Add the -t option, which allows tab stop positions to be specified similarly
to the way expand(1) allows. This brings unexpand(1) up to SUSv3 conformance,
and it now passes all relevant parts of the GNU textutils test suite.

PR: 35621
Reviewed by: mike

22 years agoProvide the real `distribute' target so that NLS catalogs are
ru [Tue, 23 Apr 2002 06:15:44 +0000 (06:15 +0000)]
Provide the real `distribute' target so that NLS catalogs are
installed with `make release'.

22 years agoRemove unused static variable quantum.
marcel [Tue, 23 Apr 2002 06:14:10 +0000 (06:14 +0000)]
Remove unused static variable quantum.

22 years ago - printf shouldn't bail out if a conversion fails, it should just keep
jmallett [Tue, 23 Apr 2002 02:56:16 +0000 (02:56 +0000)]
 - printf shouldn't bail out if a conversion fails, it should just keep
   processing them.
 - \c escape to immediately stop output (similar to echo's \c)
 - \0NNN should be allowed for octal character escapes (instead of just \NNN)
 - %b conversion, which is like %s but interprets \n \t etc. inside the
   string is missing.

And I may not be any poet, but in lieu of an in-tree regression test:
ref5% ./printf '%s%b%b%c%s%d\n' 'PR' '\0072' '\t' '3' '56' 0x10
PR:     35616

Submitted by: tjr
MFC after: 1 week

22 years agoImprove the error message the user sees if the startdaemon routine cannot
gad [Tue, 23 Apr 2002 02:42:04 +0000 (02:42 +0000)]
Improve the error message the user sees if the startdaemon routine cannot
connect() to the socket for lpd.  Tell them this error probably means that
the master 'lpd' process is not running.

MFC after: 4 days

22 years agoSlightly restructure extattr_get_vp() so that there's only one entry point
rwatson [Tue, 23 Apr 2002 01:27:38 +0000 (01:27 +0000)]
Slightly restructure extattr_get_vp() so that there's only one entry point
to VOP_GETEXTATTR().  This simplifies code flow when inserting MAC hooks.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoNew release notes: SA-02:22, SA-02:23.
bmah [Tue, 23 Apr 2002 01:23:20 +0000 (01:23 +0000)]
New release notes:  SA-02:22, SA-02:23.

Updated release notes:  Device polling for rl(4), updated URL for
SA-02:18, smbfs userland 1.4.4.

22 years agoDon't use "GCCDIR" as the multiple inclusion protector. Subdir Makefiles
obrien [Tue, 23 Apr 2002 00:10:18 +0000 (00:10 +0000)]
Don't use "GCCDIR" as the multiple inclusion protector.  Subdir Makefiles
may want to override GCCDIR and this gets in the way.

22 years agoImplement new printcap option of "rc" aka "remote.resend_copies".
gad [Tue, 23 Apr 2002 00:06:10 +0000 (00:06 +0000)]
Implement new printcap option of "rc" aka "remote.resend_copies".
This is a boolean option, and if it is specified in a print queue
for a remote host, it causes lpd to resend the data file for each
copy the user requested on 'lpr -#n'.  This is useful for network
printers which accept lpd-style jobs, but which ignore the control
file (and thus they ignore any request for multiple copies).

PR: 25635
Reviewed by: short review on freebsd-audit
MFC after: 6 days

22 years agoDo not use 'ps -e' for entropy gathering. It uses /proc/*/mem to rummage
obrien [Tue, 23 Apr 2002 00:05:48 +0000 (00:05 +0000)]
Do not use 'ps -e' for entropy gathering.  It uses /proc/*/mem to rummage
around *user* memory to extract the environment variable strings.  This
is problematic for us.

Submitted by: peter

22 years agoAdd 'const' to some casts to fix two warnings that are printed by the
gad [Mon, 22 Apr 2002 23:28:42 +0000 (23:28 +0000)]
Add 'const' to some casts to fix two warnings that are printed by the
new gcc (on sparc64).

MFC after: 4 days

22 years agoAdd 'const' to some casts to fix two warnings that are printed by the
gad [Mon, 22 Apr 2002 23:08:07 +0000 (23:08 +0000)]
Add 'const' to some casts to fix two warnings that are printed by the
new gcc (on sparc64).

MFC after: 4 days

22 years agoDo our best to determine if the user is attempting an NFS mount when
mux [Mon, 22 Apr 2002 23:03:03 +0000 (23:03 +0000)]
Do our best to determine if the user is attempting an NFS mount when
the filesystem type isn't given in the command line.  In the case of
an IPv6 address containing ':', one must use the '@' separator for it
to be properly parsed (mount_nfs(8) still needs fixing at the moment
though).

PR: bin/37230
Reviewed by: obrien
MFC after: 1 week

22 years agoUtilize dhcp information in the kernel environment if we don't have
obrien [Mon, 22 Apr 2002 21:42:18 +0000 (21:42 +0000)]
Utilize dhcp information in the kernel environment if we don't have
hostname and DNS information already.

Submitted by: Danny Braniss <danny@cs.huji.ac.il>

22 years agoProvide an environment variabloe, EXPR_COMPAT, which disables option
wollman [Mon, 22 Apr 2002 21:23:09 +0000 (21:23 +0000)]
Provide an environment variabloe, EXPR_COMPAT, which disables option
parsing for compatibility with old implementations.

22 years agoDon't FILEDESC_LOCK around calls to falloc().
alfred [Mon, 22 Apr 2002 20:09:11 +0000 (20:09 +0000)]
Don't FILEDESC_LOCK around calls to falloc().

22 years agoProtect against multitple #includes of this file.
phk [Mon, 22 Apr 2002 19:54:17 +0000 (19:54 +0000)]
Protect against multitple #includes of this file.

22 years agoAdd myself
anholt [Mon, 22 Apr 2002 19:39:10 +0000 (19:39 +0000)]
Add myself

Approved by: des

22 years ago- Revert previous change of atm storage pools -> uma_zones until a solution
arr [Mon, 22 Apr 2002 18:26:05 +0000 (18:26 +0000)]
- Revert previous change of atm storage pools -> uma_zones until a solution
  to atm_free() is written.

22 years agoBring in changes from smbfs-1.4.4.
sheldonh [Mon, 22 Apr 2002 16:18:36 +0000 (16:18 +0000)]
Bring in changes from smbfs-1.4.4.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r95267,
sheldonh [Mon, 22 Apr 2002 16:15:20 +0000 (16:15 +0000)]
This commit was generated by cvs2svn to compensate for changes in r95267,
which included commits to RCS files with non-trunk default branches.

22 years agoImport smbfs-1.4.4.
sheldonh [Mon, 22 Apr 2002 16:15:20 +0000 (16:15 +0000)]
Import smbfs-1.4.4.

22 years agoAdd missing splx calls in bge_tick. These don't make any functional
jdp [Mon, 22 Apr 2002 16:15:16 +0000 (16:15 +0000)]
Add missing splx calls in bge_tick.  These don't make any functional
difference in -current, but they are important for -stable where
they are missing too.

MFC after: 1 day

22 years agoBack out remnants of revision 1.97: we don't need TARGET_ARCH here.
ru [Mon, 22 Apr 2002 15:53:04 +0000 (15:53 +0000)]
Back out remnants of revision 1.97: we don't need TARGET_ARCH here.

22 years agoUse standard bsd.init.mk prologue.
ru [Mon, 22 Apr 2002 15:47:11 +0000 (15:47 +0000)]
Use standard bsd.init.mk prologue.

22 years agoRemove my change to the synopsis field
trhodes [Mon, 22 Apr 2002 15:18:51 +0000 (15:18 +0000)]
Remove my change to the synopsis field

Requested by: bde
pointy hat to: myself ;)

22 years agoUsage style sweep: spell "usage" with a small 'u'.
des [Mon, 22 Apr 2002 13:44:47 +0000 (13:44 +0000)]
Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.

22 years agoDon't needlessly redefine the afterinstall target.
ru [Mon, 22 Apr 2002 10:46:12 +0000 (10:46 +0000)]
Don't needlessly redefine the afterinstall target.

22 years agoProhibit the direct inclusion of bsd.dep.mk.
ru [Mon, 22 Apr 2002 10:04:41 +0000 (10:04 +0000)]
Prohibit the direct inclusion of bsd.dep.mk.

22 years agoFixed _SUBDIR.
ru [Mon, 22 Apr 2002 09:12:18 +0000 (09:12 +0000)]
Fixed _SUBDIR.

Obtained from: bsd.subdir.mk

22 years agoAlign for one true tab size of 8 in revision 1.2.
ru [Mon, 22 Apr 2002 09:06:27 +0000 (09:06 +0000)]
Align for one true tab size of 8 in revision 1.2.

22 years agoMake .asm transformation rules synonyms to the .s rules.
ru [Mon, 22 Apr 2002 08:56:34 +0000 (08:56 +0000)]
Make .asm transformation rules synonyms to the .s rules.

22 years agoImplement shared secret mode for hostap mode.
imp [Mon, 22 Apr 2002 07:09:13 +0000 (07:09 +0000)]
Implement shared secret mode for hostap mode.

Submitted by: Thomas Skibo <skibo@pacbell.net>

22 years agoComment out Kirks io-request priority hack until we can do this in a
phk [Mon, 22 Apr 2002 06:53:20 +0000 (06:53 +0000)]
Comment out Kirks io-request priority hack until we can do this in a
civilized way which doesn't cause grief.

The problem is that it is not generally safe to cast a "struct bio
*" to a "struct buf *".  Things like ccd, vinum, ata-raid and GEOM
constructs bio's which are not entrails of a struct buf.

Also, curthread may or may not have anything to do with the I/O request
at hand.

The correct solution can either be to tag struct bio's with a
priority derived from the requesting threads nice and have disksort
act on this field, this wouldn't address the "silly-seek syndrome"
where two equal processes bang the diskheads from one edge to the
other of the disk repeatedly.

Alternatively, and probably better: a sleep should be introduced
either at the time the I/O is requested or at the time it is completed
where we can be sure to sleep in the right thread.

The sleep also needs to be in constant timeunits, 1/hz can be practicaly
any sub-second size, at high HZ the current code practically doesn't
do anything.

22 years agoAdd ia64_sal_init_state(). This function will initialize the machine
marcel [Mon, 22 Apr 2002 06:43:31 +0000 (06:43 +0000)]
Add ia64_sal_init_state(). This function will initialize the machine
check handling. In its current form, it only determines the largest
amount of state information it can get from SAL and allocates a region
7 memory block for it.

The next steps involve:
o  get and log any unconsumed (NVM stored) error records across
   reboots,
o  register an OS_MCA handler and enable machine checks.

22 years agoAdd state information types.
marcel [Mon, 22 Apr 2002 06:35:40 +0000 (06:35 +0000)]
Add state information types.

22 years agoDon't use PAM_SILENT unless hushlogin is set (perforce change 10123)
des [Mon, 22 Apr 2002 06:27:16 +0000 (06:27 +0000)]
Don't use PAM_SILENT unless hushlogin is set (perforce change 10123)

Sponsored by: DARPA, NAI Labs

22 years agoDon't report last login time in PAM case. (perforce change 10057)
des [Mon, 22 Apr 2002 06:26:29 +0000 (06:26 +0000)]
Don't report last login time in PAM case. (perforce change 10057)

Sponsored by: DARPA, NAI Labs

22 years agoFix warnings + wait for child so it doesn't go zombie (perforce change 10122)
des [Mon, 22 Apr 2002 06:25:13 +0000 (06:25 +0000)]
Fix warnings + wait for child so it doesn't go zombie (perforce change 10122)

22 years ago- Change the atm_attributes_pool and atm_stackq_pool to be uma_zone's
arr [Mon, 22 Apr 2002 05:11:44 +0000 (05:11 +0000)]
- Change the atm_attributes_pool and atm_stackq_pool to be uma_zone's
  (with the appropriate set_max) rather than using the HARP storage pool
  code.

22 years agoAdd a Makefile for this.
jake [Mon, 22 Apr 2002 04:08:01 +0000 (04:08 +0000)]
Add a Makefile for this.