]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoAdd support for CBR and VBR PVCs. Enhance the error handling for
harti [Mon, 28 Jul 2003 15:27:12 +0000 (15:27 +0000)]
Add support for CBR and VBR PVCs. Enhance the error handling for
the 'add pvc' command.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoDhclient can't block anymore during startup. Document
mbr [Mon, 28 Jul 2003 13:56:00 +0000 (13:56 +0000)]
Dhclient can't block anymore during startup. Document
the 'background_dhclient' better.

21 years agoConvert the atm{2,3}.sh rc scripts to normal rc.d scripts. Add support
harti [Mon, 28 Jul 2003 13:30:42 +0000 (13:30 +0000)]
Convert the atm{2,3}.sh rc scripts to normal rc.d scripts. Add support
for the harp(4) pseudo driver and for loadable native HARP drivers
(like hfa_pci).

To use harp(4) the rc variable natm_interfaces must be set to the
list of NATM interfaces to be used for HARP. These interfaces
will be brought up with ifconfig and the harp(4) will be loaded.

To use loadable native HARP drivers atm_load must be set to
the list of drivers to load.

Reviewed by: mtm, gordon (partly)

21 years agoDon't wait forever if there is no link, go to background
mbr [Mon, 28 Jul 2003 13:25:04 +0000 (13:25 +0000)]
Don't wait forever if there is no link, go to background
after 2 x polling time.

21 years agoChange the default for background_dhclient back to NO. It can
mbr [Mon, 28 Jul 2003 13:09:00 +0000 (13:09 +0000)]
Change the default for background_dhclient back to NO. It can
cause to much troubles with applications.

21 years agoDefine $FreeBSD$ at the right place.
mbr [Mon, 28 Jul 2003 11:49:07 +0000 (11:49 +0000)]
Define $FreeBSD$ at the right place.

21 years agoMake this compile on 64 bit systems again. You cannot just cast a 32 bit
peter [Mon, 28 Jul 2003 10:25:26 +0000 (10:25 +0000)]
Make this compile on 64 bit systems again.  You cannot just cast a 32 bit
int to a 64 bit pointer.  This file is already off the vendor branch.

21 years agoDATE and PATCH are always defined, but may be empty.
des [Mon, 28 Jul 2003 10:02:25 +0000 (10:02 +0000)]
DATE and PATCH are always defined, but may be empty.

21 years agoRemove redundant "targets", add NOLIBC_R and NOFORTH to environment
des [Mon, 28 Jul 2003 09:51:52 +0000 (09:51 +0000)]
Remove redundant "targets", add NOLIBC_R and NOFORTH to environment

21 years agoInstall experimental.rc
des [Mon, 28 Jul 2003 09:49:27 +0000 (09:49 +0000)]
Install experimental.rc

21 years agoDocument --dump
des [Mon, 28 Jul 2003 09:48:13 +0000 (09:48 +0000)]
Document --dump

21 years agoRevive the powerpc tinderbox that used to run on 9ball.
des [Mon, 28 Jul 2003 09:46:48 +0000 (09:46 +0000)]
Revive the powerpc tinderbox that used to run on 9ball.

21 years agostanley uses a different sandbox.
des [Mon, 28 Jul 2003 09:44:54 +0000 (09:44 +0000)]
stanley uses a different sandbox.

21 years agoDon't mail out failure reports from stanley.
des [Mon, 28 Jul 2003 09:43:00 +0000 (09:43 +0000)]
Don't mail out failure reports from stanley.

21 years ago- add a -d option which dumps the configuration and exits
des [Mon, 28 Jul 2003 09:42:42 +0000 (09:42 +0000)]
- add a -d option which dumps the configuration and exits
- initialize single-valued configuration variables to '' rather than undef
- allow empty values in configuration files
- take care to untaint $etcdir

21 years agoEnable dhclient to poll the interface state and send only
mbr [Mon, 28 Jul 2003 08:30:11 +0000 (08:30 +0000)]
Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
while the network cable is not plugged in.

To control the polling interval, the option -i has been
introduced. It takes seconds as parameter, the minimum is
one second, the default is five seconds.

Polling is done in seconds, not microseconds, because dhclient
does internally work with timeouts in seconds.

This change will be part of the next major ISC-dhcpd release.

Tested by: bms, imp, and many many others.
Reviewed by: murray, eivind, dhclient folks

