]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoMerge rev. 1.240 of ip_output.c, so that IPFIREWALL_FORWARD_EXTENDED
glebius [Tue, 18 Apr 2006 09:20:16 +0000 (09:20 +0000)]
Merge rev. 1.240 of ip_output.c, so that IPFIREWALL_FORWARD_EXTENDED
kernel option will affect both forwarding methods - classic and fast.

18 years agoIn vfs_hash_get(): mount point should never be changed
delphij [Tue, 18 Apr 2006 08:05:08 +0000 (08:05 +0000)]
In vfs_hash_get(): mount point should never be changed
so explicitly constify the mp parameter.

Reviewed by: phk

18 years agoReorder the DRM_*_AGP enums to match linux and what our code expects, fixing
anholt [Tue, 18 Apr 2006 06:14:43 +0000 (06:14 +0000)]
Reorder the DRM_*_AGP enums to match linux and what our code expects, fixing
i915 attachment.

Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org>

18 years agoCorrect a typo: In order to make fixmount(8) quite, one should
delphij [Tue, 18 Apr 2006 03:33:17 +0000 (03:33 +0000)]
Correct a typo: In order to make fixmount(8) quite, one should
use -q, not -v.

18 years agoremove DRIVER_MODULE lines that are useless... pcf doesn't exist (only
jmg [Mon, 17 Apr 2006 22:33:42 +0000 (22:33 +0000)]
remove DRIVER_MODULE lines that are useless...  pcf doesn't exist (only
as pcf_ebus and pcf_isa, they should probably be fixed back to pcf),
and bti2c doesn't exist, bktr has smbus or iicbb as children..

Brought to you by: http://people.FreeBSD.org/~jmg/driver.pdf

18 years ago- Add a rw_wowner() macro that just returns the owner of a write lock and
jhb [Mon, 17 Apr 2006 21:11:01 +0000 (21:11 +0000)]
- Add a rw_wowner() macro that just returns the owner of a write lock and
  use it in places that only care about the write owner instead of
  rw_owner() as a baby step towards limited read-lock owner.
- Tidy the code that sets the WAITER flag bits to not duplicate a test
  around the atomic operation and the KTR trace in both of the lock
  functions.

18 years ago- Since critical sections no longer raise the processor interrupt level to
marius [Mon, 17 Apr 2006 21:03:24 +0000 (21:03 +0000)]
- Since critical sections no longer raise the processor interrupt level to
  above what's used for fast interrupts, only interrupts with the level of
  the interrupt which led to calling intr_fast() (which is used with both
  fast and ithread interrupts) are blocked while in that function. Thus
  intr_fast() can be preempted by a fast interrupt (which are of a higher
  level than ithread interrupts) while servicing an ithread interrupt. This
  can lead to a stale pointer to the head of the active interrupt requests
  list when back in the ithread interrupt invocation of intr_fast(), in turn
  resulting in corruption of the interrupt request lists and consequently
  in a panic. Solve this be turning off interrupts in intr_fast() before
  reading the pointer to the head of the active list rather than after. [1]
- Add a KASSERT in intr_fast() which asserts that ir_func is non-zero before
  calling it. [1]
- Increment interrupt stats after calling the handlers rather than before.
  This reduces the delay until direct and fast handlers are serviced, in my
  testings by 30% on average for the direct tick interrupt handler, in turn
  resulting in less clock drift.

PR: 94778 [1]
Submitted by: Andrew Belashov [1]
MFC after: 2 weeks

18 years agoUpdate comments to indicate that locks are held by threads, not processes.
jhb [Mon, 17 Apr 2006 20:17:09 +0000 (20:17 +0000)]
Update comments to indicate that locks are held by threads, not processes.

18 years agoAdd a 'show sleepqueue' alias for 'show sleepq' in DDB.
jhb [Mon, 17 Apr 2006 20:16:32 +0000 (20:16 +0000)]
Add a 'show sleepqueue' alias for 'show sleepq' in DDB.

18 years agoTrim trailing whitespace.
jhb [Mon, 17 Apr 2006 20:14:51 +0000 (20:14 +0000)]
Trim trailing whitespace.

18 years agoAdd the ability to log to an arbitrary udp port as well as the
julian [Mon, 17 Apr 2006 20:12:35 +0000 (20:12 +0000)]
Add the ability to log to an arbitrary udp port as well as the
standard syslog port. This allows syslog to easily export lines of interest to
an external logging system.

18 years agoUpdate a couple of comments relating to RFCs.
dwmalone [Mon, 17 Apr 2006 19:55:25 +0000 (19:55 +0000)]
Update a couple of comments relating to RFCs.

18 years agoBack out a Makefile change that accidently snook in.
dwmalone [Mon, 17 Apr 2006 19:52:00 +0000 (19:52 +0000)]
Back out a Makefile change that accidently snook in.

18 years agoAdd a new module_file() function that returns the linker_file_t associated
jhb [Mon, 17 Apr 2006 19:44:44 +0000 (19:44 +0000)]
Add a new module_file() function that returns the linker_file_t associated
with a given module_t.  I use this in some the MOD_LOAD event handler for
some test kernel modules to ask the kernel linker to look up the linker
sets in my test modules. (I use linker sets to generate the list of
possible events that I then signal to execute via a sysctl.  On non-amd64,
ld(8) would resolve the entire linker set, but on amd64 I have to ask the
kernel linker to do it for me, and having the kernel linker do it works on
all archs.)

18 years ago- Sleep/wakeup operate on threads now, not processes.
jhb [Mon, 17 Apr 2006 19:11:12 +0000 (19:11 +0000)]
- Sleep/wakeup operate on threads now, not processes.
- Describe msleep() as the primary sleep function now rather than tsleep()
  and describe tsleep() and msleep_spin() as variations.
- Try to make the description of msleep() a bit closer to English
  (sentences with actual subjects, etc.)
- Document that a priority of 0 now prevents the thread's priority from
  being altered.
- Add a history note for wakeup_one().

18 years agoPort 37 (RFC 738) style times are supposed to be a 32 bit time since
dwmalone [Mon, 17 Apr 2006 18:35:58 +0000 (18:35 +0000)]
Port 37 (RFC 738) style times are supposed to be a 32 bit time since
1900 in network byte order. Use a uint32_t to calculate and send
the time, so that we don't need to know how big ints or longs are.

I used uint32_t instead of int in the patch, on the off chance
someone uses our inetd source on a system that doesnt 32 bit ints.

PR: 95290
Submitted by: Bruce Becker <hostmaster@whois.gts.net>
MFC after: 2 weeks

18 years agoChange msleep() and tsleep() to not alter the calling thread's priority
jhb [Mon, 17 Apr 2006 18:20:38 +0000 (18:20 +0000)]
Change msleep() and tsleep() to not alter the calling thread's priority
if the specified priority is zero.  This avoids a race where the calling
thread could read a snapshot of it's current priority, then a different
thread could change the first thread's priority, then the original thread
would call sched_prio() inside msleep() undoing the change made by the
second thread.  I used a priority of zero as no thread that calls msleep()
or tsleep() should be specifying a priority of zero anyway.

The various places that passed 'curthread->td_priority' or some variant
as the priority now pass 0.

18 years agoWhitespace nits.
schweikh [Mon, 17 Apr 2006 17:55:11 +0000 (17:55 +0000)]
Whitespace nits.

