]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoTwo fixes for devd:
Warner Losh [Sat, 30 Nov 2002 00:40:53 +0000 (00:40 +0000)]
Two fixes for devd:
1) Move devd to the start of the head of the boot process rather than the end.
2) Disable devctl if devd is disabled.

21 years agoConditionalize a GCCism.
Mike Barcroft [Fri, 29 Nov 2002 23:49:27 +0000 (23:49 +0000)]
Conditionalize a GCCism.

Approved by: re

21 years agoImplement bus_space_subregion(). Identical to i386.
Marcel Moolenaar [Fri, 29 Nov 2002 20:14:03 +0000 (20:14 +0000)]
Implement bus_space_subregion(). Identical to i386.

Approved by: re (carte blanc)

21 years agoBetter handle sparse physical memory: Don't use the address range
Marcel Moolenaar [Fri, 29 Nov 2002 20:10:21 +0000 (20:10 +0000)]
Better handle sparse physical memory: Don't use the address range
as a measure for available memory to scale the VHPT. Instead, use
the previously determined Maxmem.

Approved by: re (carte blanc)

21 years agoCheck to make sure that the fs_sblockloc field was properly updated
Kirk McKusick [Fri, 29 Nov 2002 19:20:15 +0000 (19:20 +0000)]
Check to make sure that the fs_sblockloc field was properly updated
before using it to write the superblock. This is to guard against
accidentally trashing the disklabel if the superblock format missed
being upgraded by the new kernel.

Reported by: Sam Leffler <sam@errno.com>
Sponsored by:   DARPA & NAI Labs.
Approved by: Murray Stokely <murray@FreeBSD.org>

21 years agomdoc(7) police: sweep.
Ruslan Ermilov [Fri, 29 Nov 2002 17:35:09 +0000 (17:35 +0000)]
mdoc(7) police: sweep.

21 years agomdoc(7) police: sweep.
Ruslan Ermilov [Fri, 29 Nov 2002 16:42:23 +0000 (16:42 +0000)]
mdoc(7) police: sweep.

21 years agoPut back a test for binaries with no PT_LOAD entries I over-jealosly
Alexander Kabaev [Fri, 29 Nov 2002 16:41:31 +0000 (16:41 +0000)]
Put back a test for binaries with no PT_LOAD entries I over-jealosly
removed in r1.69.

Apploved by: re (rwatson)

21 years agomdoc(7) police: sweep.
Ruslan Ermilov [Fri, 29 Nov 2002 16:21:33 +0000 (16:21 +0000)]
mdoc(7) police: sweep.

21 years agomdoc(7) police: formatting nits.
Ruslan Ermilov [Fri, 29 Nov 2002 15:57:50 +0000 (15:57 +0000)]
mdoc(7) police: formatting nits.

Approved by: re

21 years agoRelease the reference to the peripheral if returning a error.
Yaroslav Tykhiy [Fri, 29 Nov 2002 15:40:10 +0000 (15:40 +0000)]
Release the reference to the peripheral if returning a error.
That reference is to be held only if daopen() has been successful
and until daclose() releases it.  daclose() won't be called if
daopen() has failed, though.

Approved by: re, njl
MFC after: 1 week

21 years agoBack out part of last delta that was committed by accident.
Ruslan Ermilov [Fri, 29 Nov 2002 11:50:08 +0000 (11:50 +0000)]
Back out part of last delta that was committed by accident.
(.Xr is not yet that smart.)

21 years agomdoc(7) police: scheduled sweep.
Ruslan Ermilov [Fri, 29 Nov 2002 11:39:20 +0000 (11:39 +0000)]
mdoc(7) police: scheduled sweep.

Approved by: re

21 years agomdoc(7) police: catch up to the code changes.
Ruslan Ermilov [Fri, 29 Nov 2002 11:36:32 +0000 (11:36 +0000)]
mdoc(7) police: catch up to the code changes.

Approved by: re

21 years agoWhitespace nits.
Dag-Erling Smørgrav [Thu, 28 Nov 2002 20:11:31 +0000 (20:11 +0000)]
Whitespace nits.

Approved by: re (bmah)

21 years agoAdd a PAM_MODULE_ENTRY to this module so it'll actually do something.
Dag-Erling Smørgrav [Thu, 28 Nov 2002 20:05:42 +0000 (20:05 +0000)]
Add a PAM_MODULE_ENTRY to this module so it'll actually do something.

Approved by: re (bmah)

