]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agostyle(9) prefers formatted comments in '/*' ... '*/' as opposed to
Robert Watson [Mon, 18 Feb 2002 00:23:44 +0000 (00:23 +0000)]
style(9) prefers formatted comments in '/*' ... '*/' as opposed to
#if 0'd.

22 years agoPer discussion at BSDCon, note that the vop_getattr locking protocol
Robert Watson [Mon, 18 Feb 2002 00:22:57 +0000 (00:22 +0000)]
Per discussion at BSDCon, note that the vop_getattr locking protocol
should require a shared lock, rather than an exclusive lock, which can
improve performance.  No actual code change here, since a number of
VFS locking fixes are in the works.

22 years agoLanguage clarification: s/an or/a/
Robert Watson [Mon, 18 Feb 2002 00:21:05 +0000 (00:21 +0000)]
Language clarification: s/an or/a/

22 years agoClarify word choice: s/those users/users/, since there is no previous
Robert Watson [Mon, 18 Feb 2002 00:20:12 +0000 (00:20 +0000)]
Clarify word choice: s/those users/users/, since there is no previous
instance of 'users' to refer to.

22 years agoMore for f/w crash dumps (bug fixing and adding ioctl entry points
Matt Jacob [Mon, 18 Feb 2002 00:00:34 +0000 (00:00 +0000)]
More for f/w crash dumps (bug fixing and adding ioctl entry points
and hints to enable for specific units)

MFC after: 1 week

22 years agoUpdate sendmail release note to reflect 8.12.2 import.
Gregory Neil Shapiro [Sun, 17 Feb 2002 23:58:31 +0000 (23:58 +0000)]
Update sendmail release note to reflect 8.12.2 import.
Change SUID -> set-user-ID

22 years agoTurn FEATURE(relay_based_on_MX) off by default. It should not be used unless
Gregory Neil Shapiro [Sun, 17 Feb 2002 23:38:16 +0000 (23:38 +0000)]
Turn FEATURE(relay_based_on_MX) off by default.  It should not be used unless
absolutely necessary

Requested by: peter
PR: conf/33855
MFC after: 1 week

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90809,
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:51:21 +0000 (22:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90809,
which included commits to RCS files with non-trunk default branches.

22 years agoAdd infrastructure for sendmail 8.12. If users are not starting a daemon
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:19:14 +0000 (22:19 +0000)]
Add infrastructure for sendmail 8.12.  If users are not starting a daemon
at boot (sendmail_enable=NO), a localhost-only daemon may started
(sendmail_submit_enable) as it is needed to accept mail from command line
submissions.  If this isn't desired, see etc/mail/README for more hints.

Optionally (sendmail_msp_queue_enable) start a queue runner for the
submission queue in case a daemon isn't available to accept command line
submitted mail at submission time.

Note that the syslog labels for all of these sendmail processes have been
uniquified for easier log parsing.

22 years agoAdd information about how the new sendmail set-group-ID mail submission
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:14:29 +0000 (22:14 +0000)]
Add information about how the new sendmail set-group-ID mail submission
works and ways to work around common problems people might have.
Include information on reverting to a set-user-ID root sendmail binary in
case anyone really needs to do this.

22 years agoDon't build a submit.cf file if SENDMAIL_SET_USER_ID is set
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:12:57 +0000 (22:12 +0000)]
Don't build a submit.cf file if SENDMAIL_SET_USER_ID is set

22 years agoAdd /var/spool/clientmqueue for 8.12's non-set-user-ID root mail submission
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:11:41 +0000 (22:11 +0000)]
Add /var/spool/clientmqueue for 8.12's non-set-user-ID root mail submission

22 years agoAdd new include/libmilter directory for libmilter (sendmail mail filter API)
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:10:56 +0000 (22:10 +0000)]
Add new include/libmilter directory for libmilter (sendmail mail filter API)
include files

22 years agoDocument new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:10:06 +0000 (22:10 +0000)]
Document new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).