18 years agoRemove a corrupted fortune ending in line noise. Even googling did not
schweikh [Mon, 17 Apr 2006 12:14:46 +0000 (12:14 +0000)]
Remove a corrupted fortune ending in line noise. Even googling did not
turn up a non-corrupted version, else I would have restored it.
(No, it's not the one that uses line noise intentionally.)

18 years agoAdd INDEX-7 and remove trailing spaces.
krion [Mon, 17 Apr 2006 11:15:29 +0000 (11:15 +0000)]
Add INDEX-7 and remove trailing spaces.

MFC after: 5 days

18 years agoUse bzip2(1) by default to compress package tarball on
krion [Mon, 17 Apr 2006 10:58:45 +0000 (10:58 +0000)]
Use bzip2(1) by default to compress package tarball on
__FreeBSD_version >= 500039.

Submitted by: Alex Lyashkov <umka@sevcity.net>
MFC after: 5 days

18 years agoAdd missing ";"
sos [Mon, 17 Apr 2006 10:47:01 +0000 (10:47 +0000)]
Add missing ";"

found by: jmg

18 years agoo Do not double i/o stats for cd(4) already acounted in g_disk_done().
maxim [Mon, 17 Apr 2006 09:12:53 +0000 (09:12 +0000)]
o Do not double i/o stats for cd(4) already acounted in g_disk_done().

PR: kern/95707
Submitted by: Andre Albsmeier
Reviewed by: phk
MFC after: 2 weeks

18 years agoFix panic() message to give the right function name.
kensmith [Mon, 17 Apr 2006 07:43:56 +0000 (07:43 +0000)]
Fix panic() message to give the right function name.

18 years agoremove some unnecessary perror calls
sam [Mon, 17 Apr 2006 00:17:29 +0000 (00:17 +0000)]
remove some unnecessary perror calls

Noticed by: Jouni Malinen
MFC after: 2 weeks

18 years agoAdd missing ~. We want all the INVALID bits to be 0... Let's see if this
imp [Sun, 16 Apr 2006 23:16:45 +0000 (23:16 +0000)]
Add missing ~.  We want all the INVALID bits to be 0...  Let's see if this
helps people with their interrupt storm problem on card eject.

18 years agoo De-register local vars.
maxim [Sun, 16 Apr 2006 22:30:24 +0000 (22:30 +0000)]
o De-register local vars.

18 years agoo Trim EOL whitespaces and tabs, replace eight w/s by tabs.
maxim [Sun, 16 Apr 2006 22:28:04 +0000 (22:28 +0000)]
o Trim EOL whitespaces and tabs, replace eight w/s by tabs.
No functional changes.

18 years agoo Implement Solaris-like -x flag: show extended disk statistics.
maxim [Sun, 16 Apr 2006 22:23:39 +0000 (22:23 +0000)]
o Implement Solaris-like -x flag: show extended disk statistics.
o Implement Solaris-like -z flag: omit lines for devices with no activity.
o iostat.8: describe -x and -z flags, Xr devstat(3), touch .Dd.

PR: mostly bin/68840, with style changes; bin/73327
Submitted by: Dan Nelson, Peter Schuller
Obtained from: NetBSD (a part of man page)
MFC after: 1 month

18 years agoremove duplicate sizeof vnode entry (debug.sizeof.vnode already existed)...
jmg [Sun, 16 Apr 2006 18:38:30 +0000 (18:38 +0000)]
remove duplicate sizeof vnode entry (debug.sizeof.vnode already existed)...
move ncsize into debug.sizeof and rename to namecache...

18 years agoImprove ath_draintxq debug info: dump the packet as well
sam [Sun, 16 Apr 2006 18:24:27 +0000 (18:24 +0000)]
Improve ath_draintxq debug info: dump the packet as well
as the descriptor and handle the beacon q like other q's

MFC after: 1 month

18 years agoUnbreak cabq handling: check the s/w q, not the h/w q as the frames
sam [Sun, 16 Apr 2006 18:14:01 +0000 (18:14 +0000)]
Unbreak cabq handling: check the s/w q, not the h/w q as the frames
have not been passed to the h/w yet.  This remedies watchdog timeout
of buffered multicast frames in hostap mode.

While here eliminate an extraneous check; ieee80211_beacon_update sets
the tim bit based on ncabq != 0 so there's no reason to check it too.

Noticed by: Christophe Prevotaux

18 years agoo Close an output file -o flag opened before execvp(3) in a child.
maxim [Sun, 16 Apr 2006 17:44:49 +0000 (17:44 +0000)]
o Close an output file -o flag opened before execvp(3) in a child.

PR: bin/89666
Submitted by: Arne H Juul
MFC after: 1 month

18 years agoo dbm_close(3) returns void not zero or anything else. Touch .Dd.
maxim [Sun, 16 Apr 2006 16:33:26 +0000 (16:33 +0000)]
o dbm_close(3) returns void not zero or anything else.  Touch .Dd.

PR: docs/80070
Submitted by: Aleksej Saushev
MFC after: 2 weeks

18 years agoo Correct a path to include.
maxim [Sun, 16 Apr 2006 15:35:12 +0000 (15:35 +0000)]
o Correct a path to include.

18 years agoFor _Qp_{fge,fgt,fle,flt}() the SCD states that "Exceptions mimic fcmpeq",
marius [Sun, 16 Apr 2006 14:32:53 +0000 (14:32 +0000)]
For _Qp_{fge,fgt,fle,flt}() the SCD states that "Exceptions mimic fcmpeq",
this means they should set the cmpe flag when calling __fpu_compare().

Submitted by: stefanf
MFC after: 2 weeks

18 years agoo Do not mangle current session user login name with jail -u|-U.
maxim [Sun, 16 Apr 2006 12:32:04 +0000 (12:32 +0000)]
o Do not mangle current session user login name with jail -u|-U.

PR: bin/94730
Submitted by: Frank Behrens
MFC after: 1 month

18 years agoCorrect assorted grammos and typos.
schweikh [Sun, 16 Apr 2006 11:54:01 +0000 (11:54 +0000)]
Correct assorted grammos and typos.

18 years agoFix indentation for "Ostersonntag".
brueffer [Sun, 16 Apr 2006 10:34:56 +0000 (10:34 +0000)]
Fix indentation for "Ostersonntag".

Obtained from: OpenBSD

18 years agoTake a better stab at making this compile.
scottl [Sat, 15 Apr 2006 18:54:56 +0000 (18:54 +0000)]
Take a better stab at making this compile.

18 years agoCorrect debug: we are sending child bio here, not parent bio.
pjd [Sat, 15 Apr 2006 18:30:42 +0000 (18:30 +0000)]
Correct debug: we are sending child bio here, not parent bio.

MFC after: 1 week

18 years agoTake a stab at making this compile.
scottl [Sat, 15 Apr 2006 18:04:04 +0000 (18:04 +0000)]
Take a stab at making this compile.

18 years agoo Document /dev/fido.
maxim [Sat, 15 Apr 2006 17:52:02 +0000 (17:52 +0000)]
o Document /dev/fido.

PR: docs/85425
Approved by: phk
MFC after: 2 weeks

18 years agoo s/you health/your health/.
maxim [Sat, 15 Apr 2006 17:07:32 +0000 (17:07 +0000)]
o s/you health/your health/.

PR: conf/95810
Submitted by: Gavin Atkinson

18 years ago- make reentrant version of netdb functions glibc style API, and
ume [Sat, 15 Apr 2006 16:20:27 +0000 (16:20 +0000)]
- make reentrant version of netdb functions glibc style API, and
  expose them to outside of libc.
- make netdb functions NSS friendly.

Reviewed by: arch@ and current@ (no objection)

18 years agoOops, untested code was included accidentally.
iwasaki [Sat, 15 Apr 2006 16:10:53 +0000 (16:10 +0000)]
Oops, untested code was included accidentally.
Fixed.

18 years agoDon't export __gdtoa. The only known ports that rely on
deischen [Sat, 15 Apr 2006 15:35:20 +0000 (15:35 +0000)]
Don't export __gdtoa.  The only known ports that rely on
this or the deprecated POSIX functions {e,g,f}cvt() have
newer versions that do not (rely on them).

Requested by: marius

18 years agoo Document SO_NOSIGPIPE, touch .Dd.
maxim [Sat, 15 Apr 2006 13:37:35 +0000 (13:37 +0000)]
o Document SO_NOSIGPIPE, touch .Dd.

PR: docs/78479
Submitted by: Mikko Tyolajarvi
MFC after: 2 weeks

18 years agoImport ACPI Dock Station support. Note that this is still very young.
iwasaki [Sat, 15 Apr 2006 12:31:34 +0000 (12:31 +0000)]
Import ACPI Dock Station support.  Note that this is still very young.
Additional detach implementaions (or maybe improvement) for other
deivce drivers is required.

Reviewed by: njl, imp
MFC after: 1 week

18 years agoo Fix prototype for SYSCALL_MODULE(9): the third argument
maxim [Sat, 15 Apr 2006 12:04:18 +0000 (12:04 +0000)]
o Fix prototype for SYSCALL_MODULE(9): the third argument
is a pointer to struct sysent.  Correct its description.

PR: docs/84790
Submitted by: Dirk Gouders
MFC after: 2 weeks

18 years agoo Fix printf(9) formatting: do not use hardcode "0x" and "#" flags
maxim [Sat, 15 Apr 2006 11:41:40 +0000 (11:41 +0000)]
o Fix printf(9) formatting: do not use hardcode "0x" and "#" flags
simultaneously.  Remove "#' flag to match a style of the rest of
file.

PR: kern/85477
Submitted by: Oliver Fromme

18 years agoo s/PsuedoRAID/PseudoRAID/.
maxim [Sat, 15 Apr 2006 10:27:41 +0000 (10:27 +0000)]
o s/PsuedoRAID/PseudoRAID/.

PR: kern/94306
Submitted by: Esa Karkkainen

18 years agoo Be pedantic and do fts_close() when done.
maxim [Sat, 15 Apr 2006 09:26:23 +0000 (09:26 +0000)]
o Be pedantic and do fts_close() when done.

PR: bin/95292
Submitted by: Charles Hardin
Obtained from: NetBSD via OpenBSD, PR

18 years agoFix the interrupt handler to do the mandatory PCI flush before looking at
scottl [Sat, 15 Apr 2006 08:13:06 +0000 (08:13 +0000)]
Fix the interrupt handler to do the mandatory PCI flush before looking at
DMA memory.  The could contribute towards missed link state changes under
heavy bus load.

18 years agoMFen:
delphij [Sat, 15 Apr 2006 05:32:12 +0000 (05:32 +0000)]
MFen:
hardware/common/dev.sgml 1.296 -> 1.299
relnotes/common/new.sgml 1.910 -> 1.911

Obtained from: The FreeBSD Simplified Chinese Project

18 years agoMirror IPv4 pcb locking into in6_setsockaddr() and in6_setpeeraddr():
rwatson [Sat, 15 Apr 2006 05:24:23 +0000 (05:24 +0000)]
Mirror IPv4 pcb locking into in6_setsockaddr() and in6_setpeeraddr():
acquire inpcb lock when reading inpcb port+address in order to prevent
races with other threads that may be changing them.

MFC after: 3 months

18 years agoCopy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility.
jb [Sat, 15 Apr 2006 03:08:55 +0000 (03:08 +0000)]
Copy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility.

Approved by: rwatson

18 years agoFix style nit noticed by bde.
imp [Sat, 15 Apr 2006 02:51:53 +0000 (02:51 +0000)]
Fix style nit noticed by bde.

18 years agoMark the thread pointer used during an adaptive spin volatile so that the
jhb [Fri, 14 Apr 2006 19:51:50 +0000 (19:51 +0000)]
Mark the thread pointer used during an adaptive spin volatile so that the
compiler doesn't decide to cache td_state.  Cachine the state would cause
the spinning thread to not notice when the owning thread stopped executing
(if it was preempted for example) which could result in livelock.

18 years agoList pwritev in the NAME section.
ru [Fri, 14 Apr 2006 19:34:07 +0000 (19:34 +0000)]
List pwritev in the NAME section.

18 years agoFix copy-and-pasto in comment.
jkim [Fri, 14 Apr 2006 18:34:57 +0000 (18:34 +0000)]
Fix copy-and-pasto in comment.

18 years agoFix minimal installation check. 'X' was not displayed when it was selected.
jkim [Fri, 14 Apr 2006 18:18:43 +0000 (18:18 +0000)]
Fix minimal installation check.  'X' was not displayed when it was selected.

Reported by: Ian J. Hart <ianjhart at ntlworld dot com>
Pieter de Goeje <pieter at degoeje dot nl>

18 years ago1) Fix hang at the end of line buffer (PR 95715)
ache [Fri, 14 Apr 2006 17:32:27 +0000 (17:32 +0000)]
1) Fix hang at the end of line buffer (PR 95715)
2) Localize

