]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoWe need to adjust the bus handle if the resource is SYS_RES_MEMORY, NOT
Olivier Houchard [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.
Olivier Houchard [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).
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Florent Thoumie [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:
Ruslan Ermilov [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.
Ruslan Ermilov [Thu, 13 Apr 2006 10:38:43 +0000 (10:38 +0000)]
Regen.

18 years agoImplications are auto-generated.
Ruslan Ermilov [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.
Florent Thoumie [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.
Ruslan Ermilov [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
Ruslan Ermilov [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
Ruslan Ermilov [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 Davis [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.
Gregory Neil Shapiro [Thu, 13 Apr 2006 04:12:38 +0000 (04:12 +0000)]
Add a note regarding bumping the freebsd*mc files for mergemaster's sake.

18 years agoForced commit to bump the $FreeBSD$ version so mergemaster merges
Gregory Neil Shapiro [Thu, 13 Apr 2006 04:08:22 +0000 (04:08 +0000)]
Forced commit to bump the $FreeBSD$ version so mergemaster merges
/etc/mail/freebsd.cf and /etc/mail/freebsd.submit.cf.

PR: conf/95634
Submitted by: Rostislav Krasny
Approved by: re (scottl)
Obtained from: keramida

18 years agoInclude opt_pmap.h for PMAP_SHPGPERPROC.
Alan Cox [Thu, 13 Apr 2006 03:31:48 +0000 (03:31 +0000)]
Include opt_pmap.h for PMAP_SHPGPERPROC.

PR: 94509

18 years agoUnexpand TAILQ_FIRST(foo) == NULL to TAILQ_EMPTY.
Xin LI [Thu, 13 Apr 2006 03:09:34 +0000 (03:09 +0000)]
Unexpand TAILQ_FIRST(foo) == NULL to TAILQ_EMPTY.

Ok'ed by: davidxu

18 years agoCommon register definition for AT91RM9200
Warner Losh [Wed, 12 Apr 2006 21:23:36 +0000 (21:23 +0000)]
Common register definition for AT91RM9200

18 years agoRecovery boot loader for the AT91 family of processors. Download it
Warner Losh [Wed, 12 Apr 2006 21:22:44 +0000 (21:22 +0000)]
Recovery boot loader for the AT91 family of processors.  Download it
via xmodem to the DBGU port when the AT91 comes up in recovery mode.
The recovery loader will then load your program via xmodem into SDRAM
at 1MB which can do its things.  It needs to be tweaked to the
specific board one is using, but it fits in < 1kB (all of Atmel's ARM
products have at least 8kb of SRAM that I can tell, so this should
work for them all).

Parts of this code were provided by Kwikbyte with copyright
specifically disclaimed.  I heavily modified it to act as a recovery
loader (before it was a bootstrap loader) and to optimize for size
(before I started the size was closer to 8k).

Bootstrap loaders for SPI and IIC to follow.

18 years agolibc_r is no longer provided, and on alpha and sparc64, libthr
Ruslan Ermilov [Wed, 12 Apr 2006 19:52:34 +0000 (19:52 +0000)]
libc_r is no longer provided, and on alpha and sparc64, libthr
is (sym)linked to libpthread.  Account for this change and
check for MK_LIBTHR instead of MK_LIBC_R where appropriate.

18 years agoFix a symlink.
Ruslan Ermilov [Wed, 12 Apr 2006 19:51:14 +0000 (19:51 +0000)]
Fix a symlink.

18 years agoInstall shared libpthread library into /lib; needed by some
Ruslan Ermilov [Wed, 12 Apr 2006 19:42:20 +0000 (19:42 +0000)]
Install shared libpthread library into /lib; needed by some
/sbin programs.

18 years agoDocument the bluetooth/, rc.d/, security/ and ssh/ etc subdirectories.
Christian Brueffer [Wed, 12 Apr 2006 18:41:25 +0000 (18:41 +0000)]
Document the bluetooth/, rc.d/, security/ and ssh/ etc subdirectories.

Prodded by: markus
MFC after: 3 days

18 years agoFix the PHY support for the 5780. I mis-merged this from my sources.
Paul Saab [Wed, 12 Apr 2006 18:34:00 +0000 (18:34 +0000)]
Fix the PHY support for the 5780.  I mis-merged this from my sources.

18 years agoadapt PacketGetAdapterNames to 0.4.8 calling convention
Sam Leffler [Wed, 12 Apr 2006 17:12:04 +0000 (17:12 +0000)]
adapt PacketGetAdapterNames to 0.4.8 calling convention

PR: bin/94735
Submitted by: Scot Hetzel <swhetzel@gmail.com>
Requested by: scottl

18 years agoPass BIO_GETATTR requests down.
Pawel Jakub Dawidek [Wed, 12 Apr 2006 12:18:44 +0000 (12:18 +0000)]
Pass BIO_GETATTR requests down.

MFC after: 1 week

18 years agoRemove unused prototypes.
Pawel Jakub Dawidek [Wed, 12 Apr 2006 12:17:29 +0000 (12:17 +0000)]
Remove unused prototypes.

18 years agoOn padlock initialization, allocate memory with M_WAITOK.
Pawel Jakub Dawidek [Wed, 12 Apr 2006 12:13:34 +0000 (12:13 +0000)]
On padlock initialization, allocate memory with M_WAITOK.

18 years agoCorrect an obvious typo.
Pawel Jakub Dawidek [Wed, 12 Apr 2006 12:12:44 +0000 (12:12 +0000)]
Correct an obvious typo.

MFC after: 1 week

18 years agoRemove an inappropriate comment which is put into generated
Hajimu UMEMOTO [Wed, 12 Apr 2006 12:01:53 +0000 (12:01 +0000)]
Remove an inappropriate comment which is put into generated
host.conf.  Someone may want to edit it later.

Requested by: Rostislav Krasny <rosti.bsd__at__gmail.com>

18 years agoUse ANSI C function protypes and declarations for if_arcsubr.
Robert Watson [Wed, 12 Apr 2006 07:44:31 +0000 (07:44 +0000)]
Use ANSI C function protypes and declarations for if_arcsubr.

MFC after: 1 month

18 years agoRetire pmap_track_modified(). We no longer need it because we do not
Alan Cox [Wed, 12 Apr 2006 04:22:52 +0000 (04:22 +0000)]
Retire pmap_track_modified().  We no longer need it because we do not
create managed mappings within the clean submap.  To prevent regressions,
add assertions blocking the creation of managed mappings within the clean
submap.

Reviewed by: tegge

18 years agoAssert the inpcb lock in udp6_output(), as we dereference various
Robert Watson [Wed, 12 Apr 2006 03:34:22 +0000 (03:34 +0000)]
Assert the inpcb lock in udp6_output(), as we dereference various
fields.

MFC after: 3 months

18 years agoAdd comment to udp6_input() that locking is missing from multicast
Robert Watson [Wed, 12 Apr 2006 03:32:54 +0000 (03:32 +0000)]
Add comment to udp6_input() that locking is missing from multicast
UDPv6 delivery.

Lock the inpcb of the UDP connection being delivered to before
processing IPSEC policy and other delivery activities.

MFC after: 3 months

18 years agoAdd udbinfo locking in udp6_input() to protect lookups of the inpcb
Robert Watson [Wed, 12 Apr 2006 03:23:56 +0000 (03:23 +0000)]
Add udbinfo locking in udp6_input() to protect lookups of the inpcb
lists during UDPv6 receipt.

MFC after: 3 months

18 years agoDon't use spl around call to in_pcballoc() in IPv6 raw socket support;
Robert Watson [Wed, 12 Apr 2006 03:07:22 +0000 (03:07 +0000)]
Don't use spl around call to in_pcballoc() in IPv6 raw socket support;
all necessary synchronization appears present.

MFC after: 3 months

18 years agoRemove one remaining use of spl in the IPv6 fragmentation code, as
Robert Watson [Wed, 12 Apr 2006 03:06:20 +0000 (03:06 +0000)]
Remove one remaining use of spl in the IPv6 fragmentation code, as
this code appears properly locked.

MFC after: 3 months

18 years agoAdd missing locking to udp6_getcred(), remove spl use.
Robert Watson [Wed, 12 Apr 2006 03:03:47 +0000 (03:03 +0000)]
Add missing locking to udp6_getcred(), remove spl use.

MFC after: 3 months

18 years agoRemove spl use from IPv6 inpcb code.
Robert Watson [Wed, 12 Apr 2006 02:52:14 +0000 (02:52 +0000)]
Remove spl use from IPv6 inpcb code.

In various inpcb methods for IPv6 sockets, don't check of so_pcb is NULL,
assert it isn't.

MFC after: 3 months

18 years agoMake this compile without INVARIANTS.
Olivier Houchard [Tue, 11 Apr 2006 23:15:47 +0000 (23:15 +0000)]
Make this compile without INVARIANTS.

18 years agouse pwrite to always write at the begining of the file.. If multiple calls
John-Mark Gurney [Tue, 11 Apr 2006 23:10:02 +0000 (23:10 +0000)]
use pwrite to always write at the begining of the file..  If multiple calls
to pidfile_write happen, the pidfile will have nul characters prepended
due to the cached file descriptor offset...

Reviewed by: scottl
MFC after: 3 days

18 years agoIf we end up with a CTIO completing with CAM_REQUEUE_REQ,
Matt Jacob [Tue, 11 Apr 2006 21:36:43 +0000 (21:36 +0000)]
If we end up with a CTIO completing with CAM_REQUEUE_REQ,
be obliging and just redo the request instead of squawking
and dying.

18 years agoMerge in timeout into A20-enable routine from cdboot/boot1.
Maxim Sobolev [Tue, 11 Apr 2006 20:53:49 +0000 (20:53 +0000)]
Merge in timeout into A20-enable routine from cdboot/boot1.

MFC after: 1 day

18 years agoDrop the gateA20() function in the loader as it is unused. All the other
John Baldwin [Tue, 11 Apr 2006 20:11:30 +0000 (20:11 +0000)]
Drop the gateA20() function in the loader as it is unused.  All the other
boot loaders that load the loader already handle A20.  In fact, they are
required to do so in order to setup the environment that btxldr expects.

18 years agoMinor whitespace tweak.
John Baldwin [Tue, 11 Apr 2006 20:09:42 +0000 (20:09 +0000)]
Minor whitespace tweak.

18 years ago- Move _Qp_* and __dtoul from FBSDprivate to the list of FBSD_1.0 symbols
Marius Strobl [Tue, 11 Apr 2006 19:43:36 +0000 (19:43 +0000)]
- Move _Qp_* and __dtoul from FBSDprivate to the list of FBSD_1.0 symbols
  as well as add __sparc_utrap_install to FBSD_1.0; these are required by
  the SCD libc 64 psABI and thus meant to be officially exported symbols.
- Remove the __fpu_* entries as well as the __sigtramp entry altogether as
  these are internal to the libc FPU emulation and the signal trampoline
  initialization in sigaction(2) respectively and thus don't need to be
  externally visible.
- Add __sparc_utrap_setup to the list of FBSDprivate symbols as it's used
  in src/lib/csu/sparc64/crt1.c to initialize the libc FPU emulation (I
  think alternatively src/lib/csu/sparc64/crt1.c could be changed to use
  __sparc_utrap_install instead, at the expense of increasing the size of
  executables a bit).
- Add an entry for the vfork symbol to the FBSD_1 list and entries for it's
  associated symbols generated by the RSYSCALL() macro to the FBSDprivate
  list. There's some magic in place that automatically generates code for
  vfork() if there's no explicit MD code for it so it might make sense to
  move these symbols from the MD symbol map files to a MI one.

The last two changes make the libc symbol versioning useable on sparc64.

Ok'ed by: deischen

18 years agoBe sure to wakeup the crypto thread when new request was queued.
Pawel Jakub Dawidek [Tue, 11 Apr 2006 18:01:04 +0000 (18:01 +0000)]
Be sure to wakeup the crypto thread when new request was queued.
This should fix a hang when starting cryptokeytest (and more).

MFC after: 1 month

18 years agoTweak comment.
John Baldwin [Tue, 11 Apr 2006 17:36:08 +0000 (17:36 +0000)]
Tweak comment.

18 years agoUse the proper condition to determine that we matched an filename.
John Baldwin [Tue, 11 Apr 2006 17:26:54 +0000 (17:26 +0000)]
Use the proper condition to determine that we matched an filename.
Otherwise, we could match on a filename that had the wrong last character
(such as /boot/loaded instead of /boot/loader).

PR: kern/95625
Submitted by: Oliver Fromme <olli@secnetix.de>
MFC after: 1 month

18 years agoA large set of changes:
Matt Jacob [Tue, 11 Apr 2006 16:47:30 +0000 (16:47 +0000)]
A large set of changes:

+ Add boatloads of KASSERTs and *really* check out more locking
issues (to catch recursions when we actually go to real locking
in CAM soon). The KASSERTs also caught lots of other issues like
using commands that were put back on free lists, etc.

+ Target mode: role setting is derived directly from port capabilities.
There is no need to set a role any more. Some target mode resources
are allocated early on (ELS), but target command buffer allocation
is deferred until the first lun enable.

+ Fix some breakages I introduced with target mode in that some commands
are *repeating* commands. That is, the reply shows up but the command
isn't really done (we don't free it). We still need to take it off the
pending list because when we resubmit it, bad things then  happen.

+ Fix more of the way that timed out commands and bus reset is done. The
actual TMF response code was being ignored.

+ For SPI, honor BIOS settings. This doesn't quite fix the problems we've
seen where we can't seem to (re)negotiate U320 on all drives but avoids
it instead by letting us honor the BIOS settings. I'm sure this is not
quite right and will have to change again soon.

18 years agoFix typo.
Christian Brueffer [Tue, 11 Apr 2006 15:30:13 +0000 (15:30 +0000)]
Fix typo.

PR: 95620
Submitted by: Stephane Bortzmeyer <bortzmeyer@nic.fr>
MFC after: 3 days

18 years agoDump keeps a bitmap of the state of various inodes, which is sized
David Malone [Tue, 11 Apr 2006 14:45:42 +0000 (14:45 +0000)]
Dump keeps a bitmap of the state of various inodes, which is sized
to match the number of inodes on the disk. If we find a directory
entry with a crazy inode number in it, don't look beyond the end
of the bitmap to find that inode's state. Instead skip that directory
entry and print a warning.

Reviewed by: iedowse
MFC after: 3 weeks

18 years ago- Add support for the Acer Acerscan 640BT.
Florent Thoumie [Tue, 11 Apr 2006 10:44:31 +0000 (10:44 +0000)]
- Add support for the Acer Acerscan 640BT.
- Add documentation bits.

PR: usb/95616
Submitted by: Matthieu Guegan <lesaint@gcu.info>
Approved by: cperciva (mentor)
MFC after: 3 days

18 years agoAdd autologin entries (al.NNN) for higher console speeds.
Dag-Erling Smørgrav [Tue, 11 Apr 2006 09:54:23 +0000 (09:54 +0000)]
Add autologin entries (al.NNN) for higher console speeds.

MFC after: 2 weeks

18 years ago- If no pidfile has been created at startup, only stop processes
Florent Thoumie [Tue, 11 Apr 2006 09:20:47 +0000 (09:20 +0000)]
- If no pidfile has been created at startup, only stop processes
with current jid.

PR: conf/93287
Submitted by: anders
Approved by: cperciva (mentor)
MFC after: 1 month

18 years ago- Oops, add a missing "then".
Florent Thoumie [Tue, 11 Apr 2006 09:14:51 +0000 (09:14 +0000)]
- Oops, add a missing "then".

Approved by: cperciva (mentor, implicit)

18 years ago- Fix rc.d/sshd test on kern.random.sys.seeded.
Florent Thoumie [Tue, 11 Apr 2006 09:08:15 +0000 (09:08 +0000)]
- Fix rc.d/sshd test on kern.random.sys.seeded.

PR: conf/94377
Submitted by: dwhite
Approved by: cperciva (mentor)
MFC after: 1 week

18 years ago- Fix amd startup when amd is installed from ports.
Florent Thoumie [Tue, 11 Apr 2006 09:02:07 +0000 (09:02 +0000)]
- Fix amd startup when amd is installed from ports.
- Add the according amd_program default value in defaults.

PR: conf/82738
Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Approved by: cperciva (mentor)
MFC after: 3 days

18 years ago- Set a two read-only variables (${prefix} and ${etcdir}). This is
Florent Thoumie [Tue, 11 Apr 2006 08:55:27 +0000 (08:55 +0000)]
- Set a two read-only variables (${prefix} and ${etcdir}). This is
especially useful when using /etc/rc.d scripts with third-party
software installed from ports.
- Fix rc.d/sshd to work with openssh from ports using ${etcdir}
instead of hardcoded /etc.

Reviewed by: brooks
Approved by: cperciva (mentor)
MFC after: 1 week

18 years agoWhen enabling A20 put upper limit on amount of time we wait for the keyboard
Maxim Sobolev [Tue, 11 Apr 2006 04:39:29 +0000 (04:39 +0000)]
When enabling A20 put upper limit on amount of time we wait for the keyboard
controller to get ready (65K x ISA access time, visually around 1 second).
If we have wait more than that amount it's likely that the hardware is a
legacy-free one and simply doesn't have keyboard controller and doesn't
require enabling A20 at all.

This makes cdboot working for MacBook Pro with Boot Camp.

MFC after: 1 day

18 years agoFix a cut-n-paste bug that crept in.
Joseph Koshy [Tue, 11 Apr 2006 01:15:26 +0000 (01:15 +0000)]
Fix a cut-n-paste bug that crept in.

Reported by: "Pawel Worach" pawel.worach at gmail.com

18 years agoAdd bce(4).
Christian Brueffer [Mon, 10 Apr 2006 20:33:42 +0000 (20:33 +0000)]
Add bce(4).

18 years agobce(4) added and a typo fixed.
Christian Brueffer [Mon, 10 Apr 2006 20:30:35 +0000 (20:30 +0000)]
bce(4) added and a typo fixed.

18 years agoAutogenerate hardware notes for bce(4).
Christian Brueffer [Mon, 10 Apr 2006 20:14:40 +0000 (20:14 +0000)]
Autogenerate hardware notes for bce(4).

18 years ago- Correct some typos
Christian Brueffer [Mon, 10 Apr 2006 20:12:17 +0000 (20:12 +0000)]
- Correct some typos
- New sentence, new line

18 years agoHook bce up to the build
Paul Saab [Mon, 10 Apr 2006 20:04:22 +0000 (20:04 +0000)]
Hook bce up to the build

18 years agoAdd a driver for the Broadcom NetXtreme II (BCM5706/BCM5708)
Paul Saab [Mon, 10 Apr 2006 19:55:23 +0000 (19:55 +0000)]
Add a driver for the Broadcom NetXtreme II (BCM5706/BCM5708)
PCI/PCIe Gigabit Ethernet adapeter.

Submitted by: David Christensen

18 years agosafe(4) doesn't support explicitly provided keys. Return an error instead
Pawel Jakub Dawidek [Mon, 10 Apr 2006 18:49:46 +0000 (18:49 +0000)]
safe(4) doesn't support explicitly provided keys. Return an error instead
of encrypting/decrypting data with a wrong key.

18 years agoubsec(4) doesn't support explicitly provided keys. Return an error instead
Pawel Jakub Dawidek [Mon, 10 Apr 2006 18:37:46 +0000 (18:37 +0000)]
ubsec(4) doesn't support explicitly provided keys. Return an error instead
of encrypting/decrypting data with a wrong key.

18 years ago- Simplify the code by using arc4rand(9) instead of arc4random(9) in a loop.
Pawel Jakub Dawidek [Mon, 10 Apr 2006 18:24:59 +0000 (18:24 +0000)]
- Simplify the code by using arc4rand(9) instead of arc4random(9) in a loop.
- Correct a comment.

MFC after: 2 weeks

18 years agoRemove redundant 'from'.
Pawel Jakub Dawidek [Mon, 10 Apr 2006 18:19:29 +0000 (18:19 +0000)]
Remove redundant 'from'.

18 years agoDocument CRD_F_KEY_EXPLICIT flag. While here more flags description more
Pawel Jakub Dawidek [Mon, 10 Apr 2006 18:17:43 +0000 (18:17 +0000)]
Document CRD_F_KEY_EXPLICIT flag. While here more flags description more
readable.

MFC after: 2 weeks

18 years agoHide net.inet.ipsec.test_{replay,integrity} sysctls under #ifdef REGRESSION.
Pawel Jakub Dawidek [Mon, 10 Apr 2006 15:04:36 +0000 (15:04 +0000)]
Hide net.inet.ipsec.test_{replay,integrity} sysctls under #ifdef REGRESSION.

Requested by: sam, rwatson

18 years agoip6_mrouter_done(): use if_allmulti(0) for disabling the multicast promiscuous mode
SUZUKI Shinsuke [Mon, 10 Apr 2006 14:33:22 +0000 (14:33 +0000)]
ip6_mrouter_done(): use if_allmulti(0) for disabling the multicast promiscuous mode

Obtained from: KAME
MFC after: 2 days

18 years agoKill the last Giant acquisition in the exit(2) code. This Giant acquisition
Christian S.J. Peron [Mon, 10 Apr 2006 14:07:28 +0000 (14:07 +0000)]
Kill the last Giant acquisition in the exit(2) code. This Giant acquisition
doesn't appear to be protecting anything. Most of consumers funsetownlst(9)
do not appear to be picking up Giant anywhere. This was originally a part
of my Giant exit(2) clean up revision 1.272 but I thought it was a good idea
to leave it out until we were able to analyze it better.

Tested by: kris
MFC after: 3 weeks

18 years ago- Mention the Epson Stylus Photo RX425 scanner in uscanner(4), missed in my
Florent Thoumie [Mon, 10 Apr 2006 11:00:25 +0000 (11:00 +0000)]
- Mention the Epson Stylus Photo RX425 scanner in uscanner(4), missed in my
latest commit.

Reminded by: simon
Approved by: cpercival (mentor, implicit)
MFC after: 3 days

18 years agoIntroduce and use delayed-destruction functionality from a pre-sync hook,
Pawel Jakub Dawidek [Mon, 10 Apr 2006 10:32:22 +0000 (10:32 +0000)]
Introduce and use delayed-destruction functionality from a pre-sync hook,
which means that devices will be destroyed on last close.

This fixes destruction order problems when, eg. RAID3 array is build on
top of RAID1 arrays.

Requested, reviewed and tested by: ru
MFC after: 2 weeks

18 years ago- Add support for the Epson RX425 scanner.
Florent Thoumie [Mon, 10 Apr 2006 10:21:09 +0000 (10:21 +0000)]
- Add support for the Epson RX425 scanner.

PR: usb/95346
Submitted by: Matthieu Guegan <lesaint@gcu.info>
Approved by: cperciva (mentor)
MFC after: 3 days

18 years agoOn shutdown try to turn off all swap devices. This way GEOM providers are
Pawel Jakub Dawidek [Mon, 10 Apr 2006 10:03:41 +0000 (10:03 +0000)]
On shutdown try to turn off all swap devices. This way GEOM providers are
properly closed on shutdown.

Requested by: ru
Reviewed by: alc
MFC after: 2 weeks

18 years agoPass -DCRUNCH down to standard targets in individual makefiles.
Ruslan Ermilov [Mon, 10 Apr 2006 09:32:50 +0000 (09:32 +0000)]
Pass -DCRUNCH down to standard targets in individual makefiles.

18 years agoClean the product of patch(1).
Ruslan Ermilov [Mon, 10 Apr 2006 09:00:19 +0000 (09:00 +0000)]
Clean the product of patch(1).

18 years agoClean generated headers.
Ruslan Ermilov [Mon, 10 Apr 2006 08:47:18 +0000 (08:47 +0000)]
Clean generated headers.

18 years agoFix some small bugs.
Scott Long [Mon, 10 Apr 2006 06:44:30 +0000 (06:44 +0000)]
Fix some small bugs.

Submitted by: pjd
Found by: Coverity Prevent (tm)

18 years agoUse proc lock to prevent a thread from exiting, Giant was no longer used to
David Xu [Mon, 10 Apr 2006 04:55:59 +0000 (04:55 +0000)]
Use proc lock to prevent a thread from exiting, Giant was no longer used to
protect thread list.

18 years agoMFp4:
Marcel Moolenaar [Mon, 10 Apr 2006 04:13:44 +0000 (04:13 +0000)]
MFp4:
o  Add mount and umount actions so that partitions can be in use.
o  Extend the testing of the add verb to include overlapping
   partitions.
o  Add tests for the remove verb. this includes tests to remove
   a partition when in use (i.e. is mounted).
o  Add a MD5 checksum to the output of the conf action so that
   it can be tested. Make sure the MD5 doesn't vary based on
   certain dynamic behaviour that is irrelevant to the output.
o  Add MD5 checksums to the expected result of conf actions.

18 years agoMFp4:
Marcel Moolenaar [Mon, 10 Apr 2006 04:07:20 +0000 (04:07 +0000)]
MFp4:
Add support for read-write parameters. Allow an optional initializer
for read-write parameters. Print the value of those parameters on
success following the PASS.

18 years agoMFp4:
Marcel Moolenaar [Mon, 10 Apr 2006 04:03:14 +0000 (04:03 +0000)]
MFp4:
o  Implement the remove verb to remove a partition entry.
o  Improve error reporting by first checking that the verb is valid.
o  Add an entry parameter to the add verb. this parameter can be
   both read-only as welll as read-write and specifies the entry
   number of the newly added partition.
o  Make sure that the provider is alive when passed to us. It may
   be withering away.
o  When adding a new partition entry, test for overlaps with existing
   partitions.

18 years agoAdd g_wither_provider() to abstract the details of destroying a
Marcel Moolenaar [Mon, 10 Apr 2006 03:55:13 +0000 (03:55 +0000)]
Add g_wither_provider() to abstract the details of destroying a
particular provider. Use this function where g_orphan_provider()
is being called so that the flags are updated correctly and
g_orphan_provider() is called only when allowed.

18 years agoMFp4: Use CPU_CONTROL_ROUNDROBIN for arm9, it seems to give marginally
Olivier Houchard [Sun, 9 Apr 2006 23:07:31 +0000 (23:07 +0000)]
MFp4: Use CPU_CONTROL_ROUNDROBIN for arm9, it seems to give marginally
better performances.

18 years agoUpdate to DRM CVS as of 2006-04-09. The most notable new feature is the updated
Eric Anholt [Sun, 9 Apr 2006 20:45:45 +0000 (20:45 +0000)]
Update to DRM CVS as of 2006-04-09.  The most notable new feature is the updated
Radeon memmap code, which with a new DDX driver and DRI drivers should fix
long-term stability issues with Radeons.  Also adds support for r200's
ATI_fragment_shader, r300 texrect support and texture caching fixes, i915
vblank support and bugfixes, and new PCI IDs.

18 years agoNot only disable/enable interrupts, do it for FIQs as well, when needed.
Olivier Houchard [Sun, 9 Apr 2006 20:16:47 +0000 (20:16 +0000)]
Not only disable/enable interrupts, do it for FIQs as well, when needed.

18 years agoMFp4: Don't write-back the PTEs if they are mapped write-through, this was
Olivier Houchard [Sun, 9 Apr 2006 20:03:03 +0000 (20:03 +0000)]
MFp4: Don't write-back the PTEs if they are mapped write-through, this was
apparently only needed because skyeye has bugs in its cache emulation.

18 years agoAllow to specify size in terabytes by using T or t suffix.
Pawel Jakub Dawidek [Sun, 9 Apr 2006 19:16:24 +0000 (19:16 +0000)]
Allow to specify size in terabytes by using T or t suffix.
This speeds up my testing a bit. Because truncate(1) doesn't allocate
blocks on file system before they are used, it is very useful to
emulate huge file systems:

# truncate -s 16T fs.img
# mdconfig -a -f fs.img
# newfs /dev/mdX

(-t swap can be used as well)

18 years agoIntroduce two new sysctls:
Pawel Jakub Dawidek [Sun, 9 Apr 2006 19:11:45 +0000 (19:11 +0000)]
Introduce two new sysctls:

net.inet.ipsec.test_replay - When set to 1, IPsec will send packets with
the same sequence number. This allows to verify if the other side
has proper replay attacks detection.

net.inet.ipsec.test_integrity - When set 1, IPsec will send packets with
corrupted HMAC. This allows to verify if the other side properly
detects modified packets.

I used the first one to discover that we don't have proper replay attacks
detection in ESP (in fast_ipsec(4)).

18 years agoBe consistent with the rest of the code.
Pawel Jakub Dawidek [Sun, 9 Apr 2006 19:00:23 +0000 (19:00 +0000)]
Be consistent with the rest of the code.

18 years agoIn natm_usr_abort(), replace existing call to natm_usr_shutdown() with
Robert Watson [Sun, 9 Apr 2006 17:14:09 +0000 (17:14 +0000)]
In natm_usr_abort(), replace existing call to natm_usr_shutdown() with
natm_usr_detach(), which actually does the right thing.  This code has
never worked properly, but also was never invoked since we only abort
connections associated with listen sockets, and netnam doesn't support
listen sockets.

MFC after: 3 months

18 years agoSync acpi_asus(4) manual with the code.
Philip Paeps [Sun, 9 Apr 2006 17:05:17 +0000 (17:05 +0000)]
Sync acpi_asus(4) manual with the code.

Reminded by: brueffer
X-MFC after: 3 days (or so)

18 years agoModify tcp_timewait() to accept an inpcb reference, not a tcptw
Robert Watson [Sun, 9 Apr 2006 16:59:19 +0000 (16:59 +0000)]
Modify tcp_timewait() to accept an inpcb reference, not a tcptw
reference.  For now, we allow the possibility that the in_ppcb
pointer in the inpcb may be NULL if a timewait socket has had its
tcptw structure recycled.  This allows tcp_timewait() to
consistently unlock the inpcb.

Reported by: Kazuaki Oda <kaakun at highway dot ne dot jp>
MFC after: 3 months