21 years agoDocument background_dhclient.
mbr [Mon, 28 Jul 2003 08:17:08 +0000 (08:17 +0000)]
Document background_dhclient.

21 years agoAlways start dhclient in the background.
mbr [Mon, 28 Jul 2003 08:15:52 +0000 (08:15 +0000)]
Always start dhclient in the background.

Reviewed by: mtm

21 years agoMake atm WARNS=6 clean. The changes are mostly:
harti [Mon, 28 Jul 2003 08:14:27 +0000 (08:14 +0000)]
Make atm WARNS=6 clean. The changes are mostly:

 - remove some instances of __P()
 - use real prototypes and un-K&R function headers
 - constify where necessary (mostly strings and structures containing
   strings)
 - make functions and variables static that need not to be global
 - tag unused function parameters as __unused

Testing: a fresh universe

21 years agoAdd a PATH_INQ flag, PIM_NO_6_BYTE, which indicates the SIM never wishes to
njl [Mon, 28 Jul 2003 06:15:59 +0000 (06:15 +0000)]
Add a PATH_INQ flag, PIM_NO_6_BYTE, which indicates the SIM never wishes to
receive 6 byte commands.  Add a check for this flag to da(4) and cd(4) so
that they honor it.  This is a quick workaround for many devices (especially
USB) that require da(4) quirks to operate.  The more complete approach is
to finish the new transport code which will be aware of the SCSI version a
transport implements.

MFC after: 1 day

21 years agoNone of the "alloc" functions used by UMA assume that Giant is held any
alc [Mon, 28 Jul 2003 02:29:07 +0000 (02:29 +0000)]
None of the "alloc" functions used by UMA assume that Giant is held any
longer.  (If they still need it, e.g., contigmalloc(), they acquire it
themselves.)  Therefore, we need not acquire Giant in slab_zalloc().

21 years agoauth.conf seems to be being gradually subsumed by user classes
rwatson [Mon, 28 Jul 2003 02:28:51 +0000 (02:28 +0000)]
auth.conf seems to be being gradually subsumed by user classes
and PAM configuration.  Remove the line concerning "auth_list"
from the template, since it's referenced only in the tinyware
password command, and only #ifdef KERBEROS, which isn't defined
in tinyware.  Add a comment about auth.conf being on the way
out the door.  The one remaining consumer of auth.conf is
crypt(3).

21 years agoThe LP_ETH_10_100_CF entry needs to be tagged as a DL100019.
imp [Mon, 28 Jul 2003 00:07:58 +0000 (00:07 +0000)]
The LP_ETH_10_100_CF entry needs to be tagged as a DL100019.

Submitted by: Scott Renfro

21 years agoReset the per-CPU unique value at boot and clear it in the PCB of the
marcel [Sun, 27 Jul 2003 23:45:48 +0000 (23:45 +0000)]
Reset the per-CPU unique value at boot and clear it in the PCB of the
child when forking. This provides a consistent initial state.
Note that cpu_set_upcall() does not clear the per-CPU unique value as
it is followed by a call to set_mcontext(), which sets it accordingly.

21 years agoMake pmap_pvo_allocf() callable without Giant.
alc [Sun, 27 Jul 2003 20:57:53 +0000 (20:57 +0000)]
Make pmap_pvo_allocf() callable without Giant.

21 years agoAdd -dynamic to natd if dhcp is used for the natd interface.
mbr [Sun, 27 Jul 2003 20:34:30 +0000 (20:34 +0000)]
Add -dynamic to natd if dhcp is used for the natd interface.
Kill natd in stop().

Reviewed by: mtm

21 years agoPass the file descriptor index down to vn_open.
phk [Sun, 27 Jul 2003 20:09:13 +0000 (20:09 +0000)]
Pass the file descriptor index down to vn_open.

If the method vector was replaced and we got the "special return code"
smile and trust that whatever happened below DTRT.

21 years agoPass the fdidx argument from vn_open{_cred}() onto VOP_OPEN()
phk [Sun, 27 Jul 2003 20:05:36 +0000 (20:05 +0000)]
Pass the fdidx argument from vn_open{_cred}() onto VOP_OPEN()

21 years agoRemove GIANT_REQUIRED from kmem_alloc().
alc [Sun, 27 Jul 2003 18:31:32 +0000 (18:31 +0000)]
Remove GIANT_REQUIRED from kmem_alloc().