22 years agoAdd new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:09:15 +0000 (22:09 +0000)]
Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).
Therefore, we shouldn't install /etc/mail/submit.cf if it is set.

22 years agoUpdate for sendmail 8.12 which has a new OSTYPE(freebsd5)
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:08:18 +0000 (22:08 +0000)]
Update for sendmail 8.12 which has a new OSTYPE(freebsd5)
Fix access_db usage for 8.12

22 years agoUpdate import instructions for sendmail 8.12.2
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:06:57 +0000 (22:06 +0000)]
Update import instructions for sendmail 8.12.2

22 years agoUpdate build infrastructure for sendmail 8.12.
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:06:20 +0000 (22:06 +0000)]
Update build infrastructure for sendmail 8.12.
Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).

22 years agoUpdate build infrastructure for sendmail 8.12.
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:05:07 +0000 (22:05 +0000)]
Update build infrastructure for sendmail 8.12.

22 years agoAdd editmap, a new utility which comes with sendmail 8.12 for editing maps in
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:02:59 +0000 (22:02 +0000)]
Add editmap, a new utility which comes with sendmail 8.12 for editing maps in
place.

22 years agoAdd two new libraries which are part of sendmail 8.12. libsm is used only
Gregory Neil Shapiro [Sun, 17 Feb 2002 22:01:40 +0000 (22:01 +0000)]
Add two new libraries which are part of sendmail 8.12.  libsm is used only
for building sendmail and the associated utilities.  libmilter is a new
mail filtering API for sendmail.