PR:             95715
Submitted by:   Li-Lun Wang <llwang@infor.org> (slightly edited by me)

18 years agoWhitespace fix
matteo [Fri, 14 Apr 2006 17:26:04 +0000 (17:26 +0000)]
Whitespace fix

Pointed out by: Nate Lawson

18 years agoDont poll for ATA_IDLE on a detached channel in suspend.
sos [Fri, 14 Apr 2006 16:25:42 +0000 (16:25 +0000)]
Dont poll for ATA_IDLE on a detached channel in suspend.

18 years agoReduce the Linux ioctl range to what is needed. I didn't know what
ambrisko [Fri, 14 Apr 2006 16:13:28 +0000 (16:13 +0000)]
Reduce the Linux ioctl range to what is needed.  I didn't know what
I was doing when I first set the range up.

18 years agoDrop the kqueue global mutex as soon as we are finished with it rather
jhb [Fri, 14 Apr 2006 14:27:28 +0000 (14:27 +0000)]
Drop the kqueue global mutex as soon as we are finished with it rather
than keeping it locked until we exit the function to optimize the case
where the lock would be dropped and later reacquired.  The optimization
was broken when kevent's were moved from UFS to VFS and the knote list
lock for a vnode kevent became the lockmgr vnode lock.  If one tried
to use a kqueue that contained events for a kqueue fd followed by a vnode,
then the kq global lock would end up being held when the vnode lock was
acquired which could result in sleeping with a mutex held (and subsequent
panics) if the vnode lock was contested.

Reviewed by: jmg
Tested by: ps (on 6.x)
MFC after: 3 days

18 years agoOutput something reasonable for regular and expanded here-documents.
schweikh [Fri, 14 Apr 2006 13:59:03 +0000 (13:59 +0000)]
Output something reasonable for regular and expanded here-documents.
I would have chosen the EOF markers, but they are no longer available
AFAICS, so output "<<HERE" and "<<XHERE" instead.
(NOTE: These changes only affect DEBUG output.)

18 years agoFix markup and some typos.
ru [Fri, 14 Apr 2006 09:20:25 +0000 (09:20 +0000)]
Fix markup and some typos.

18 years agoAdd device ID for Intel Pro/100 VE Network Connection card
matteo [Fri, 14 Apr 2006 07:49:52 +0000 (07:49 +0000)]
Add device ID for Intel Pro/100 VE Network Connection card

PR: kern/95729
Submitted by: Nicky Bulthuis
MFC after: 1 day

18 years agoo Yacc's lineno variable holds a total number of parsed lines.
maxim [Fri, 14 Apr 2006 07:20:42 +0000 (07:20 +0000)]
o Yacc's lineno variable holds a total number of parsed lines.
Reset it to 1 for each devd config file so if the parser finds
a syntax error devd(8) will report a correct line number.

Submitted by: Niki Denev
MFC after: 2 weeks

18 years agoClear TDF_SINTR in sleepq_resume_thread, also sleepq_catch_signal does
davidxu [Thu, 13 Apr 2006 23:29:25 +0000 (23:29 +0000)]
Clear TDF_SINTR in sleepq_resume_thread, also sleepq_catch_signal does
not need to clear it now, this should fix panic when msleep is recursivly
called. Patch is slightly adjusted after review.

Reviewed by: jhb
Tested by: Csaba Henk, csaba-ml at creo.hu
MFC after: 3 days

18 years agoMake CCD be able to read and write Linux software raids.
cracauer [Thu, 13 Apr 2006 20:35:31 +0000 (20:35 +0000)]
Make CCD be able to read and write Linux software raids.

Supported for raid-0 with <n> disks, raid-1 with 2 disks.

Manpages have examples, warnings etc.

Test scripts on
http://www.cons.org/cracauer/ccdconfig-linux/
Reviewed by: alfred

18 years agoRepair ext2fs writes.
cracauer [Thu, 13 Apr 2006 19:37:32 +0000 (19:37 +0000)]
Repair ext2fs writes.

Strong candidate for backport to 6.x.

When allocating new blocks, the search for block group beginnings
would fail with a segfault.  There was a side-effect read access with
an off-by-one errors.  The results were not used in the error case so
the code worked in the past.  But now the FreeBSD kernel has tighter
mappings and the word accessed is not mapped (for me).