21 years agoSome Typos fix
gioria [Sun, 27 Jul 2003 18:10:24 +0000 (18:10 +0000)]
Some Typos fix

21 years agoAdd fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout.
phk [Sun, 27 Jul 2003 17:04:56 +0000 (17:04 +0000)]
Add fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout.

21 years agoCall the new argument "fdidx" that is more precise than "fd".
phk [Sun, 27 Jul 2003 17:03:20 +0000 (17:03 +0000)]
Call the new argument "fdidx" that is more precise than "fd".

21 years agoTry a lot harder to get dependancies right. This involves some ugly
markm [Sun, 27 Jul 2003 16:49:10 +0000 (16:49 +0000)]
Try a lot harder to get dependancies right. This involves some ugly
looking ${.OBJDIR} work that has the up-side of actually working
in upgrade and make -jN cases.

This needs to be revisited further, and it is conceivable that
the ${.OBJDIR} stuff can be simplified, but the sheer number of
edge cases and other causes make this Hard(tm). For now, this works.

21 years agoip6fw does not handle ESP correctly
ume [Sun, 27 Jul 2003 16:21:10 +0000 (16:21 +0000)]
ip6fw does not handle ESP correctly

PR: kern/54874
Submitted by: JINMEI Tatuya <jinmei@shuttle.wide.toshiba.co.jp>
MFC after: 1 week

21 years agoRespect BUS_DMA_ZERO in iommu_dvmamem_alloc().
tmm [Sun, 27 Jul 2003 15:19:45 +0000 (15:19 +0000)]
Respect BUS_DMA_ZERO in iommu_dvmamem_alloc().

21 years agoUse the BUS_DMA_ZERO flag.
mux [Sun, 27 Jul 2003 14:38:54 +0000 (14:38 +0000)]
Use the BUS_DMA_ZERO flag.

21 years agoNow that we can call kmem_malloc without Giant it should be safe
dwmalone [Sun, 27 Jul 2003 14:19:23 +0000 (14:19 +0000)]
Now that we can call kmem_malloc without Giant it should be safe
to do mbuf allocation without Giant, so remove the GIANT_REQUIRED
from mb_alloc in the M_TRYWAIT case.

21 years agoEnable the safe, harp, hatm and patm driver documentations for pc98.
nyan [Sun, 27 Jul 2003 14:08:54 +0000 (14:08 +0000)]
Enable the safe, harp, hatm and patm driver documentations for pc98.

21 years agoDocument the new BUS_DMA_ZERO flag.
mux [Sun, 27 Jul 2003 14:05:29 +0000 (14:05 +0000)]
Document the new BUS_DMA_ZERO flag.