22 years agoResolve conflicts from sendmail 8.12.2 import
Gregory Neil Shapiro [Sun, 17 Feb 2002 21:58:34 +0000 (21:58 +0000)]
Resolve conflicts from sendmail 8.12.2 import

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90792,
Gregory Neil Shapiro [Sun, 17 Feb 2002 21:56:45 +0000 (21:56 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90792,
which included commits to RCS files with non-trunk default branches.

22 years agoImport sendmail 8.12.2
Gregory Neil Shapiro [Sun, 17 Feb 2002 21:56:45 +0000 (21:56 +0000)]
Import sendmail 8.12.2

22 years agoMove the stuff related to select and poll out of struct vnode.
Poul-Henning Kamp [Sun, 17 Feb 2002 21:15:36 +0000 (21:15 +0000)]
Move the stuff related to select and poll out of struct vnode.
The use of the zone allocator may or may not be overkill.
There is an XXX: over in ufs/ufs/ufs_vnops.c that jlemon may need
to revisit.

This shaves about 60 bytes of struct vnode which on my laptop means
600k less RAM used for vnodes.

22 years agoCollect the VN_KNOTE() macro definitions on vnode.h
Poul-Henning Kamp [Sun, 17 Feb 2002 21:07:57 +0000 (21:07 +0000)]
Collect the VN_KNOTE() macro definitions on vnode.h

22 years agoAlways build all modules for LINT
Poul-Henning Kamp [Sun, 17 Feb 2002 21:00:20 +0000 (21:00 +0000)]
Always build all modules for LINT

22 years agoEnsure err is a useful value to prevent using fputs() with a NULL stream.
Chris D. Faulhaber [Sun, 17 Feb 2002 20:53:56 +0000 (20:53 +0000)]
Ensure err is a useful value to prevent using fputs() with a NULL stream.
MFC after: 1 week

22 years agov_lease is unused, zap it.
Poul-Henning Kamp [Sun, 17 Feb 2002 20:41:27 +0000 (20:41 +0000)]
v_lease is unused, zap it.

22 years agoRemove cache_purgeleafdirs(), it has been #if 0 for quite some time.
Poul-Henning Kamp [Sun, 17 Feb 2002 20:40:29 +0000 (20:40 +0000)]
Remove cache_purgeleafdirs(), it has been #if 0 for quite some time.

22 years agoDon't even think about using v_id for magic tricks, v_id is giving
Poul-Henning Kamp [Sun, 17 Feb 2002 20:39:42 +0000 (20:39 +0000)]
Don't even think about using v_id for magic tricks, v_id is giving
us enough trouble as it is for SMPng.

22 years agoAdd Proxim RangeLAN-DS.
Warner Losh [Sun, 17 Feb 2002 20:05:39 +0000 (20:05 +0000)]
Add Proxim RangeLAN-DS.

Submitted by: Matt Peterson <matt@peterson.org>
PR: 35057

Also update my note for the 3crwe737A after talking to Alan Clegg at BSDcon.

22 years agoo style and consistency fixes:
Chris D. Faulhaber [Sun, 17 Feb 2002 20:05:20 +0000 (20:05 +0000)]
o style and consistency fixes:
  - if (!var) -> if (var == NULL)
  - return val; -> return (val);
o update copyright

22 years agoOops, forgot to commit this (s/ucontext_t/struct __ucontext/).
Daniel Eischen [Sun, 17 Feb 2002 19:21:42 +0000 (19:21 +0000)]
Oops, forgot to commit this (s/ucontext_t/struct __ucontext/).

22 years agoo __P removal
Warner Losh [Sun, 17 Feb 2002 19:09:20 +0000 (19:09 +0000)]
o __P removal
o use Ansi-style function definitions

22 years agoRegenerate these files after change to syscalls.master.
Daniel Eischen [Sun, 17 Feb 2002 17:42:47 +0000 (17:42 +0000)]
Regenerate these files after change to syscalls.master.

22 years agoFix prototype to sigreturn to use struct __ucontext instead of ucontext_t.
Daniel Eischen [Sun, 17 Feb 2002 17:41:28 +0000 (17:41 +0000)]
Fix prototype to sigreturn to use struct __ucontext instead of ucontext_t.

22 years agoUse struct __ucontext in prototypes and associated functions instead of
Daniel Eischen [Sun, 17 Feb 2002 17:40:34 +0000 (17:40 +0000)]
Use struct __ucontext in prototypes and associated functions instead of
ucontext_t.  Forward declare struct __ucontext in <sys/signal.h> and
remove reliance on <sys/ucontext.h> being included.

While I'm here, also hide osigcontext types from userland; suggested
by bde.

Namespace pollution noticed by: Kevin Day <toasty@shell.dragondata.com>

22 years agoError handling fixes for inflate.
Chris D. Faulhaber [Sun, 17 Feb 2002 17:35:18 +0000 (17:35 +0000)]
Error handling fixes for inflate.

22 years agoDon't rely on <sys/signal.h> to include <sys/ucontext.h>
Daniel Eischen [Sun, 17 Feb 2002 17:21:27 +0000 (17:21 +0000)]
Don't rely on <sys/signal.h> to include <sys/ucontext.h>

22 years agoDon't rely on <sys/signal.h> to include <sys/ucontext.h>.
Daniel Eischen [Sun, 17 Feb 2002 17:19:14 +0000 (17:19 +0000)]
Don't rely on <sys/signal.h> to include <sys/ucontext.h>.

22 years agoCorrect typo.
Yoshihiro Takahashi [Sun, 17 Feb 2002 14:16:17 +0000 (14:16 +0000)]
Correct typo.

22 years agoFix a formatting error.
Josef Karthauser [Sun, 17 Feb 2002 12:41:50 +0000 (12:41 +0000)]
Fix a formatting error.

22 years agoKNF style the code, ready for an MFC.
Josef Karthauser [Sun, 17 Feb 2002 12:29:39 +0000 (12:29 +0000)]
KNF style the code, ready for an MFC.

22 years agoKNF style the code, ready for an MFC.
Josef Karthauser [Sun, 17 Feb 2002 11:58:58 +0000 (11:58 +0000)]
KNF style the code, ready for an MFC.

22 years agoMove the bus_space_subregion function from the puc driver to the bus_space
Yoshihiro Takahashi [Sun, 17 Feb 2002 09:41:23 +0000 (09:41 +0000)]
Move the bus_space_subregion function from the puc driver to the bus_space
sutff.

Reviewed by: jhay

22 years ago- Split the routine to initialize a bus_space_handle into the separate
Yoshihiro Takahashi [Sun, 17 Feb 2002 09:16:45 +0000 (09:16 +0000)]
- Split the routine to initialize a bus_space_handle into the separate
  function.
- Only access a bus_space_handle if the resource type is SYS_RES_MEMORY or
  SYS_RES_IOPORT.
- Add the bus_space_subregion supports.

22 years agoMFi386: revision 1.167
Yoshihiro Takahashi [Sun, 17 Feb 2002 08:56:12 +0000 (08:56 +0000)]
MFi386: revision 1.167

22 years agoMFi386: revision 1.392
Yoshihiro Takahashi [Sun, 17 Feb 2002 08:55:42 +0000 (08:55 +0000)]
MFi386: revision 1.392

22 years agoPurely whitespace changes
Julian Elischer [Sun, 17 Feb 2002 08:14:15 +0000 (08:14 +0000)]
Purely whitespace changes

22 years agoreplace the embedded cr_mtx in the ucred structure with cr_mtxp (a mutex
Matthew Dillon [Sun, 17 Feb 2002 07:30:34 +0000 (07:30 +0000)]
replace the embedded cr_mtx in the ucred structure with cr_mtxp (a mutex
pointer), and use the mutex pool routines.  This greatly reduces the size
of the ucred structure.

22 years agoAdd support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to a
David E. O'Brien [Sun, 17 Feb 2002 07:04:32 +0000 (07:04 +0000)]
Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to a
non-empty string in the environment; we indicate which objects caused
each object to be loaded.

PR: 30908
Submitted-by: Mike Meyer <mwm@mired.org>

22 years agoSupport for f/w crash dumps (2200 && 23XX).
Matt Jacob [Sun, 17 Feb 2002 06:38:22 +0000 (06:38 +0000)]
Support for f/w crash dumps (2200 && 23XX).

If you want QLogic to look at a potential f/w problem for FC cards, you really
have to provide them info in the format they expect. This involves dumping
a lot of hardware registers (> 300 16 bit registers) and a lot of SRAM
(> 128KB minimum). Thus all of this code is #ifdef protected which will
become an option so that the memory allocation of where to dump the crash
image is pretty expensive. It's worth it if you have a reproducible problem
because they have some tools that can tell them, given the f/w version,
the precise state of everything.

MFC after: 1 week

22 years agoHints for WWN are now WWNN and/or WWPN.
Matt Jacob [Sun, 17 Feb 2002 06:34:21 +0000 (06:34 +0000)]
Hints for WWN are now WWNN and/or WWPN.

MFC after: 1 week

22 years agoAdd in support firmware crash dumps. Change CFG options to split
Matt Jacob [Sun, 17 Feb 2002 06:32:58 +0000 (06:32 +0000)]
Add in support firmware crash dumps. Change CFG options to split
WWN into WWNN and WWPN.

MFC after: 1 week

22 years agoBulk changes made during the BSDcon kernel summit and travel afterwards.
Warner Losh [Sun, 17 Feb 2002 03:11:11 +0000 (03:11 +0000)]
Bulk changes made during the BSDcon kernel summit and travel afterwards.
Appologies for making this one bulk commit, but I have tested all these
changes together and don't want to break anything by trying to disentangle
it.

o Make debugging a sysctl/tunable
o Remove flags word from yenta chip info, it is unused
o Make 16-bit card I/O range and 32-bit card I/O range tunables
o Start the rename of pccbb to cbb to match NetBSD by misc renames.
o Kill the now bogus list of softcs to create kthread.  Instead, just
  create the kthread in the attach routine.
o Remove sc_ from some structure names.  It isn't needed.
o Refine chipset lookup code.
o Match generic PCI <-> CardBus bridges.  We specifically don't generically
  match PCI PCMCIA bridges because they are not, with one exception, yenta
  devices.
o Add some comments about the why we need to have a function table ala
  OLDCARD
o The PCI interrupt routing by using the ExCA registers is needed for
  for all bridges, per the spec, not just TI ones.
o Collapse TOPIC95 and TOPIC95B.
o Using the ToPIC 97 and 100 datasheets, try to support these bridges better,
  but more work is needed.
o Generally clarify some XXX comments and add them in a few places where
  things didn't look right to me.
o Move interrupt generating register access until after we establish an ISR.
o Add support for YV and XV cards.  X and Y are numbers to be determined
  later (but maybe never).
o factor powerup code for 16-bit and 32-bit cards.
o When a card supports more than one voltage, prefer the lowest supported
  volage.  Windows does this, and MS's design guides imply this is the
  right thing to do.
o Document race between kthread_exit(0) and kldunload's unmapping of pages
  that John Baldwin and I discovered.
o Debounce the CSC interrupt a little better.
o When a 16-bit card is inserted when we don't have a pccard child,
  warn about it better.  Ditto for 32-bit card.
o Ack ALL the interrupt bits that we get, not just 0x1.
o maybe a couple minor style nits corrected.

22 years agoRemove check for sendmail.conf before even trying to start sendmail.
Crist J. Clark [Sun, 17 Feb 2002 02:01:15 +0000 (02:01 +0000)]
Remove check for sendmail.conf before even trying to start sendmail.

Checking for the existence of sendmail.cf is rather silly when someone
is using the mailwrapper(8) to run a mail daemon that is not actually
sendmail(8). It is also probably better to let sendmail(8) actually
try to start and error out if the administrator has
'sendmail_enable="YES"' but no sendmail.conf. At present, it would
fail silently.

Reviewed by: gshapiro
MFC after: 2 days

22 years agoMFen (1.275 --> 1.277).
Jun Kuriyama [Sun, 17 Feb 2002 01:10:24 +0000 (01:10 +0000)]
MFen (1.275 --> 1.277).

22 years agoIf the credential on an incoming thread is correct, don't bother
Julian Elischer [Sun, 17 Feb 2002 01:09:56 +0000 (01:09 +0000)]
If the credential on an incoming thread is correct, don't bother
reaquiring it. In the same vein, don't bother dropping the thread cred
when goinf ot userland. We are guaranteed to nned it when we come back,
(which we are guaranteed to do).

Reviewed by: jhb@freebsd.org, bde@freebsd.org (slightly different version)

22 years agoremove __P before next commit
Julian Elischer [Sun, 17 Feb 2002 00:59:58 +0000 (00:59 +0000)]
remove __P before next commit

Reviewed by: jhb

22 years agoI am sick of being told that "cstsevent occures".
Dag-Erling Smørgrav [Sat, 16 Feb 2002 23:00:27 +0000 (23:00 +0000)]
I am sick of being told that "cstsevent occures".

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90744,
Juli Mallett [Sat, 16 Feb 2002 21:27:48 +0000 (21:27 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90744,
which included commits to RCS files with non-trunk default branches.

22 years agoImport OpenBSD m4 as of today.
Juli Mallett [Sat, 16 Feb 2002 21:27:48 +0000 (21:27 +0000)]
Import OpenBSD m4 as of today.

22 years agoSupply progress information in dump's process title, which is useful
Ian Dowse [Sat, 16 Feb 2002 21:05:16 +0000 (21:05 +0000)]
Supply progress information in dump's process title, which is useful
for monitoring automated backups. This is based on a patch by Mikhail
Teterin, with some changes to make its operation clearer and to
update the proctitle more frequently.

PR: bin/32138

22 years agoOn receipt of a SIGINFO, schedule an immediate printout of the
Ian Dowse [Sat, 16 Feb 2002 20:22:26 +0000 (20:22 +0000)]
On receipt of a SIGINFO, schedule an immediate printout of the
percentage complete and remaining time estimate.

PR: bin/32138
Submitted by: mi

22 years agoWhen blocked on a mutex, display the mutex name via the wchan string field
Matthew Dillon [Sat, 16 Feb 2002 20:10:00 +0000 (20:10 +0000)]
When blocked on a mutex, display the mutex name via the wchan string field
so we can at least tell the difference between being blocked in Giant
and being blocked in some other mutex.

22 years agoNew release notes: puc(4).
Bruce A. Mah [Sat, 16 Feb 2002 19:58:56 +0000 (19:58 +0000)]
New release notes:  puc(4).

Modified release notes:  Network device polling not just for i386
anymore and has a manpage (+MFC), uudecode(1) -p un-deprecated.

MFCs noted:  ARCNET support, cm driver,

22 years agoDocument the 'M' state.
Dag-Erling Smørgrav [Sat, 16 Feb 2002 18:47:22 +0000 (18:47 +0000)]
Document the 'M' state.

22 years ago(Doing that whole test-immediately-after-commit-thing like obrien sez:)
Brian Feldman [Sat, 16 Feb 2002 17:44:43 +0000 (17:44 +0000)]
(Doing that whole test-immediately-after-commit-thing like obrien sez:)
Forgot to include lock.h and mutex.h for GIANT_REQUIRED.

22 years agoAdd revoke_and_destroy_dev(), to be used by devices which decide when
Brian Feldman [Sat, 16 Feb 2002 17:35:05 +0000 (17:35 +0000)]
Add revoke_and_destroy_dev(), to be used by devices which decide when
they choose to destroy themselves without regard to whether or not
they are open.

22 years agoFix two file descriptor leaks in the internal function local_rpcb()
Ian Dowse [Sat, 16 Feb 2002 17:05:49 +0000 (17:05 +0000)]
Fix two file descriptor leaks in the internal function local_rpcb()
that is used by a number of rpcbind-related library functions. Also
fix a rpc client leak in rpcb_set().

Submitted by: mbr
Obtained from: NetBSD

22 years agoMerge from NetBSD:
Josef Karthauser [Sat, 16 Feb 2002 16:16:12 +0000 (16:16 +0000)]
Merge from NetBSD:

* Add a -d flag to show the device drivers associated with each device.
* Update to use the new speed structure entry.

22 years agoAdd the puc (PCI "Universal" Communications) driver. The idea and some of
John Hay [Sat, 16 Feb 2002 15:12:14 +0000 (15:12 +0000)]
Add the puc (PCI "Universal" Communications) driver. The idea and some of
the structure definitions come from NetBSD to make it easier to share card
definitions. The driver only acts as a shim between the pci bus and the
sio driver. Later pci parallel ports could also be supported through this
driver. Support for most single and multiport pci serial cards should be
as simple as adding its definition to pucdata.c

Tested with the following pci cards:
Moxa Industio CP-114, 4 port RS-232,RS-422/485
Syba Tech Ltd. PCI-4S2P-550-ECP, 4 port RS-232 + 2 parallel ports
Netmos NM9835 PCI-2S-550, 2 port RS-232

22 years agoIf downloading to a temporary file, set the timestamp on the temp file, not
Dag-Erling Smørgrav [Sat, 16 Feb 2002 14:02:57 +0000 (14:02 +0000)]
If downloading to a temporary file, set the timestamp on the temp file, not
on the file we're replacing.

PR: bin/34992
Submitted by: Shunichiro Ariura <syun1rou@blackshell.org>
MFC after: 1 week

22 years agoMFi386: revisions 1.334 and 1.335
Yoshihiro Takahashi [Sat, 16 Feb 2002 13:13:22 +0000 (13:13 +0000)]
MFi386: revisions 1.334 and 1.335

22 years agoMFi386: revisions 1.495 and 1.496
Yoshihiro Takahashi [Sat, 16 Feb 2002 12:59:58 +0000 (12:59 +0000)]
MFi386: revisions 1.495 and 1.496

22 years agoAdded #include <sys/systm.h>
Yoshihiro Takahashi [Sat, 16 Feb 2002 12:58:16 +0000 (12:58 +0000)]
Added #include <sys/systm.h>

22 years agoAdd header to prototype exit(3). Fix a style bug.
Mike Barcroft [Sat, 16 Feb 2002 09:25:49 +0000 (09:25 +0000)]
Add header to prototype exit(3).  Fix a style bug.

22 years agoUn-deprecate the -p option. We now have two ways to output to stdout:
Mike Barcroft [Sat, 16 Feb 2002 09:18:33 +0000 (09:18 +0000)]
Un-deprecate the -p option.  We now have two ways to output to stdout:
`-o /dev/stdout' or `-p'.

Requested by: grog, nectar

22 years agoDont try to attach ATA RAID's if none found.
Søren Schmidt [Sat, 16 Feb 2002 08:10:24 +0000 (08:10 +0000)]
Dont try to attach ATA RAID's if none found.

22 years agoDon't leave garbage in parts of fpregs in the fxsr case. All callers
Bruce Evans [Sat, 16 Feb 2002 07:07:54 +0000 (07:07 +0000)]
Don't leave garbage in parts of fpregs in the fxsr case.  All callers
(procfs and ptrace) supply kernel stack garbage, so kernel context was
leaked to userland.

Reviewed by: des

22 years agoFIxed the following style bugs:
Bruce Evans [Sat, 16 Feb 2002 05:59:26 +0000 (05:59 +0000)]
FIxed the following style bugs:
- clobbering of jsp's $Id$ by FreeBSD's old $Id$.
- long lines in recent KSE changes (procfs_ctl.c).
- other style bugs in KSE changes (most related to an shadowed variable
  in procfs_status.c -- the td in the outer scope is obfuscated by
  PFS_FILL_ARGS).

Approved by: des

22 years agoFIxed the following style bugs:
Bruce Evans [Sat, 16 Feb 2002 05:38:07 +0000 (05:38 +0000)]
FIxed the following style bugs:
- clobbering of jsp's $Id$ by FreeBSD's old $Id$.
- lost Berkeley id in procfs_dbregs.c
- long lines in recent KSE changes.
- various gratuitous differences between procfs_*regs.c.

22 years agoFixed missing PHOLD()/PRELE().
Bruce Evans [Sat, 16 Feb 2002 04:05:32 +0000 (04:05 +0000)]
Fixed missing PHOLD()/PRELE().

Obtained from: procfs_dbregs.c
Approved by: des

22 years agoMerge from NetBSD:
Josef Karthauser [Sat, 16 Feb 2002 00:51:26 +0000 (00:51 +0000)]
Merge from NetBSD:

Pave the way for USB2, by replacing 'lowspeed' with 'speed', so
that it can take the values USB_SPEED_LOW, USB_SPEED_FULL or in
time USB_SPEED_HIGH.

22 years agoRe-add bmaj to the cdevsw's, but don't compile it in on -current.
Josef Karthauser [Fri, 15 Feb 2002 22:54:10 +0000 (22:54 +0000)]
Re-add bmaj to the cdevsw's, but don't compile it in on -current.
This makes the code more portable between -current, -stable and the
other BSDs.

22 years agoDocument that the type of st_flags is now fflags_t.
Garrett Wollman [Fri, 15 Feb 2002 22:37:15 +0000 (22:37 +0000)]
Document that the type of st_flags is now fflags_t.

22 years agoResurrect one of the easiest changes from my big include files roll-up
Garrett Wollman [Fri, 15 Feb 2002 22:15:39 +0000 (22:15 +0000)]
Resurrect one of the easiest changes from my big include files roll-up
patch from a year ago: give file flags their own type.  This does not
(yet) change the type used by system calls or library functions.
The underlying type was chosen to match what is returned by stat().

22 years agoFix my recent breakage of some modules.
Bruce Evans [Fri, 15 Feb 2002 15:45:34 +0000 (15:45 +0000)]
Fix my recent breakage of some modules.

22 years agoAdd a delta missed in the last iommu.c commit. This unbreaks the sparc64
Thomas Moestl [Fri, 15 Feb 2002 14:48:54 +0000 (14:48 +0000)]
Add a delta missed in the last iommu.c commit. This unbreaks the sparc64
kernel build.

Pointy hat to: tmm

22 years ago - Remove unneeded variable.
Robert Drehmel [Fri, 15 Feb 2002 13:22:09 +0000 (13:22 +0000)]
 - Remove unneeded variable.
 - Remove change for my local configuration that slipped in with
   the last commit; I am having problems booting when multiple SCSI
   disks are attached, so I will change this part as soon as I find
   a solution, anyway.

22 years agoGarbage-collect options ACPI_NO_ENABLE_ON_BOOT, AML_DEBUG, BLEED,
Bruce Evans [Fri, 15 Feb 2002 13:16:11 +0000 (13:16 +0000)]
Garbage-collect options ACPI_NO_ENABLE_ON_BOOT, AML_DEBUG, BLEED,
DEVICE_SYSCTLS, KEY, LOUTB, NFS_MUIDHASHSIZ, NFS_UIDHASHSIZ, PCI_QUIET
and SIMPLELOCK_DEBUG.

22 years agoThis file is now unneeded.
Robert Drehmel [Fri, 15 Feb 2002 13:11:00 +0000 (13:11 +0000)]
This file is now unneeded.

22 years ago - Do not include a NetBSD header as it is not needed anymore.
Robert Drehmel [Fri, 15 Feb 2002 13:09:34 +0000 (13:09 +0000)]
 - Do not include a NetBSD header as it is not needed anymore.
 - Remove two constants that were needed in conjuction with the
   NetBSD disklabel header.  Use the FreeBSD equivalents.
   To boot from NetBSD/sparc64 partitions, define LABELOFFSET to
   be 128.
 - Do not use the complete open firmware path to filter out cdrom drives.
   No path containing "cdrom" is detected as a disk now.
 - Simplify some code.

22 years agoAdd the FreeBSD/sparc64 bootblock and its make file.
Robert Drehmel [Fri, 15 Feb 2002 12:49:20 +0000 (12:49 +0000)]
Add the FreeBSD/sparc64 bootblock and its make file.

22 years agoMoved the 127/8 check below so that IPF redirects have a chance of working.
Ruslan Ermilov [Fri, 15 Feb 2002 12:19:03 +0000 (12:19 +0000)]
Moved the 127/8 check below so that IPF redirects have a chance of working.

MFC after: 1 day

22 years agoGarbage collect options AVM_A1_PCI, AVM_A1_PCMCIA, DEBUG_LINUX, DEV_APM,
Bruce Evans [Fri, 15 Feb 2002 10:19:39 +0000 (10:19 +0000)]
Garbage collect options AVM_A1_PCI, AVM_A1_PCMCIA, DEBUG_LINUX, DEV_APM,
GUS_DMA, GUS_DMA2, GUS_IRQ, OLTR_NO_BULLSEYE_MAC, OLTR_NO_HAWKEYE_MAC,
OLTR_NO_TMS_MAC and PCIC_RESUME_RESET.

22 years agonew entry for polling manpage
Luigi Rizzo [Fri, 15 Feb 2002 08:36:06 +0000 (08:36 +0000)]
new entry for polling manpage
(wonder why the process cannot be made automatic...)

22 years agoAdd a manpage for DEVICE_POLLING
Luigi Rizzo [Fri, 15 Feb 2002 08:34:33 +0000 (08:34 +0000)]
Add a manpage for DEVICE_POLLING

22 years ago#include "opt_compat.h" so that the support for old ioctls can actually
Bruce Evans [Fri, 15 Feb 2002 08:28:34 +0000 (08:28 +0000)]
#include "opt_compat.h" so that the support for old ioctls can actually
be compiled.  Old tty ioctls are still used (possibly ifdef'ed) in at
least the following programs in the src tree:
  atc des ee fontedit gdb gdbserver lock ntp perl5 tcsh telnet top vttest

rp.c:
Unremoved used variables so that the support for old ioctls actually
compiles.

Not tested at runtime by: bde