The Linux kernel has rewritten most of the allocation strategy by now.
Also, the Linux kernel cleaned up the integration of these files and
it look feasable to wrap the original Linux files in wrapper that
provides their favorite arguments instead of dragging around our own
code.

18 years agoSpell synchronous with required silent 'h'.
brooks [Thu, 13 Apr 2006 18:34:14 +0000 (18:34 +0000)]
Spell synchronous with required silent 'h'.

Reported by: ru, ceri
Pointy hat: brooks

18 years agoAdd missing _ to $_punct.
brooks [Thu, 13 Apr 2006 18:27:49 +0000 (18:27 +0000)]
Add missing _ to $_punct.

Submitted by: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua>

18 years agos/soley/solely
schweikh [Thu, 13 Apr 2006 18:19:44 +0000 (18:19 +0000)]
s/soley/solely

18 years agobce(4) does polling too.
brueffer [Thu, 13 Apr 2006 17:44:40 +0000 (17:44 +0000)]
bce(4) does polling too.

MFC after: 3 days

18 years agoAdd commented out define for TSC board's boot0.
imp [Thu, 13 Apr 2006 17:44:05 +0000 (17:44 +0000)]
Add commented out define for TSC board's boot0.

18 years agoMFp4:
imp [Thu, 13 Apr 2006 17:39:34 +0000 (17:39 +0000)]
MFp4:

For 32-bit SDRAM systems, enable D16 to D31 in the PIO controller.
Otherwise they read back as 0xffff.

Shave 8 bytes from the object size by using AT91C_BASE_PIOA directly
and by not assigning PIO_BSR to 0 in the DBGU init.  That's a nop in
two ways (everything defaults to peripheral A, and writing 0 changes
nothing).

18 years agoMerge from p4:
imp [Thu, 13 Apr 2006 17:34:23 +0000 (17:34 +0000)]
Merge from p4:

Many places used #define FOO ((unsigned int) 0x23) where a simpler
#define FOO 0x23u would have sufficed.  This practice is overly
verbose and has the disadvantage that you can't say

#if FOO == BAR
#endif

because the extra "unsigned int" tokens choke cpp's little brain.
Migrate to the latter style to allow use in preprocessor statements.
The two are the same semantically anyway in a C context (at least for
the uses they are put to presently, C gurus can explain to me how they
differ).

18 years agoNeed at91rm9200_lowlevel.h for SDRAM_BASE definition.
imp [Thu, 13 Apr 2006 17:31:02 +0000 (17:31 +0000)]
Need at91rm9200_lowlevel.h for SDRAM_BASE definition.

18 years agoTurn on ithread_destroy() and call it from intr_event_destroy() to tear
jhb [Thu, 13 Apr 2006 17:29:04 +0000 (17:29 +0000)]
Turn on ithread_destroy() and call it from intr_event_destroy() to tear
down an interrupt event's associated thread (if it has one).

18 years agoBring back arm-specific workaround from rev 1.15:
cognet [Thu, 13 Apr 2006 15:10:25 +0000 (15:10 +0000)]
Bring back arm-specific workaround from rev 1.15:
Do not use the IO-mapping to issue the reset on the 82546 on arm. For some
reason, it results in corrupted descriptors.

18 years agoWe need to adjust the bus handle if the resource is SYS_RES_MEMORY, NOT
cognet [Thu, 13 Apr 2006 15:07:59 +0000 (15:07 +0000)]
We need to adjust the bus handle if the resource is SYS_RES_MEMORY, NOT
SYS_RES_IOPORT.

18 years agoDisable/enable fiqs as well as irqs.
cognet [Thu, 13 Apr 2006 14:25:28 +0000 (14:25 +0000)]
Disable/enable fiqs as well as irqs.