21 years agoChanged the data types of three index variables, two of them
robert [Sun, 27 Jul 2003 14:01:33 +0000 (14:01 +0000)]
Changed the data types of three index variables, two of them
in the `video_state' structure, to larger ones (from u_char to
u_short).  Each can now hold values at least as large as the
size of the array it is meant to point into.

This eliminates warnings printed by GCC 3.3.1 and hence makes
pcvt compilable using -Werror.

21 years agoUse the BUS_DMA_ZERO flag.
mux [Sun, 27 Jul 2003 14:00:02 +0000 (14:00 +0000)]
Use the BUS_DMA_ZERO flag.

21 years agoUse the BUS_DMA_ZERO flag instead of bzero()'ing DMA memory.
mux [Sun, 27 Jul 2003 13:56:03 +0000 (13:56 +0000)]
Use the BUS_DMA_ZERO flag instead of bzero()'ing DMA memory.

21 years ago- Introduce a new busdma flag BUS_DMA_ZERO to request for zero'ed
mux [Sun, 27 Jul 2003 13:52:10 +0000 (13:52 +0000)]
- Introduce a new busdma flag BUS_DMA_ZERO to request for zero'ed
  memory in bus_dmamem_alloc().  This is possible now that
  contigmalloc() supports the M_ZERO flag.
- Remove the locking of Giant around calls to contigmalloc() since
  contigmalloc() now grabs Giant itself.

21 years agoTry a lot harder to get dependancies right. This involves some ugly
markm [Sun, 27 Jul 2003 13:17:31 +0000 (13:17 +0000)]
Try a lot harder to get dependancies right. This involves some ugly
looking ${.OBJDIR} work that has the up-side of actually working
in upgrade and make -jN cases.

This needs to be revisited further, and it is conceivable that
the ${.OBJDIR} stuff can be simplified, but the sheer number of
edge cases and other causes make this Hard(tm). For now, this works.

21 years agoFix some off-by-one errors dealing with limits of server names,
tjr [Sun, 27 Jul 2003 11:41:38 +0000 (11:41 +0000)]
Fix some off-by-one errors dealing with limits of server names,
usernames, workgroup names and passwords. We can now connect to
servers with 15-character NetBIOS names. (Some versions of Windows
use semi-random 15-char names by default.)

PR: 46902

21 years agoReserve space for the trailing null byte in the srvname member of
tjr [Sun, 27 Jul 2003 11:36:00 +0000 (11:36 +0000)]
Reserve space for the trailing null byte in the srvname member of
struct smb_vc_info.

PR: 46902

21 years agoAdd the -n maxrec option as an alias for -maxrec for compatibility with
tjr [Sun, 27 Jul 2003 10:53:28 +0000 (10:53 +0000)]
Add the -n maxrec option as an alias for -maxrec for compatibility with
System V and consistency with other utilities. Document the new form
instead of the old form in the manual page.

PR: 54661

21 years agoUse pmap_zero_page() to zero pages instead of bzero() because
mux [Sun, 27 Jul 2003 10:41:33 +0000 (10:41 +0000)]
Use pmap_zero_page() to zero pages instead of bzero() because
they haven't been vm_map_wire()'d yet.

21 years agoSimplify sigwait code a bit by using a waitset and removing oldsigmask.
davidxu [Sun, 27 Jul 2003 06:46:34 +0000 (06:46 +0000)]
Simplify sigwait code a bit by using a waitset and removing oldsigmask.

Reviewed by: deischen

21 years agoAllow vm_object_reference() on kernel_object without Giant.
alc [Sun, 27 Jul 2003 05:43:58 +0000 (05:43 +0000)]
Allow vm_object_reference() on kernel_object without Giant.

21 years agoChanged the type of the variable `qidx' from u_int8_t to int,
robert [Sun, 27 Jul 2003 00:13:49 +0000 (00:13 +0000)]
Changed the type of the variable `qidx' from u_int8_t to int,
mainly to quiet a warning emitted by GCC 3.3 about comparing
a variable to a value which is larger than the former can hold.

The value was checked to make sure the `np->squeue' array is
not accessed behind its boundary.
This worked due to possibly accidental truncation when
(np->squeueput + 1) was larger than or equal to MAX_START (256)
when it was assigned to `qidx'.

`qidx' is used to hold the next position in the start queue
for an insertion.  The new type was chosen because some other
code in the function ncr_freeze_devq() also uses plain integers
to hold those indices.