21 years agoMisc. edits and cleanup.
Bruce A. Mah [Thu, 28 Nov 2002 19:50:56 +0000 (19:50 +0000)]
Misc. edits and cleanup.

21 years agotry SIOCGIFINDEX 1st to be able to use network aliasing.
Hajimu UMEMOTO [Thu, 28 Nov 2002 17:46:40 +0000 (17:46 +0000)]
try SIOCGIFINDEX 1st to be able to use network aliasing.

Submitted by: jlemon
Approved by: re

21 years agoFix the standards case by referring to __fds_bits instead of fds_bits
Mike Barcroft [Thu, 28 Nov 2002 15:34:32 +0000 (15:34 +0000)]
Fix the standards case by referring to __fds_bits instead of fds_bits
in FD_*() macros.

Submitted by: Marc Recht <marc@informatik.uni-bremen.de>
Approved by: re

21 years agoRemove the <sys/types.h> prerequisite for <ucontext.h> by including
Mike Barcroft [Thu, 28 Nov 2002 15:32:49 +0000 (15:32 +0000)]
Remove the <sys/types.h> prerequisite for <ucontext.h> by including
<sys/_types.h> in <sys/signal.h>.

Approved by: re

21 years agoAdd a test for what was fixed in revisions 1.39 and 1.50 of
Ruslan Ermilov [Thu, 28 Nov 2002 13:21:32 +0000 (13:21 +0000)]
Add a test for what was fixed in revisions 1.39 and 1.50 of
make/parse.c (allow embedded `:' and `!' in target names).

Approved by: re

21 years agoMoved make(1) regression tests from src/Makefile to where they
Ruslan Ermilov [Thu, 28 Nov 2002 13:08:09 +0000 (13:08 +0000)]
Moved make(1) regression tests from src/Makefile to where they
belong (src/tools/regression/usr.bin/make), and use the latter
to test if make(1) is adequate for building the world.

Approved by: re

21 years agoFinish the fix in revision 1.39 -- make(1)'s behavior is now
Ruslan Ermilov [Thu, 28 Nov 2002 12:47:56 +0000 (12:47 +0000)]
Finish the fix in revision 1.39 -- make(1)'s behavior is now
"greedy" with respect to finding the dependency operators.

Approved by: re

21 years agoImplement and document support for an HTTP_REFERER environment variable.
Dag-Erling Smørgrav [Thu, 28 Nov 2002 12:07:15 +0000 (12:07 +0000)]
Implement and document support for an HTTP_REFERER environment variable.

PR: 28171
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Approved by: re (bmah)
MFC after: 1 week

21 years agoUse pmap_remove_all() instead of pmap_remove() before freeing the page
Alan Cox [Thu, 28 Nov 2002 08:44:26 +0000 (08:44 +0000)]
Use pmap_remove_all() instead of pmap_remove() before freeing the page
in vm_pgmoveco(); the page may have more than one mapping.  Hold the page
queues lock when calling pmap_remove_all().

Approved by: re (blanket)

21 years agoLock page field accesses in mincore().
Alan Cox [Thu, 28 Nov 2002 08:01:39 +0000 (08:01 +0000)]
Lock page field accesses in mincore().

Approved by: re (blanket)

21 years agoReclaim major number 182 which I allocated for mdsio. It was decided
Robert Watson [Thu, 28 Nov 2002 04:29:52 +0000 (04:29 +0000)]
Reclaim major number 182 which I allocated for mdsio.  It was decided
that this should become a line discipline for sio rather than a
separate driver.

21 years agoRevisit the printf format fixes for alpha. intmax_t doesn't exist in
Scott Long [Thu, 28 Nov 2002 04:09:29 +0000 (04:09 +0000)]
Revisit the printf format fixes for alpha.  intmax_t doesn't exist in
RELENG_4, so cast to u_long in order to stay compatible.

Approved by: re (blanket)

21 years agoRemove a left-over virtual mapping of uncached I/O port space.
Marcel Moolenaar [Thu, 28 Nov 2002 03:25:51 +0000 (03:25 +0000)]
Remove a left-over virtual mapping of uncached I/O port space.
Previous kernels unwantingly depended on this mapping, but as
of version 1.123 of src/sys/ia64/ia64/machdep.c this dependency
has been removed. Consequently, one has to update the kernel
before updating the loader. The documented/recommended upgrade
will suffice in this case.

Due to a visible (from the kernels point of view) change in
behaviour, bump the loader version number from 0.3 to 1.0.

Approved by: re (carte blanc)

21 years agoUncomment out the lines of {ncv,ncr53c500,tmc18c30}_pccard.c .
Noriaki Mitsunaga [Thu, 28 Nov 2002 01:17:48 +0000 (01:17 +0000)]
Uncomment out the lines of {ncv,ncr53c500,tmc18c30}_pccard.c .
They now support NEWCARD and compiles with GENERIC kernel.

Approved by: re

21 years agoo Changes to support NEWCARD.
Noriaki Mitsunaga [Thu, 28 Nov 2002 01:15:01 +0000 (01:15 +0000)]
o Changes to support NEWCARD.
        o Add needed headers.
        o Add stg_products[] product data and stg_match() function.
        o Change stg_pccard_method[] to support both OLDCARD and NEWCARD.

Approved by: re

21 years agoo Changes to support NEWCARD.
Noriaki Mitsunaga [Thu, 28 Nov 2002 01:13:58 +0000 (01:13 +0000)]
o Changes to support NEWCARD.
        o Add needed headers.
        o Add ncv_products[] product data and ncv_match() function.
        o Change ncv_pccard_method[] to support both OLDCARD and NEWCARD.

Suggestion for REX-5572 matching part by imp.

Approved by: re

21 years agoo Changes to support NEWCARD.
Noriaki Mitsunaga [Thu, 28 Nov 2002 01:09:29 +0000 (01:09 +0000)]
o Changes to support NEWCARD.
o Add needed headers.
o Add nsp_producs[] product data and nsp_match() function.
o Change nsp_pccard_method[] to support both OLDCARD and NEWCARD.
o Add warning to fall back to PIO mode when it cannot use SMIT mode.
  This is needed because memories are not allocated with NEWCARD now.

Submitted by: takawata
Approved by: re

21 years agoregen to 1.38
Noriaki Mitsunaga [Thu, 28 Nov 2002 01:00:40 +0000 (01:00 +0000)]
regen to 1.38

Reviewed by: imp
Approved by: re

21 years agoo Add PC-Cards' ID or CIS strings which are supported by ncv, nsp,
Noriaki Mitsunaga [Thu, 28 Nov 2002 00:57:47 +0000 (00:57 +0000)]
o Add PC-Cards' ID or CIS strings which are supported by ncv, nsp,
  or stg driver. They are,

Macnica mPS110, PANASONIC(KME) KXLC004, Qlogic Fast SCSI,
Workbit Ultra Ninja-16, (ID based)

Future Domain SCSI2GO, IBM SCSI PCMCIA card, I-O DATA CBSC16,
Macnica mPS100, Newmedia BASICS-SCSI, RATOC REX-5536, RATOC REX-5536AM,
RATOC REX-5536M, RATOC REX5572, Workbit NinjaSCSI-3
(CIS based)

  Note: We need vendor IDs WORKBIT2 and IODATA3 which is -1, since some
        cards does not have IDs in the CIS and fails to be probed without
this fake vendor IDs.

o Change the strings of RATOC REX_R280 from REX-R280 to REX-R280/REX-9530.
  This reminds us that REX-R280 and REX-R9530 have same ID (same product).

Reviewed by: imp
Approved by: re
Obtained from: /etc/defaults/pccard.conf,
List of CIS tupples by Toshihiko ARAI and PAO project:
http://www.linkclub.or.jp/~clover/cis/
Change suggestion by: HASEGAWA Tomoki <thasegawa@mta.biglobe.ne.jp>
for I-O DATA CBSC16 entry

21 years agoNote file, one-true-awk, lukemftpd.
David E. O'Brien [Thu, 28 Nov 2002 00:02:25 +0000 (00:02 +0000)]
Note file, one-true-awk, lukemftpd.

21 years agoMFCs noted: burncd(8) -s max, cdcontrol(1) speed max.
Bruce A. Mah [Wed, 27 Nov 2002 22:13:00 +0000 (22:13 +0000)]
MFCs noted:  burncd(8) -s max, cdcontrol(1) speed max.

Requested by: njl
Approved by: re (implicitly)

21 years agoUse the URL instead of the output file name when reporting errors relating
Dag-Erling Smørgrav [Wed, 27 Nov 2002 20:52:07 +0000 (20:52 +0000)]
Use the URL instead of the output file name when reporting errors relating
to the remote document.

PR: 33856
MFC after: 1 week
Approved by: re

21 years agoEnable UFS2 support in boot1. Just as with sparc64 the same boot1 works
John Baldwin [Wed, 27 Nov 2002 20:13:15 +0000 (20:13 +0000)]
Enable UFS2 support in boot1.  Just as with sparc64 the same boot1 works
great with both UFS1 and UFS2 filesystems.

Approved by: re

21 years agoNo more modems(5).
Bruce A. Mah [Wed, 27 Nov 2002 19:59:19 +0000 (19:59 +0000)]
No more modems(5).

Approved by: re (implicitly)

21 years ago- Only declare the MBR menu for i386 that is not PC98.
John Baldwin [Wed, 27 Nov 2002 19:58:57 +0000 (19:58 +0000)]
- Only declare the MBR menu for i386 that is not PC98.
- Only declare mouse menus if WITH_MICE.
- Only declare syscons menus if WITH_SYSCONS.
- Only declare fdisk editor functions if WITH_SLICES.

Approved by: re

21 years agoOnly include the fdisk editor and associated code if WITH_SLICES is
John Baldwin [Wed, 27 Nov 2002 19:57:39 +0000 (19:57 +0000)]
Only include the fdisk editor and associated code if WITH_SLICES is
defined.

Tested on: i386, alpha, sparc64
Approved by: re

21 years agoOnly define the MBR or IPL menu on i386 (PC98 uses IPL, other i386 use
John Baldwin [Wed, 27 Nov 2002 19:54:46 +0000 (19:54 +0000)]
Only define the MBR or IPL menu on i386 (PC98 uses IPL, other i386 use
MBR).

Approved by: re

21 years agoHold the page queues lock when performing pmap_clear_modify().
Alan Cox [Wed, 27 Nov 2002 19:51:48 +0000 (19:51 +0000)]
Hold the page queues lock when performing pmap_clear_modify().

Approved by: re (blanket)

21 years ago- Only define syscons menus and syscons menu items in other menus if
John Baldwin [Wed, 27 Nov 2002 19:51:43 +0000 (19:51 +0000)]
- Only define syscons menus and syscons menu items in other menus if
  WITH_SYSCONS is defined.
- Only define mouse menus and mouse menu items if WITH_MICE is defined.
- Use WITH_SLICES instead of explicit lists of architectures to control
  the layout of menus dependent on if slices are used on this arch or not.
- Only include the linux startup option if WITH_LINUX is defined.
- Only include the SVR4 startup option on i386.  It doesn't work on sparc64,
  and it is debatable that it even works on i386.
- Change the OSF1 startup option to execute configOSF1() instead of just
  setting the variable so that /compat/osf1 gets created.

Tested on: i386, alpha, sparc64
Approved by: re

21 years agoAdd uftdi(4) devices to the hardware list.
Bruce A. Mah [Wed, 27 Nov 2002 19:47:57 +0000 (19:47 +0000)]
Add uftdi(4) devices to the hardware list.

Approved by: re (implicitly)

21 years agoMFCs noted: crypto(4).
Bruce A. Mah [Wed, 27 Nov 2002 19:47:14 +0000 (19:47 +0000)]
MFCs noted:  crypto(4).

Other changes:  Add uftdi(4) to supported ucom(4) drivers, update
Cardbus items [1], ACPI CA 20021118 update, update a.out toolchain
note, remove Perl wrapper reference and downgrade a warning to a note.

Submitted by: imp [1]
Approved by: re (implicitly)

21 years agoIf the user choose to Undo everything in the label editor, only run the
John Baldwin [Wed, 27 Nov 2002 19:46:18 +0000 (19:46 +0000)]
If the user choose to Undo everything in the label editor, only run the
fdisk editor if WITH_SLICES.  Before this on arch's that didn't support
slices such as alpha and sparc64 you would drop into the fdisk editor after
doing an Undo in the label editor.

Approved by: re

21 years ago- Use WITH_SLICES to conditionalize the fdisk editor during install instead
John Baldwin [Wed, 27 Nov 2002 19:45:10 +0000 (19:45 +0000)]
- Use WITH_SLICES to conditionalize the fdisk editor during install instead
  of an explicit list of architecture defines.
- Tweak the message prior to the label editor in the !WITH_SLICES case to
  make it slightly less awkward since this is the first dialog we see after
  starting an install.
- Only offer to customize syscons settings if WITH_SYSCONS.
- Offer to enable Linux compat if WITH_LINUX.  Before we only did this for
  i386.
- On the alpha, offer to enable OSF/1 compat after asking about Linux
  compat.
- Only offer to configure moused(8) if WITH_MICE is defined.

Tested on: i386, alpha, sparc64
Approved by: re

21 years agoOnly include the diskPartitionEditor script command if WITH_SLICES is
John Baldwin [Wed, 27 Nov 2002 19:41:06 +0000 (19:41 +0000)]
Only include the diskPartitionEditor script command if WITH_SLICES is
defined.

Approved by: re

21 years agoOnly try to setup moused(8) before setting up the X server if WITH_MICE is
John Baldwin [Wed, 27 Nov 2002 19:39:26 +0000 (19:39 +0000)]
Only try to setup moused(8) before setting up the X server if WITH_MICE is
defined.

Approved by: re

21 years ago- Add a configOSF1() function (#ifdef __alpha__) that creates /compat/osf1
John Baldwin [Wed, 27 Nov 2002 19:37:00 +0000 (19:37 +0000)]
- Add a configOSF1() function (#ifdef __alpha__) that creates /compat/osf1
  in addition to setting osf1_enable to YES.
- Only define configLinux() #ifdef WITH_LINUX.

Approved by: re

21 years agoAdd some helper macros to make #ifdef's in sysinstall easier to read
John Baldwin [Wed, 27 Nov 2002 19:30:50 +0000 (19:30 +0000)]
Add some helper macros to make #ifdef's in sysinstall easier to read
and more maintainable.
- WITH_SYSCONS: defined on all arch's that support syscons (currently i386,
  alpha, and ia64)
- WITH_MICE: defined on all arch's that support moused(8) (currently i386,
  alpha, and ia64)
- WITH_SLICES: defined on all arch's that use disk slices (currently i386
  and ia64)
- WITH_LINUX: defined on all arch's that support Linux binary compat
  (currently i386 and alpha)

Approved by: re

21 years agoOnly display the APM option in the Startup menu on i386.
John Baldwin [Wed, 27 Nov 2002 19:25:46 +0000 (19:25 +0000)]
Only display the APM option in the Startup menu on i386.

Approved by: re

21 years agoUse #elif defined(__alpha__) instead of #elif __alpha__.
John Baldwin [Wed, 27 Nov 2002 19:22:25 +0000 (19:22 +0000)]
Use #elif defined(__alpha__) instead of #elif __alpha__.

Approved by: re

21 years agoEnable the compat4x distribution on Alpha as well as i386.
John Baldwin [Wed, 27 Nov 2002 19:16:39 +0000 (19:16 +0000)]
Enable the compat4x distribution on Alpha as well as i386.

Approved by: re

21 years ago- Assume __FreeBSD__ is greater than 3.
John Baldwin [Wed, 27 Nov 2002 19:13:53 +0000 (19:13 +0000)]
- Assume __FreeBSD__ is greater than 3.
- Only include compat4x distribution if this is either i386 or alpha.

21 years agoRemove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.
David E. O'Brien [Wed, 27 Nov 2002 18:52:04 +0000 (18:52 +0000)]
Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.

Approved by: re(jhb)

21 years agoExpand X_AS_PKG so that we don't declare distribution bitmasks or menus
John Baldwin [Wed, 27 Nov 2002 18:36:30 +0000 (18:36 +0000)]
Expand X_AS_PKG so that we don't declare distribution bitmasks or menus
for the X distributions if X_AS_PKG is defined.

Tested on: i386
Approved by: re

21 years agoResolve conflicts arising from the ACPI CA 20021118 import.
Mitsuru IWASAKI [Wed, 27 Nov 2002 18:09:20 +0000 (18:09 +0000)]
Resolve conflicts arising from the ACPI CA 20021118 import.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r107325,
Mitsuru IWASAKI [Wed, 27 Nov 2002 18:07:48 +0000 (18:07 +0000)]
This commit was generated by cvs2svn to compensate for changes in r107325,
which included commits to RCS files with non-trunk default branches.

21 years agoVendor import of the Intel ACPI CA 20021118 drop.
Mitsuru IWASAKI [Wed, 27 Nov 2002 18:07:48 +0000 (18:07 +0000)]
Vendor import of the Intel ACPI CA 20021118 drop.

Approved by: re

21 years agoDon't use fake 'c' or 'a' BSD partitions for CD-ROM devices. This fixes
John Baldwin [Wed, 27 Nov 2002 17:56:27 +0000 (17:56 +0000)]
Don't use fake 'c' or 'a' BSD partitions for CD-ROM devices.  This fixes
sysinstall to create /cdrom entries in /etc/fstab that just use the
raw CD-ROM device /dev/cd0, etc.

Approved by: re

21 years agoAs warned on freebsd-current@, remove the perl wrapper from /usr/src.
David E. O'Brien [Wed, 27 Nov 2002 17:46:26 +0000 (17:46 +0000)]
As warned on freebsd-current@, remove the perl wrapper from /usr/src.
The /usr/bin/perl wrapper isn't solving many of the problems it was
imported to deal with.  There are limitations to it that don't have a
clear "fix".

Reviewed by: markm, kris
Extorted approval from: re(jhb)

21 years agoNeed more parens here.
Warner Losh [Wed, 27 Nov 2002 17:30:41 +0000 (17:30 +0000)]
Need more parens here.

Approved by: re (blanket)

21 years agoDo not set a variable (vp->p_pollinfo) to NULL if we know
Robert Drehmel [Wed, 27 Nov 2002 16:45:54 +0000 (16:45 +0000)]
Do not set a variable (vp->p_pollinfo) to NULL if we know
it already has that value.

Approved by: re

21 years agoRemoved the vestiges of modems(5).
Ruslan Ermilov [Wed, 27 Nov 2002 16:45:10 +0000 (16:45 +0000)]
Removed the vestiges of modems(5).

Approved by: re

21 years agoFix for non-GCC compilers.
David E. O'Brien [Wed, 27 Nov 2002 16:28:18 +0000 (16:28 +0000)]
Fix for non-GCC compilers.

Approved by: re (jhb)

21 years agomdoc(7) police:
Ruslan Ermilov [Wed, 27 Nov 2002 15:33:47 +0000 (15:33 +0000)]
mdoc(7) police:

Added the -h option to the synopsis, documented the -a option,
sorted options descriptions according to style(9).

Approved by: re

21 years agomdoc(7) police: markup fixes.
Ruslan Ermilov [Wed, 27 Nov 2002 15:31:08 +0000 (15:31 +0000)]
mdoc(7) police: markup fixes.

Approved by: re

21 years agomdoc(7) police: kill whitespace at EOL.
Ruslan Ermilov [Wed, 27 Nov 2002 15:25:07 +0000 (15:25 +0000)]
mdoc(7) police: kill whitespace at EOL.

Approved by: re

21 years agomdoc(7) police:
Ruslan Ermilov [Wed, 27 Nov 2002 15:24:11 +0000 (15:24 +0000)]
mdoc(7) police:

Removed whitespace at EOL.
Removed hard sentence breaks.
Removed empty lines.
Spell FreeBSD correctly.
Sort xrefs.

Approved by: re

21 years agoSmall SO_RCVTIMEO and SO_SNDTIMEO values are mistakenly taken to be zero.
Maxim Konovalov [Wed, 27 Nov 2002 13:34:04 +0000 (13:34 +0000)]
Small SO_RCVTIMEO and SO_SNDTIMEO values are mistakenly taken to be zero.

PR: kern/32827
Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
Approved by: re (jhb)
MFC after: 2 weeks

21 years agoDisable debug output from acpi_pci_link.
Mitsuru IWASAKI [Wed, 27 Nov 2002 09:32:24 +0000 (09:32 +0000)]
Disable debug output from acpi_pci_link.
There were no serious problem reports on this in spite of my concern.

To get debug output from acpi_pci_link, just enable bootverbose flag
in usual manner (boot -v).

Approved by: re

21 years agotip(1) no longer uses modems(5).
Ruslan Ermilov [Wed, 27 Nov 2002 09:18:59 +0000 (09:18 +0000)]
tip(1) no longer uses modems(5).

Reviewed by: markm
Approved by: re

21 years agoReally merge from OpenBSD import (should have been done a year ago).
Ruslan Ermilov [Wed, 27 Nov 2002 09:18:28 +0000 (09:18 +0000)]
Really merge from OpenBSD import (should have been done a year ago).

Reviewed by: markm
Approved by: re

21 years agoHold the page queues lock while performing pmap_page_protect().
Alan Cox [Wed, 27 Nov 2002 08:03:24 +0000 (08:03 +0000)]
Hold the page queues lock while performing pmap_page_protect().

Approved by: re (blanket)

21 years agoMinor updates to the aicasm:
Scott Long [Wed, 27 Nov 2002 07:06:43 +0000 (07:06 +0000)]
Minor updates to the aicasm:

aicasm_gram.y:
Use a direct move from allzeros to emulate a
mvi of 0.

aicasm_insformat.h:
sync $Id$

aicasm_symbol.c:
Minor header change.

Approved by: re (blanket)

21 years agoXircom cards store the MAC address in the CIS, so get it from the new
Warner Losh [Wed, 27 Nov 2002 07:04:10 +0000 (07:04 +0000)]
Xircom cards store the MAC address in the CIS, so get it from the new
pci_get_ether accesor, which gets it from the CIS for cardbus cards
(and from other pci-like buses via whatever mechanism is used there).

Submitted by: sam
Approved by: re (blanket)

21 years agoImplement PCI_IVAR_ETHADDR. Cardbus has the MAC addr in the CIS,
Warner Losh [Wed, 27 Nov 2002 06:56:29 +0000 (06:56 +0000)]
Implement PCI_IVAR_ETHADDR.  Cardbus has the MAC addr in the CIS,
sometimes, so return it when requested and it does.  Also a little
more infrastructure for a few other things.

Submitted by: sam
Approved by: re (blanket for NEWCARD)

21 years agoAdd a new cardbus specific ivar: PCI_IVAR_ETHADDR. Some pci-like
Warner Losh [Wed, 27 Nov 2002 06:41:28 +0000 (06:41 +0000)]
Add a new cardbus specific ivar: PCI_IVAR_ETHADDR.  Some pci-like
buses support querying the MAC address in a standard-for-that-bus way.
The base pci bus returns NULL for this IVAR always.

Submitted by: sam
Approved by: re (blanket for NEWCARD)

21 years agoMerge argument parsing changes into this copy of telnet.
Eric Melville [Wed, 27 Nov 2002 06:34:24 +0000 (06:34 +0000)]
Merge argument parsing changes into this copy of telnet.

Submitted by: markm
Approved by: bmah

21 years agoMFp4:
Warner Losh [Wed, 27 Nov 2002 06:04:49 +0000 (06:04 +0000)]
MFp4:

Fix a bug with the 3.3V code for the ricoh bridges.  I got the bit
detect backwards.  Also, we can only detect 3.3V cards when the GPI
interrupt is disabled.  So when it is enabled assume 5.0V card.

Obtained from: NetBSD (takemura-san from patches by ngc@ff.iij4u.or.jp)
Approved by: re (blanket)

21 years agoo Initialise each mbuf's m_len to 0 in m_getm(); mb_put_mem() depends
Tim J. Robbins [Wed, 27 Nov 2002 04:26:00 +0000 (04:26 +0000)]
o Initialise each mbuf's m_len to 0 in m_getm(); mb_put_mem() depends
  on this.
o Update the `cur' pointer in the cluster loop in m_getm() to avoid
  incorrect truncation and leaked mbufs.

Reviewed by: bmilekic
Approved by: re

21 years agoMake the rman_{get,set}_* macros into real functions. The macros
Warner Losh [Wed, 27 Nov 2002 03:55:22 +0000 (03:55 +0000)]
Make the rman_{get,set}_* macros into real functions.  The macros
create an ABI that encodes offsets and sizes of structures into client
drivers.  The functions isolate the ABI from changes to the resource
structure.  Since these are used very rarely (once at startup), the
speed penalty will be down in the noise.

Also, add r_rid to the structure so that clients can save the 'rid' of
the resource in the struct resource, plus accessor functions.  Future
additions to newbus will make use of this to present a simplified
interface for resource specification.

Approved by: re (jhb)
Reviewed by: jhb, jake

21 years agoUpdate the version number.
David E. O'Brien [Wed, 27 Nov 2002 03:36:49 +0000 (03:36 +0000)]
Update the version number.

Approved by: bmah, jhb, murray (independently)

21 years agoCreate a new 32-bit fs_flags word in the superblock. Add code to move
Kirk McKusick [Wed, 27 Nov 2002 02:18:58 +0000 (02:18 +0000)]
Create a new 32-bit fs_flags word in the superblock. Add code to move
the old 8-bit fs_old_flags to the new location the first time that the
filesystem is mounted by a new kernel. One of the unused flags in
fs_old_flags is used to indicate that the flags have been moved.
Leave the fs_old_flags word intact so that it will work properly if
used on an old kernel.

Change the fs_sblockloc superblock location field to be in units
of bytes instead of in units of filesystem fragments. The old units
did not work properly when the fragment size exceeeded the superblock
size (8192). Update old fs_sblockloc values at the same time that
the flags are moved.

Suggested by: BOUWSMA Barry <freebsd-misuser@netscum.dyndns.dk>
Sponsored by:   DARPA & NAI Labs.

21 years agoFix a fatal typo introduced in revision 1.13 that caused the mbuf chains to
Tim J. Robbins [Tue, 26 Nov 2002 23:53:28 +0000 (23:53 +0000)]
Fix a fatal typo introduced in revision 1.13 that caused the mbuf chains to
be created incorrectly for requests larger than NB_SORECEIVE_CHUNK bytes.

Approved by: re

21 years agoconfigXEnvironment doesn't work in sysinstall now.
Giorgos Keramidas [Tue, 26 Nov 2002 23:23:42 +0000 (23:23 +0000)]
configXEnvironment doesn't work in sysinstall now.
Change the manpage to reflect that it's now called configXSetup.
Also document configXDesktop.

Submitted by: pirat <pirat@access.inet.co.th>

21 years agoAlign timestamps when -t is used in ipfw and ipfw2.
Giorgos Keramidas [Tue, 26 Nov 2002 22:53:14 +0000 (22:53 +0000)]
Align timestamps when -t is used in ipfw and ipfw2.

PR: kern/44843
Approved by: re (jhb)

21 years agoAdd GNOME 2 to the sysinstall desktop configuration menu, remove
Bruce A. Mah [Tue, 26 Nov 2002 22:14:34 +0000 (22:14 +0000)]
Add GNOME 2 to the sysinstall desktop configuration menu, remove
the two GNOME 1-based alternatives.

While here, note that a majority of the items in this menu are not
sentences, and remove trailing dots to make the remainder consistent.

Reviewed by: marcus
Approved by: re (bmah)

21 years agoFix a kernel panic with rules of the type
Luigi Rizzo [Tue, 26 Nov 2002 19:58:12 +0000 (19:58 +0000)]
Fix a kernel panic with rules of the type

        prob 0.5 pipe NN ....

due to the generation of an invalid ipfw instruction sequence.
No ABI change, but you need to upgrade /sbin/ipfw to generate the
correct code.

Approved by: re

21 years agoUpdate documentation to match the behaviour of ipfw with respect
Luigi Rizzo [Tue, 26 Nov 2002 19:51:40 +0000 (19:51 +0000)]
Update documentation to match the behaviour of ipfw with respect
to net.inet.ip.fw.one_pass.
Add to notes to explain the exact behaviour of "prob xxx" and "log"
options.

Virtually approved by: re (mentioned in rev.1.19 of ip_fw2.c)

21 years agofixes for this driver:
Julian Elischer [Tue, 26 Nov 2002 18:30:45 +0000 (18:30 +0000)]
fixes for this driver:
1) "ubt" driver did not work when system is booted with the device attached
2) missing "break;" in ubt_rcvmsg() function;

Submitted by: Maksim Yevmenkin <Maksim.Yevmenkin@cw.com>
Approved by: re (jhb)

21 years agoRemove our custom mixed ELF/a.out support. This means the base compiler
David E. O'Brien [Tue, 26 Nov 2002 18:25:20 +0000 (18:25 +0000)]
Remove our custom mixed ELF/a.out support.  This means the base compiler
now only produce ELF objects.  It also makes us closer to stock GCC, and
simplifies the set of changes we still need from stock GCC on every import.

Applauded by: peter
Approved by: re

21 years ago(hopefully) fix build breakage some people are seeing
Cameron Grant [Tue, 26 Nov 2002 18:16:27 +0000 (18:16 +0000)]
(hopefully) fix build breakage some people are seeing

Approved by: re

21 years agoDon't hold acct_mtx over limcopy(), since it's unnecessary and
Bill Fenner [Tue, 26 Nov 2002 18:04:12 +0000 (18:04 +0000)]
Don't hold acct_mtx over limcopy(), since it's unnecessary and
 limcopy() can sleep.

Approved by: re

21 years agocorrect function names in KASSERT's for 2 m_tag routines
Sam Leffler [Tue, 26 Nov 2002 17:59:16 +0000 (17:59 +0000)]
correct function names in KASSERT's for 2 m_tag routines

Submitted by: rwatson
Approved by: re

21 years agomdoc(7) police:
Ruslan Ermilov [Tue, 26 Nov 2002 17:55:41 +0000 (17:55 +0000)]
mdoc(7) police:

Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai]
strings; using these strings is unsafe in troff mode, as they include a
change in a font size.

Approved by: re

21 years agoUnhook LOMAC kernel module since the functionality is now provided by
Robert Watson [Tue, 26 Nov 2002 17:53:27 +0000 (17:53 +0000)]
Unhook LOMAC kernel module since the functionality is now provided by
the smaller, cleaner, less bit-rotted mac_lomac module.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories