]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoManual page for ng_tcpmss.
glebius [Fri, 10 Jun 2005 08:44:19 +0000 (08:44 +0000)]
Manual page for ng_tcpmss.

19 years agoIdentify the Intel ICH4 EHCI controller.
benno [Fri, 10 Jun 2005 08:28:22 +0000 (08:28 +0000)]
Identify the Intel ICH4 EHCI controller.

19 years agoAttach ng_tcpmss to the build.
glebius [Fri, 10 Jun 2005 08:05:13 +0000 (08:05 +0000)]
Attach ng_tcpmss to the build.

19 years agoAdd ng_tcpmss node, which alters MSS options of TCP packets. Useful to
glebius [Fri, 10 Jun 2005 08:02:34 +0000 (08:02 +0000)]
Add ng_tcpmss node, which alters MSS options of TCP packets. Useful to
hack MSS of packets outgoing via interface with small MTU, to workaround
path MTU discovery problems.

Written by Alexey Popov, with some cleanups from me. There are also plans
to improve mpd port, so that it uses this node, instead of doing MSS
hacking in userland, when 'enable tcpmssfix' option is on.

Submitted by:   Alexey Popov <lollypop@flexuser.ru>

19 years agoEnable SATA hotplug support.
sos [Fri, 10 Jun 2005 07:43:10 +0000 (07:43 +0000)]
Enable SATA hotplug support.

Submitted by: Olivier Houchard

19 years agoClean up after the last change -- remove now stale comment.
ru [Fri, 10 Jun 2005 07:06:07 +0000 (07:06 +0000)]
Clean up after the last change -- remove now stale comment.

19 years agoDon't free(sock) before it's even allocated.
des [Fri, 10 Jun 2005 06:36:03 +0000 (06:36 +0000)]
Don't free(sock) before it's even allocated.

Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
MFC after: 1 week

19 years agoUse appropriate error codes for each facility instead of just PAM_AUTH_ERR.
des [Fri, 10 Jun 2005 06:16:13 +0000 (06:16 +0000)]
Use appropriate error codes for each facility instead of just PAM_AUTH_ERR.

Noticed by: pjd

19 years agoRemove kludges intended to support src trees with partial obj trees.
des [Fri, 10 Jun 2005 06:12:53 +0000 (06:12 +0000)]
Remove kludges intended to support src trees with partial obj trees.

Discussed with: ru

19 years agoOnly set mode when the incoming ioctl is IOC_VOID, until we have better
delphij [Fri, 10 Jun 2005 05:20:33 +0000 (05:20 +0000)]
Only set mode when the incoming ioctl is IOC_VOID, until we have better
solution against the ioctl collisions.

Submitted by: Antoine Brodin <antoine.brodin at laposte net>
PR: kern/81867

19 years agomark stations authorized during recv processing instead of doing it
sam [Fri, 10 Jun 2005 05:04:42 +0000 (05:04 +0000)]
mark stations authorized during recv processing instead of doing it
as a side effect of sending an auth success frame; sending mgmt
frames should not have side effects

19 years agoCorrect grammar error in comment
csjp [Fri, 10 Jun 2005 04:44:38 +0000 (04:44 +0000)]
Correct grammar error in comment

MFC after: 3 days

19 years agomove AID implementation defines from the protocol definitions to
sam [Fri, 10 Jun 2005 04:42:34 +0000 (04:42 +0000)]
move AID implementation defines from the protocol definitions to
where they are used

19 years agoaccept diassoc frame in ASSOC state
sam [Fri, 10 Jun 2005 04:37:05 +0000 (04:37 +0000)]
accept diassoc frame in ASSOC state

19 years agoFix tinderbox breakage.
jkoshy [Fri, 10 Jun 2005 03:45:04 +0000 (03:45 +0000)]
Fix tinderbox breakage.

19 years agoAdd support for /etc/dhclient-enter-hooks to match /etc/dhclient-exit-hooks.
brooks [Fri, 10 Jun 2005 03:41:18 +0000 (03:41 +0000)]
Add support for /etc/dhclient-enter-hooks to match /etc/dhclient-exit-hooks.

19 years agoIntroduce a procedure, pmap_page_init(), that initializes the
alc [Fri, 10 Jun 2005 03:33:36 +0000 (03:33 +0000)]
Introduce a procedure, pmap_page_init(), that initializes the
vm_page's machine-dependent fields.  Use this function in
vm_pageq_add_new_page() so that the vm_page's machine-dependent and
machine-independent fields are initialized at the same time.

Remove code from pmap_init() for initializing the vm_page's
machine-dependent fields.

Remove stale comments from pmap_init().

Eliminate the Boolean variable pmap_initialized from the alpha, amd64,
i386, and ia64 pmap implementations.  Its use is no longer required
because of the above changes and earlier changes that result in physical
memory that is being mapped at initialization time being mapped without
pv entries.

Tested by: cognet, kensmith, marcel

19 years agoRestore preemption of idle threads.
ups [Fri, 10 Jun 2005 03:00:29 +0000 (03:00 +0000)]
Restore preemption of idle threads.

Submitted by: jhb

19 years agopull some debug msgs up so they're seen more often
sam [Fri, 10 Jun 2005 01:48:57 +0000 (01:48 +0000)]
pull some debug msgs up so they're seen more often

19 years agokick the state machine when we receive failure notice from an ap (when
sam [Fri, 10 Jun 2005 01:47:28 +0000 (01:47 +0000)]
kick the state machine when we receive failure notice from an ap (when
operating in sta mode); this speeds up the state machine, previously
we were acting on a timeout

19 years agodiscard open auth requests in adhoc mode
sam [Fri, 10 Jun 2005 01:43:28 +0000 (01:43 +0000)]
discard open auth requests in adhoc mode

19 years agoreject open auth requests when shared key auth is configured
sam [Fri, 10 Jun 2005 01:41:59 +0000 (01:41 +0000)]
reject open auth requests when shared key auth is configured

Obtained from: Atheros

19 years agoadd ieee80211_send_error to encapsulate an idiom
sam [Fri, 10 Jun 2005 01:40:58 +0000 (01:40 +0000)]
add ieee80211_send_error to encapsulate an idiom

19 years agoo always check if ic_set_tim is !NULL before using it
sam [Fri, 10 Jun 2005 01:38:02 +0000 (01:38 +0000)]
o always check if ic_set_tim is !NULL before using it
o add missing call to clear tim after flushing ps q

19 years agomark state for protection only when operating in 11g
sam [Fri, 10 Jun 2005 01:35:21 +0000 (01:35 +0000)]
mark state for protection only when operating in 11g

19 years agodon't reject station based on the PRIVACY bit in the capabilities;
sam [Fri, 10 Jun 2005 01:33:47 +0000 (01:33 +0000)]
don't reject station based on the PRIVACY bit in the capabilities;
the 802.11 spec says not to

Obtained from: Atheros

19 years agocorrect checks for rate set compatibility
sam [Fri, 10 Jun 2005 01:31:28 +0000 (01:31 +0000)]
correct checks for rate set compatibility

19 years agorecord tstamp from beacons received in station mode when associated;
sam [Fri, 10 Jun 2005 01:29:21 +0000 (01:29 +0000)]
record tstamp from beacons received in station mode when associated;
this is needed by drivers that want to resync their timers based on
the tsf of the last recv'd beacon frame

19 years agoAdd dummynet(4) support to if_bridge, this code is largely based on bridge.c.
thompsa [Fri, 10 Jun 2005 01:25:22 +0000 (01:25 +0000)]
Add dummynet(4) support to if_bridge, this code is largely based on bridge.c.

This is the final piece to match bridge.c in functionality, we can now be a
drop-in replacement.

Approved by: mlaier (mentor)

19 years agoo improve error msg for ioctl failures
sam [Thu, 9 Jun 2005 22:19:00 +0000 (22:19 +0000)]
o improve error msg for ioctl failures
o zero mlme struct before use

19 years agoFix the long standing problem with poor transferrates on Intel ICHH type
sos [Thu, 9 Jun 2005 21:13:44 +0000 (21:13 +0000)]
Fix the long standing problem with poor transferrates on Intel ICHH type
chips. The DMA timing value was set on device 0 for all devices :/

Prodded by: Harald Schmalzbauer

19 years agoDocument the need for a log file to be configured before a PMC
jkoshy [Thu, 9 Jun 2005 20:55:05 +0000 (20:55 +0000)]
Document the need for a log file to be configured before a PMC
configured with logging options can be started.

19 years agoUpdate manual page after sysctl rename.
pjd [Thu, 9 Jun 2005 20:52:22 +0000 (20:52 +0000)]
Update manual page after sysctl rename.

Corrected by: brueffer

19 years agoAllow EVFILT_VNODE events to work on every filesystem type, not just
ssouhlal [Thu, 9 Jun 2005 20:20:31 +0000 (20:20 +0000)]
Allow EVFILT_VNODE events to work on every filesystem type, not just
UFS by:
- Making the pre and post hooks for the VOP functions work even when
DEBUG_VFS_LOCKS is not defined.
- Moving the KNOTE activations into the corresponding VOP hooks.
- Creating a MNTK_NOKNOTE flag for the mnt_kern_flag field of struct
mount that permits filesystems to disable the new behavior.
- Creating a default VOP_KQFILTER function: vfs_kqfilter()

My benchmarks have not revealed any performance degradation.

Reviewed by: jeff, bde
Approved by: rwatson, jmg (kqueue changes), grehan (mentor)

19 years agoDocument recent driver changes.
markus [Thu, 9 Jun 2005 20:19:34 +0000 (20:19 +0000)]
Document recent driver changes.

Reviewed by: brueffer, ru
Approved by: brueffer
Thanks to: brueffer and ru for improving my not existing manpage-foo,
Arne Schwabe <arne@rfc2549.org> and
Kevin Oberman <oberman@es.net>
for details on thermal sensor location

19 years agoImport a mostly rewritten and extended version of acpi_ibm:
markus [Thu, 9 Jun 2005 20:17:32 +0000 (20:17 +0000)]
Import a mostly rewritten and extended version of acpi_ibm:

- Restructured for easier extensibility and maintainability
- To be more uniform with the other ACPI extras drivers and to better reflect
  their actual meaning, some sysctls were moved:
    o brightness -> lcd_brightness
    o keylight   -> thinklight
    o enable     -> events
    o misckey    -> hotkey
    o avail_mask -> availmask
    o key_mask   -> eventmask
- New "initialmask" sysctl, which holds the initial eventmask
- The "wlan" sysctl is now read-only, since writing to it didn't have
  any effect
- The "version" sysctl was removed, since it seems to be the same (0x100)
  on all models I have seen
- Support for more hotkeys by the "hotkey" sysctl
- Improved support of ACPI events. Disabled by default, since it unexpectedly
  changes the behaviour of some keys. (on my T41p there are now 24 different
  keypress events that get reported)
- write support for: volume, mute, lcd_brightness and thinklight
- led(4) interface for the thinklight [1]
- New sysctls "fan" and "fan_speed" to support reading of fan status and speed
- New sysctl "thermal" to support reading of up to 8 thermal sensors

Reviewed by: philip
Approved by: philip
Submitted by: simon [1]
Inspired by: The Linux ibm_acpi driver by Borislav Deianov
  http://ibm-acpi.sourceforge.net/
The ThinkPad Button program (tpb) by Markus Braun
  http://www.nongnu.org/tpb/
Thanks to: brueffer, dvl, njl, philip, simon, takawata and the many
testers from freebsd-acpi@ and freebsd-mobile@

19 years agoDrat! Committed from the wrong branch. Restore HEAD to its previous goodness.
scottl [Thu, 9 Jun 2005 19:59:09 +0000 (19:59 +0000)]
Drat!  Committed from the wrong branch.  Restore HEAD to its previous goodness.

19 years agoBack out 1.68.2.26. It was a mis-guided change that was already backed out
scottl [Thu, 9 Jun 2005 19:56:38 +0000 (19:56 +0000)]
Back out 1.68.2.26.  It was a mis-guided change that was already backed out
of HEAD and should not have been MFC'd.  This will restore UDP socket
functionality, which will correct the recent NFS problems.

Submitted by: rwatson

19 years agoMFP4:
jkoshy [Thu, 9 Jun 2005 19:45:09 +0000 (19:45 +0000)]
MFP4:

- Implement sampling modes and logging support in hwpmc(4).

- Separate MI and MD parts of hwpmc(4) and allow sharing of
  PMC implementations across different architectures.
  Add support for P4 (EMT64) style PMCs to the amd64 code.

- New pmcstat(8) options: -E (exit time counts) -W (counts
  every context switch), -R (print log file).

- pmc(3) API changes, improve our ability to keep ABI compatibility
  in the future.  Add more 'alias' names for commonly used events.

- bug fixes & documentation.

19 years agoLots of whitespace cleanup.
ups [Thu, 9 Jun 2005 19:43:08 +0000 (19:43 +0000)]
Lots of whitespace cleanup.
Fix for broken if condition.

Submitted by: nate@

19 years agoMention the change to kinfo_proc, and the need for a complete buildworld.
gad [Thu, 9 Jun 2005 19:09:38 +0000 (19:09 +0000)]
Mention the change to kinfo_proc, and the need for a complete buildworld.

19 years agoRe-arrange some variables in kinfo_proc, and add more spare room. This
gad [Thu, 9 Jun 2005 19:09:02 +0000 (19:09 +0000)]
Re-arrange some variables in kinfo_proc, and add more spare room.  This
makes the amount of spare room consistent across architectures, and gets
rid of some cases where space was wasted-and-unusable because types have
different sizes & alignment on different hardware platforms.  This change
causes more variables to move around on i386, and is much less disruptive
on other platforms.  This has been tested on i386, ppc, and sparc, and has
at least been compiled on everything but arm.

Reviewed by: no objections from freebsd-arch, bde

19 years agoFix the register offset for the ATAPI count register thats used to
sos [Thu, 9 Jun 2005 19:00:37 +0000 (19:00 +0000)]
Fix the register offset for the ATAPI count register thats used to
wrestle the older Promise chips to do 48bit addressing.

Spotted by: Martin Birgmeier

19 years agoWhitespace cleanup
ups [Thu, 9 Jun 2005 18:59:21 +0000 (18:59 +0000)]
Whitespace cleanup

Submitted by: nate@

19 years agoRename sysctl security.jail.getfsstatroot_only to security.jail.enforce_statfs
pjd [Thu, 9 Jun 2005 18:49:19 +0000 (18:49 +0000)]
Rename sysctl security.jail.getfsstatroot_only to security.jail.enforce_statfs
and extend its functionality:

value policy
0 show all mount-points without any restrictions
1 show only mount-points below jail's chroot and show only part of the
mount-point's path (if jail's chroot directory is /jails/foo and
mount-point is /jails/foo/usr/home only /usr/home will be shown)
2 show only mount-point where jail's chroot directory is placed.

Default value is 2.

Discussed with: rwatson

19 years agoUse tabs instead of spaces to indent, per style(9)
imp [Thu, 9 Jun 2005 18:46:36 +0000 (18:46 +0000)]
Use tabs instead of spaces to indent, per style(9)

Noticed by: njl

19 years agoRemove process information leak from inside a jail, when
pjd [Thu, 9 Jun 2005 18:33:21 +0000 (18:33 +0000)]
Remove process information leak from inside a jail, when
security.bsd.see_other_uids is set to 0, etc.
One can check if invisible process is active, by doing:

# ktrace -p <pid>

If ktrace returns 'Operation not permitted' the process is alive and
if returns 'No such process' there is no such process.

MFC after: 1 week

19 years agoFix some race conditions for pinned threads that may cause them to run
ups [Thu, 9 Jun 2005 18:26:31 +0000 (18:26 +0000)]
Fix some race conditions for pinned threads that may cause them to run
on the wrong CPU.

Add IPI support for preempting a thread on another CPU.

MFC after:3 weeks

19 years agoAdd IPI support for preempting a thread on another CPU.
ups [Thu, 9 Jun 2005 18:23:54 +0000 (18:23 +0000)]
Add IPI support for preempting a thread on another CPU.

MFC after: 3 weeks