Wrapped the line after the closing parenthesis of an `if'
condition.

21 years agoUse M_WAITOK instead of M_WAIT in sppp_attach().
gj [Sat, 26 Jul 2003 21:58:06 +0000 (21:58 +0000)]
Use M_WAITOK instead of M_WAIT in sppp_attach().

21 years agoAcquire Giant rather than asserting it is held in contigmalloc(). This is
alc [Sat, 26 Jul 2003 21:48:46 +0000 (21:48 +0000)]
Acquire Giant rather than asserting it is held in contigmalloc().  This is
a prerequisite to removing further uses of Giant from UMA.

21 years agoAdd notice about the local change in r1.25
mbr [Sat, 26 Jul 2003 21:29:28 +0000 (21:29 +0000)]
Add notice about the local change in r1.25

21 years agoFix a couple of bugs in the resume handler. Don't call the if_init
jdp [Sat, 26 Jul 2003 20:54:57 +0000 (20:54 +0000)]
Fix a couple of bugs in the resume handler.  Don't call the if_init
function unless the device is configured up.  Without this fix, the
device ends up in the RUNNING state even though it is configured down.
Also, check the RUNNING flag before calling the if_start function, in
case the if_init function failed for one reason or another.

21 years agoDefine the stop command to do nothing when only a specific
mtm [Sat, 26 Jul 2003 18:58:46 +0000 (18:58 +0000)]
Define the stop command to do nothing when only a specific
interface is to be stopped. In this case we don't want to go
beyond releasing the lease.

21 years agoWhen stopping a dhcp interface, don't just release the lease on
mtm [Sat, 26 Jul 2003 18:50:53 +0000 (18:50 +0000)]
When stopping a dhcp interface, don't just release the lease on
the address, also kill the dhclient process. Instead of doing the
release in the stop command, move it to the precmd stage and allow
rc.subr(8) to automatically kill the dhclient process by leaving the
stop command undefined.

Noticed by: mbr

21 years agoAdd Socket Communications Low Power 10/100 CF Ethernet card.
imp [Sat, 26 Jul 2003 17:52:09 +0000 (17:52 +0000)]
Add Socket Communications Low Power 10/100 CF Ethernet card.

Obtained from: NetBSD (information, not code)

21 years agoSync to 1.61 of pccarddevs
imp [Sat, 26 Jul 2003 17:46:43 +0000 (17:46 +0000)]
Sync to 1.61 of pccarddevs

21 years agoMFNetBSD:
imp [Sat, 26 Jul 2003 17:45:45 +0000 (17:45 +0000)]
MFNetBSD:
1.183: gmcgarry; Add Sharp PALDIO 611S
1.184: martin; Socket LP 10/100 CF

Obtained from: NetBSD

21 years agoo Fix usage(): remove '-l', add missed '-f', sort.
maxim [Sat, 26 Jul 2003 15:29:10 +0000 (15:29 +0000)]
o Fix usage(): remove '-l', add missed '-f', sort.

21 years agoInline a function that gcc refused to inline. This function was used
harti [Sat, 26 Jul 2003 14:57:26 +0000 (14:57 +0000)]
Inline a function that gcc refused to inline. This function was used
only in one place and it just served as semantic sugar.

21 years agoSilence a gcc-warning. Do this by inlining the macro-call. This is
harti [Sat, 26 Jul 2003 14:20:37 +0000 (14:20 +0000)]
Silence a gcc-warning. Do this by inlining the macro-call. This is
not very nice - the compiler should just silently optimize away the
unused else clause.

21 years agoThe /rescue system is now enabled by default again, so remove note
simon [Sat, 26 Jul 2003 13:04:40 +0000 (13:04 +0000)]
The /rescue system is now enabled by default again, so remove note
saying that it is disabled.

Approved by: ceri (mentor)

21 years agoSet mc_len to sizeof(mcontext_t), otherwise it is an invalid context.
davidxu [Sat, 26 Jul 2003 12:58:28 +0000 (12:58 +0000)]
Set mc_len to sizeof(mcontext_t), otherwise it is an invalid context.

21 years agoRemove references to the '-l' option in synopsis. The rest of the
simon [Sat, 26 Jul 2003 12:57:56 +0000 (12:57 +0000)]
Remove references to the '-l' option in synopsis.  The rest of the
description of this option was removed in v. 1.22.

PR: docs/54880
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Approved by: ceri (mentor)

21 years agoMinor mdoc(7) cleanup, based on the PR below.
simon [Sat, 26 Jul 2003 12:41:44 +0000 (12:41 +0000)]
Minor mdoc(7) cleanup, based on the PR below.

PR: docs/54826
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Reviewed by: ru
Approved by: ceri (mentor)

21 years agoFix "write from stdin".
pb [Sat, 26 Jul 2003 12:14:58 +0000 (12:14 +0000)]
Fix "write from stdin".

Reviewed by: sos
MFC after: 1 week

21 years agoFixed wrong function names in the error message that was translated to
bde [Sat, 26 Jul 2003 11:53:40 +0000 (11:53 +0000)]
Fixed wrong function names in the error message that was translated to
C in rev.1.32 so that it doesn't take 2 commits for all branches to fix
this message.

21 years agoRemove prototype of ia64_pa_access(). The function has been moved to
marcel [Sat, 26 Jul 2003 10:13:30 +0000 (10:13 +0000)]
Remove prototype of ia64_pa_access(). The function has been moved to
mem.c where it's been made static.

21 years agoEnable wake up GPE before shutdown, not only for sleeping.
takawata [Sat, 26 Jul 2003 09:54:17 +0000 (09:54 +0000)]
Enable wake up GPE before shutdown, not only for sleeping.

21 years agoAvoid using __aligned(16). Instead define the jmp_buf in terms of
marcel [Sat, 26 Jul 2003 08:03:43 +0000 (08:03 +0000)]
Avoid using __aligned(16). Instead define the jmp_buf in terms of
long doubles. This gives us 16-byte alignment. Add a CTASSERT for
the size of the jmp_buf to detect ABI breakages.

21 years agoAdd a "int fd" argument to VOP_OPEN() which in the future will
phk [Sat, 26 Jul 2003 07:32:23 +0000 (07:32 +0000)]
Add a "int fd" argument to VOP_OPEN() which in the future will
contain the filedescriptor number on opens from userland.

The index is used rather than a "struct file *" since it conveys a bit
more information, which may be useful to in particular fdescfs and /dev/fd/*

For now pass -1 all over the place.

21 years agoUnbreak ia64 builds now -Werror is enabled again. Avoid obsolete
marcel [Sat, 26 Jul 2003 07:23:25 +0000 (07:23 +0000)]
Unbreak ia64 builds now -Werror is enabled again. Avoid obsolete
memory operand construct.

21 years agoGuard against MLEN growing larger than a uint8_t due to MSIZE grwoing to a
scottl [Sat, 26 Jul 2003 07:23:24 +0000 (07:23 +0000)]
Guard against MLEN growing larger than a uint8_t due to MSIZE grwoing to a
value of 512 in LINT.  This keeps gcc from complaining.

21 years agoBah, I go and get all preachy, and then commit from the wrong branch. Revert
scottl [Sat, 26 Jul 2003 06:47:40 +0000 (06:47 +0000)]
Bah, I go and get all preachy, and then commit from the wrong branch.  Revert
the use of '-j8'.

Apologies to: ru

21 years agoFix the release build with a forgotten '-f'.
scottl [Sat, 26 Jul 2003 05:57:52 +0000 (05:57 +0000)]
Fix the release build with a forgotten '-f'.

21 years agoFixes for 64 bit cleanliness. The length arg to sysctl is a pointer to
peter [Sat, 26 Jul 2003 04:03:18 +0000 (04:03 +0000)]
Fixes for 64 bit cleanliness.  The length arg to sysctl is a pointer to
size_t not int.

Reviewed by: bp

21 years agoUse #include <string.h> rather than <strings.h> so that the strdup()
peter [Sat, 26 Jul 2003 04:02:22 +0000 (04:02 +0000)]
Use #include <string.h> rather than <strings.h> so that the strdup()
prototype gets brought into scope.  This is a big deal for 64 bit
systems where the default return value of 'int' is != pointer.

Reviewed by: bp

21 years agoGulp ... call kmem_malloc() without Giant.
alc [Sat, 26 Jul 2003 03:55:32 +0000 (03:55 +0000)]
Gulp ... call kmem_malloc() without Giant.

21 years agoFix some recently introduced warnings. 'Declaration does not declare
peter [Sat, 26 Jul 2003 03:47:56 +0000 (03:47 +0000)]
Fix some recently introduced warnings.  'Declaration does not declare
anything' etc.

21 years agoTurn -Werror back on again. I've tested with/without
peter [Sat, 26 Jul 2003 03:46:39 +0000 (03:46 +0000)]
Turn -Werror back on again.  I've tested with/without
invariants/witness/etc on i386, sparc64, amd64 and alpha for GENERIC.
Lint probably still needs fixing, as do a couple of other drivers
that have broken recently and not been noticed.

21 years agoFix typo.
davidxu [Sat, 26 Jul 2003 02:36:50 +0000 (02:36 +0000)]
Fix typo.

21 years agoChange the inline limit switch to something that exists in gcc-3.2.
peter [Sat, 26 Jul 2003 02:27:50 +0000 (02:27 +0000)]
Change the inline limit switch to something that exists in gcc-3.2.
Unfortunately, it has different units.

21 years agoRevise and improve ntfs_subr.c 1.30: read only a single cluster at a time
tjr [Sat, 26 Jul 2003 02:21:49 +0000 (02:21 +0000)]
Revise and improve ntfs_subr.c 1.30: read only a single cluster at a time
in ntfs_writentvattr_plain and ntfs_readntvattr_plain, and purge the boot
block from the buffer cache if isn't exactly one cluster long. These two
changes work around the same buffer cache bug that ntfs_subr.c 1.30 tried
to, but in a different way. This may decrease throughput by reading smaller
amounts of data from the disk at a time, but may increase it by avoiding
bogus writes of clean buffers.
Problem (re)reported by Karel J. Bosschaart on -current.

21 years agoRevert previous commit. We don't use setjmp()/longjmp() for context
marcel [Fri, 25 Jul 2003 22:36:48 +0000 (22:36 +0000)]
Revert previous commit. We don't use setjmp()/longjmp() for context
switching anymore, so there's no need to save and restore GP. This
change breaks threaded applications linked against libc_r. Pull the
tier 2 card again: relink. This will link against libthr instead.

21 years agorevision 1.51 of vm/uma_core.c modified uma_large_malloc() to acquire
alc [Fri, 25 Jul 2003 22:26:43 +0000 (22:26 +0000)]
revision 1.51 of vm/uma_core.c modified uma_large_malloc() to acquire
Giant when needed.

21 years agopowerpc isn't tinderbox-ready yet.
des [Fri, 25 Jul 2003 22:17:28 +0000 (22:17 +0000)]
powerpc isn't tinderbox-ready yet.

21 years agoUse __FBSDID().
obrien [Fri, 25 Jul 2003 21:19:19 +0000 (21:19 +0000)]
Use __FBSDID().

Brought to you by: a boring talk at Ottawa Linux Symposium

21 years agoUse __FBSDID().
obrien [Fri, 25 Jul 2003 21:10:19 +0000 (21:10 +0000)]
Use __FBSDID().

Brought to you by: a boring talk at OLS

21 years agoAdd support for the M_ZERO flag to contigmalloc().
mux [Fri, 25 Jul 2003 21:02:25 +0000 (21:02 +0000)]
Add support for the M_ZERO flag to contigmalloc().

Reviewed by: jeff

21 years agoMake this 64 bit clean. Use size_t for sysctl() length pointer args.
peter [Fri, 25 Jul 2003 20:56:57 +0000 (20:56 +0000)]
Make this 64 bit clean. Use size_t for sysctl() length pointer args.

21 years agoRemove alpha vtophys() hack from if_bgereg.h and clean up unneeded
wpaul [Fri, 25 Jul 2003 20:33:43 +0000 (20:33 +0000)]
Remove alpha vtophys() hack from if_bgereg.h and clean up unneeded
#includes formerly required to pull in vtophys support, since we
don't need them anymore.

21 years agoConvert bge(4) to use busdma. I have not tested this on anything
wpaul [Fri, 25 Jul 2003 19:42:44 +0000 (19:42 +0000)]
Convert bge(4) to use busdma. I have not tested this on anything
besides x86 yet since I don't have access to a non-x86 FreeBSD
box at the moment. Volunteers welcome.

21 years agoFix for 64 bit platforms. sysctl's length args are pointers to
peter [Fri, 25 Jul 2003 19:17:46 +0000 (19:17 +0000)]
Fix for 64 bit platforms.  sysctl's length args are pointers to
size_t, not int.  This could be fatal where size_t is long.

Reviewed by: bp

21 years agoMFi386 revision 1.416
alc [Fri, 25 Jul 2003 18:58:39 +0000 (18:58 +0000)]
MFi386 revision 1.416
 Add vm object locking to pmap_prefault().

Note: powerpc and sparc64 do not implement this function.

21 years agoDiscussions on src-committers with alfred and bde pointed out that
gad [Fri, 25 Jul 2003 18:40:36 +0000 (18:40 +0000)]
Discussions on src-committers with alfred and bde pointed out that
the "do-nothing" versions of __RCSID(), __RCSID_SOURCE(), __SCCSID(),
and __COPYRIGHT() were not strictly correct.  They should not expand
into [nothing], because the ';' which follows them would then cause
a syntax error (in a strict C compiler, if not gcc...).

So, change the do-nothing versions of those macros to use the
'struct __hack' tactic, as was already used with __FBSDID().

Approved by: discussions with bde
MFC after: 1 week

21 years agoFix amd64 build by deleting trailing whitespace. Doh!
peter [Fri, 25 Jul 2003 18:22:53 +0000 (18:22 +0000)]
Fix amd64 build by deleting trailing whitespace.  Doh!

21 years agoState that in -exec ... ; the semicolon should be quoted if invoked from
schweikh [Fri, 25 Jul 2003 17:32:43 +0000 (17:32 +0000)]
State that in -exec ... ; the semicolon should be quoted if invoked from
a shell.

PR: docs/54667
Submitted by: Patrick Alken <pa59@cornell.edu>
MFC after: 3 days

21 years agoFix output from an error message.
njl [Fri, 25 Jul 2003 17:11:15 +0000 (17:11 +0000)]
Fix output from an error message.
Use sysctl -n instead of sed

Submitted by: Scott Lambert <lambert@lambertfam.org>