18 years agoFix DEVICE_POLLING support (compile-only tested).
ru [Thu, 13 Apr 2006 14:12:26 +0000 (14:12 +0000)]
Fix DEVICE_POLLING support (compile-only tested).

18 years agoRecord the /lib/libgpib.so.1 move to /usr/lib.
ru [Thu, 13 Apr 2006 13:19:10 +0000 (13:19 +0000)]
Record the /lib/libgpib.so.1 move to /usr/lib.

18 years ago- Let make(1) track dependencies and regen netid map when needed.
ru [Thu, 13 Apr 2006 13:03:35 +0000 (13:03 +0000)]
- Let make(1) track dependencies and regen netid map when needed.
- Add missing dependency for netid.byname.

18 years agoAdd missing library dependencies.
ru [Thu, 13 Apr 2006 12:49:24 +0000 (12:49 +0000)]
Add missing library dependencies.

18 years agoFix Mother's/Father's day in most case.
flz [Thu, 13 Apr 2006 12:14:44 +0000 (12:14 +0000)]
Fix Mother's/Father's day in most case.

PR: misc/79415
Submitted by: thierry
Approved by: cperciva (mentor)
MFC after: 1 week

18 years agoRe-apply changes to make this compile with -Wundef:
ru [Thu, 13 Apr 2006 11:16:59 +0000 (11:16 +0000)]
Re-apply changes to make this compile with -Wundef:

/usr/src/sys/modules/drm/radeon/../../../dev/drm/radeon_state.c:2976:5: "BITS_PER_LONG" is not defined

(Previous revision has trashed my changes.)

18 years agoRegen.
ru [Thu, 13 Apr 2006 10:38:43 +0000 (10:38 +0000)]
Regen.

18 years agoImplications are auto-generated.
ru [Thu, 13 Apr 2006 10:37:29 +0000 (10:37 +0000)]
Implications are auto-generated.

18 years agoUse ps true power instead of tr/tail which aren't available early enough.
flz [Thu, 13 Apr 2006 08:30:43 +0000 (08:30 +0000)]
Use ps true power instead of tr/tail which aren't available early enough.

PR: conf/95654
Submitted by: Rong-En Fan <rafan@infor.org>
Noticed/Fix by: many people on freebsd-current@
Approved by: cperciva (mentor)

18 years agoApply style.Makefile(5) here.
ru [Thu, 13 Apr 2006 08:12:31 +0000 (08:12 +0000)]
Apply style.Makefile(5) here.

18 years agoInstall the shared library under /usr/lib; it's not used by anything
ru [Thu, 13 Apr 2006 08:08:21 +0000 (08:08 +0000)]
Install the shared library under /usr/lib; it's not used by anything
in /bin or /sbin.

Not objected to by: phk

18 years agoPlace shared libpcap library under /lib, currently needed by
ru [Thu, 13 Apr 2006 07:25:02 +0000 (07:25 +0000)]
Place shared libpcap library under /lib, currently needed by
/sbin/ipf and /sbin/pflogd.

OK'ed by: mlaier

18 years agoCommit the various network interface configutation updates I've been
brooks [Thu, 13 Apr 2006 06:50:46 +0000 (06:50 +0000)]
Commit the various network interface configutation updates I've been
working on.
  1) Make it possible to configure interfaces with certain characters in
     their names that aren't valid in shell variables.  Currently supported
     characters are ".-/+".  They are converted into '_' characters.
  2) Replace nearly all eval statements in network.subr with a new
     function get_if_var which substitues an interface name (after the
     translations above) for "IF" in a variable name.
  3) Fix list_net_interfaces() in the nodhcp case.
  4) Allow the administrator to specify if dhclient should be started
     when /etc/rc.d/netif configures the interface or only by devd.
     This can be set on both a per interface and system wide basis.

PR: conf/88974 [1,2], conf/92433 [1,2]

18 years agoAdd a note regarding bumping the freebsd*mc files for mergemaster's sake.
gshapiro [Thu, 13 Apr 2006 04:12:38 +0000 (04:12 +0000)]
Add a note regarding bumping the freebsd*mc files for mergemaster's sake.