19 years agoFix a mis-merge. Remove a redundant call to tcp_sackhole_insert
ps [Thu, 9 Jun 2005 17:55:29 +0000 (17:55 +0000)]
Fix a mis-merge.  Remove a redundant call to tcp_sackhole_insert

Submitted by: Mohan Srinivasan

19 years agoAvoid code duplication in serval places by introducing universal
pjd [Thu, 9 Jun 2005 17:44:46 +0000 (17:44 +0000)]
Avoid code duplication in serval places by introducing universal
kern_getfsstat() function.

Obtained from: jhb

19 years agoLucent FW322/323 == Lucent / Agere FW322/323
wilko [Thu, 9 Jun 2005 17:38:35 +0000 (17:38 +0000)]
Lucent FW322/323 == Lucent / Agere FW322/323

Triggered by: reading the chip markings when adding a FW card to my system.

19 years agoAdd a quirk for my pen-drive.
pjd [Thu, 9 Jun 2005 17:35:04 +0000 (17:35 +0000)]
Add a quirk for my pen-drive.

19 years agopullup security fix on vendor branch
sam [Thu, 9 Jun 2005 15:54:42 +0000 (15:54 +0000)]
pullup security fix on vendor branch

19 years agoThis commit was generated by cvs2svn to compensate for changes in r147173,
sam [Thu, 9 Jun 2005 15:42:58 +0000 (15:42 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147173,
which included commits to RCS files with non-trunk default branches.

19 years agoCorrect several denial-of-service vulnerabilities in tcpdump.
sam [Thu, 9 Jun 2005 15:42:58 +0000 (15:42 +0000)]
Correct several denial-of-service vulnerabilities in tcpdump.

Security: FreeBSD-SA-05:10.tcpdump
Security: CAN-2005-1267, CAN-2005-1278, CAN-2005-1279, CAN-2005-1280
Obtained from: tcpdump.org

19 years agoCommit some cosmetic fixes I developed some time ago, mostly style but
ru [Thu, 9 Jun 2005 15:27:46 +0000 (15:27 +0000)]
Commit some cosmetic fixes I developed some time ago, mostly style but
one functional change (fixed exit status from the "get" operation).

19 years agoUse tabs, not spaces.
cognet [Thu, 9 Jun 2005 15:05:09 +0000 (15:05 +0000)]
Use tabs, not spaces.

Reported by: ru

19 years agoFix exit status. In rev. 1.48 return logic of rtmsg() was confused. This
glebius [Thu, 9 Jun 2005 15:00:31 +0000 (15:00 +0000)]
Fix exit status. In rev. 1.48 return logic of rtmsg() was confused. This
made arp(8) command exit status reversed for -s and -S.

Reported by: sem
MFC after: 2 weeks

19 years agoFix for a crash in tcp_sack_option() caused by hitting the limit on
ps [Thu, 9 Jun 2005 14:01:04 +0000 (14:01 +0000)]
Fix for a crash in tcp_sack_option() caused by hitting the limit on
the number of sack holes.

Reported by: Andrey Chernov
Submitted by: Noritoshi Demizu
Reviewed by: Raja Mukerji

19 years agoAdd ata stuff.
cognet [Thu, 9 Jun 2005 12:32:15 +0000 (12:32 +0000)]
Add ata stuff.

19 years agoUse the presence of ctlr->dmainit instead of r_res1 to find out when to
sos [Thu, 9 Jun 2005 12:31:07 +0000 (12:31 +0000)]
Use the presence of ctlr->dmainit instead of r_res1 to find out when to
initialise DMA.

19 years ago- MFp4: modify slightly the arm intr API, there's arm CPUs with more than 32
cognet [Thu, 9 Jun 2005 12:26:20 +0000 (12:26 +0000)]
- MFp4: modify slightly the arm intr API, there's arm CPUs with more than 32
interrupts.
- Implement teardown methods where appropriate.

19 years agoWhen returing an RTM_GET message through the routing socket fill
harti [Thu, 9 Jun 2005 12:20:50 +0000 (12:20 +0000)]
When returing an RTM_GET message through the routing socket fill
in the rtm_index field whenever we have an interface pointer. This
is consistent with the RTM_GET messages returned by sysctl().

19 years agoDocument that /etc/rc.d/ntpdate will read this file to find out a list
keramida [Thu, 9 Jun 2005 11:25:50 +0000 (11:25 +0000)]
Document that /etc/rc.d/ntpdate will read this file to find out a list
of NTP hosts, if ntpdate_hosts is unset or empty.

PR: conf/79712
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
mdoc text by: Matteo Riondato <rionda@gufi.org>

19 years agoRefer to the mbuf header length field via the official method.
ru [Thu, 9 Jun 2005 10:27:27 +0000 (10:27 +0000)]
Refer to the mbuf header length field via the official method.

19 years agoan English grammar fix
suz [Thu, 9 Jun 2005 09:28:35 +0000 (09:28 +0000)]
an English grammar fix

Reported by: ru
MFC after: 1 day

19 years agoIntel 31244 support.
brueffer [Thu, 9 Jun 2005 07:51:06 +0000 (07:51 +0000)]
Intel 31244 support.

19 years agoSimplify the code a bit after the bzero().
imp [Thu, 9 Jun 2005 05:50:01 +0000 (05:50 +0000)]
Simplify the code a bit after the bzero().

19 years agoDon't build PORTS_MODULES if NO_MODULES is defined
imp [Thu, 9 Jun 2005 05:38:18 +0000 (05:38 +0000)]
Don't build PORTS_MODULES if NO_MODULES is defined

19 years ago - My sub-par public school education has been exposed. s/sentinal/sentinel/
jeff [Thu, 9 Jun 2005 04:40:20 +0000 (04:40 +0000)]
 - My sub-par public school education has been exposed.  s/sentinal/sentinel/

Noticed by: Emil Mikulic

19 years agoChange station mode beacon timer setup to insure the calculated
sam [Thu, 9 Jun 2005 04:10:01 +0000 (04:10 +0000)]
Change station mode beacon timer setup to insure the calculated
nextTbtt is always ahead of the h/w TSF.

Reviewed by: avatar

19 years agoo collect dtim period+count from beacons in station mode so drivers
sam [Thu, 9 Jun 2005 04:05:43 +0000 (04:05 +0000)]
o collect dtim period+count from beacons in station mode so drivers
  can better program beacon timers
o leave placeholder in com structure for future ap/adhoc mode tim support

Reviewed by: avatar

19 years agoRemove the previous parsing-logic for arguments on the '#!'-line of shell
gad [Thu, 9 Jun 2005 00:27:02 +0000 (00:27 +0000)]
Remove the previous parsing-logic for arguments on the '#!'-line of shell
scripts.  As far as I know, no one has needed the '#!#<' kludge to get at
the behavior implemented by the historical parsing.

19 years agofixed typo
suz [Wed, 8 Jun 2005 23:51:42 +0000 (23:51 +0000)]
fixed typo

Obtained from: KAME
MFC after: 1 day

19 years agoMy abstracting out the MAC reading code to fix pccard broke pci. Add
imp [Wed, 8 Jun 2005 23:15:33 +0000 (23:15 +0000)]
My abstracting out the MAC reading code to fix pccard broke pci.  Add
back the reading of the MAC address in the 'standard' way.

Reported by: Jeremie Le Hen ( jeremie at le-hen dot org )

19 years agoCorrect directory traversal and race condition vulnerabilities in gzip.
simon [Wed, 8 Jun 2005 21:25:19 +0000 (21:25 +0000)]
Correct directory traversal and race condition vulnerabilities in gzip.

Security: FreeBSD-SA-05:11.gzip
Security: CAN-2005-0988, CAN-2005-1228
Obtained from: Steve Grubb via RedHat, Debian
Approved by: nectar

19 years agoRegen after addition of linux_getpriority wrapper.
sobomax [Wed, 8 Jun 2005 20:47:30 +0000 (20:47 +0000)]
Regen after addition of linux_getpriority wrapper.

PR: kern/81951
Submitted by: Andriy Gapon <avg@icyb.net.ua>
MFC after: 1 week

19 years agoProperly convert FreeBSD priority values into Linux values in the
sobomax [Wed, 8 Jun 2005 20:41:28 +0000 (20:41 +0000)]
Properly convert FreeBSD priority values into Linux values in the
getpriority(2) syscall.

PR: kern/81951
Submitted by: Andriy Gapon <avg@icyb.net.ua>

19 years ago - Under heavy IO load the buf daemon can run for many hundereds of
jeff [Wed, 8 Jun 2005 20:26:05 +0000 (20:26 +0000)]
 - Under heavy IO load the buf daemon can run for many hundereds of
   milliseconds due to what is essentially n^2 algorithmic complexity.  This
   change makes the algorithm N*2 instead.  This heavy processing manifested
   itself as skipping in audio and video playback due to the long scheduling
   latencies and contention on giant by pcm.
 - flushbufqueues() is now responsible for flushing multiple buffers
   rather than one at a time.  This allows us to save our progress in the
   list by using a sentinal.  We must do the numdirtywakeup() and
   waitrunningbufspace() here now rather than in buf_daemon().
 - Also add a uio_yield() after we have processed the list once for bufs
   without deps and again for bufs with deps.  This is to release Giant
   and allow any other giant locked code to proceed.

Tested by: Many users on current@
Revealed by: schedgraph traces sent by Emil Mikulic & Anthony Ginepro

19 years agoAdd support for the Intel 31244.
sos [Wed, 8 Jun 2005 20:02:55 +0000 (20:02 +0000)]
Add support for the Intel 31244.
Most code by the submitters, hammered upon to get the right ATA fell by me.

Submitted by: Olivier Houchard
Submitted by: Jia-Shiun Li

19 years agoAdd support for /etc/dhclient-exit-hooks file.
brooks [Wed, 8 Jun 2005 18:21:56 +0000 (18:21 +0000)]
Add support for /etc/dhclient-exit-hooks file.

Tested by: Max Boyarov <max_b at tut dot by>

19 years agoInitialize uio_iovcnt to 1 in extattr_list_vp() and extattr_get_vp()
rodrigc [Wed, 8 Jun 2005 13:22:10 +0000 (13:22 +0000)]
Initialize uio_iovcnt to 1 in extattr_list_vp() and extattr_get_vp()

PR: kern/79357
Approved by: rwatson

19 years agoFix section number of hostapd(8) and wpa_supplicant(8).
hrs [Wed, 8 Jun 2005 12:57:47 +0000 (12:57 +0000)]
Fix section number of hostapd(8) and wpa_supplicant(8).

Noticed by: brueffer
Pointy hat to: hrs

19 years agoNew release notes:
hrs [Wed, 8 Jun 2005 08:26:54 +0000 (08:26 +0000)]
New release notes:
ichsmb(4) kernel module available,
ifconfig(8) now supports if_bridge(4),
link state change notification sent to /dev/devctl,
_dhcp user/group added,
NetBSD specific rc.d scripts removed,
OpenBSD dhclient imported,
hostapd v0.3.7 imported,
WPA Supplicant v0.3.8 imported, and
pkg_create(1) -R flag added.

Update release notes:
Move "sendmail 8.13.4 import" to the userland changes section.

19 years agoIn sem_forkhook(), don't attempt to generate a copy of the process semaphore
rwatson [Wed, 8 Jun 2005 07:29:22 +0000 (07:29 +0000)]
In sem_forkhook(), don't attempt to generate a copy of the process semaphore
list on fork() if the process doesn't actually have references to any
semaphores.  This avoids extra work, as well as potentially asking to
allocate storage for 0 references.

Found by: avatar
MFC after: 1 week

19 years agoClarify that systems that have the GPIO pins wired to the hardware
yongari [Wed, 8 Jun 2005 05:23:39 +0000 (05:23 +0000)]
Clarify that systems that have the GPIO pins wired to the hardware
volume control need a device resource hint.

Reviewed by: scottl

19 years agoClarify that gif doesn't do GRE tunnels.
grog [Wed, 8 Jun 2005 01:53:25 +0000 (01:53 +0000)]
Clarify that gif doesn't do GRE tunnels.

MFC after: 2 weeks

19 years agoUpdate to the new world of network configuration. The documenation is
brooks [Wed, 8 Jun 2005 00:15:36 +0000 (00:15 +0000)]
Update to the new world of network configuration.  The documenation is
slightly ahead of reality as rc support for WPA is only partialy in
place.

Submitted by: Jeremie Le Hen <jeremie at le-hen dot org>

19 years agoRemove default and documenation for pccard_ether_delay since I removed
brooks [Wed, 8 Jun 2005 00:05:58 +0000 (00:05 +0000)]
Remove default and documenation for pccard_ether_delay since I removed
it from /etc/pccard_ether.

Submitted by: Jeremie Le Hen <jeremie at le-hen dot org>

19 years agoFix return values of ifconfig_up/down.
brooks [Tue, 7 Jun 2005 23:59:45 +0000 (23:59 +0000)]
Fix return values of ifconfig_up/down.

Reported by: Andrea Campi

19 years agoadd EAP-TTLS to the EAPOL group; may want a separate knob later
sam [Tue, 7 Jun 2005 23:50:37 +0000 (23:50 +0000)]
add EAP-TTLS to the EAPOL group; may want a separate knob later

19 years agoCatch up with changes in wpa_supplicant:
sam [Tue, 7 Jun 2005 23:41:58 +0000 (23:41 +0000)]
Catch up with changes in wpa_supplicant:
o reorg driver to consolidate state setup in the associate method
o add set_auth_alg method
o cleanup interface state on deinit
o change associate to use revised MLME ioctl api so we can support
  ap_scan=2 methodology
o cleanup associate to support WEP and no cipher cases
o s/__FUNCTION__/__func__/

19 years agoChange the MLME ASSOCIATE ioctl to accept either a ssid, a bssid,
sam [Tue, 7 Jun 2005 23:37:49 +0000 (23:37 +0000)]
Change the MLME ASSOCIATE ioctl to accept either a ssid, a bssid,
or a bssid+ssid. This is needed for later versions of wpa_supplicant
and for forthcoming addons to wpa_supplicant.

Note this is an api change and applications must be rebuilt.

19 years agofix byte order handling: FreeBSD != Linux
sam [Tue, 7 Jun 2005 23:33:13 +0000 (23:33 +0000)]
fix byte order handling: FreeBSD != Linux

19 years agoDon't clock the state machine in various cases when roaming is set
sam [Tue, 7 Jun 2005 23:31:36 +0000 (23:31 +0000)]
Don't clock the state machine in various cases when roaming is set
to manual; this helps keep wpa_supplicant in sync.

19 years agoAdd ARM_USE_SMALL_ALLOC.
cognet [Tue, 7 Jun 2005 23:05:04 +0000 (23:05 +0000)]
Add ARM_USE_SMALL_ALLOC.

19 years agoAdd a new arm-specific option, ARM_USE_SMALL_ALLOC. If defined, it provides
cognet [Tue, 7 Jun 2005 23:04:24 +0000 (23:04 +0000)]
Add a new arm-specific option, ARM_USE_SMALL_ALLOC. If defined, it provides
an implementation of uma_small_alloc() which tries to preallocate memory
1MB per 1MB, and maps it into a section mapping.

19 years ago - Clear OWEINACT prior to calling VOP_INACTIVE to remove the possibility
jeff [Tue, 7 Jun 2005 22:05:32 +0000 (22:05 +0000)]
 - Clear OWEINACT prior to calling VOP_INACTIVE to remove the possibility
   of a vget causing another call to INACTIVE before we're finished.

19 years agoFix markup nits.
ru [Tue, 7 Jun 2005 21:43:16 +0000 (21:43 +0000)]
Fix markup nits.