118661 Commits

Author SHA1 Message Date
sos
1a40e9ce58 MFC:
Remove accidental debug leftovers.
2006-01-30 10:20:28 +00:00
scottl
6abd390244 MFC rev 1.31: Allow the fast taskqueue to run without Giant 2006-01-30 07:51:10 +00:00
cperciva
b6e09e9ba7 MFC rev. 1.14:
Replace "fetch" with "fetch -r" when downloading the initial ~38MB
  snapshot in order to avoid unnecessary re-downloading.

  Remove the earlier "rm -f ${SNAPSHOTHASH}.tgz" to make this work.
2006-01-30 04:18:12 +00:00
jkoshy
ec75f7b274 MFC r1.282: Note that options are set using sh(1) syntax. 2006-01-30 03:17:33 +00:00
philip
1a0293eda7 MFC:
Add [-J jid_file] option to write out a JidFile, similar to a PidFile,
  containing the jailid, path, hostname, ip and the command used to start
  the jail.

      src/usr.sbin/jail/jail.8: rev 1.71 -> 1.72
      src/usr.sbin/jail/jail.c: rev 1.20 -> 1.21

PR:		misc/89883
Submitted by:	L. Jason Godsey <lannygodsey -at- yahoo.com>
Reviewed by:	phk
2006-01-30 00:38:37 +00:00
philip
d5c81a9bd0 MFC:
Add "yet another" moused(8) hack: suspend handling mouse events when SIGUSR1
  is caught.  Can be assigned to a window manager shortcut to prevent accidents
  with touchpads.

      src/usr.sbin/moused/moused.8: rev 1.57 -> 1.58
      src/usr.sbin/moused/moused.c: rev 1.74 -> 1.75

PR:		bin/89357
Submitted by:	Nick Hibma <nick -at- van-laarhoven.org>
2006-01-30 00:32:40 +00:00
philip
d8fc4b8e8b MFC:
Catch up with 64bit time_t on sparc64.  The rstat packet expects a 32bit
  time_t and times will look incorrect on machines with 64bit time_t.

      src/usr.bin/rup/rup.c: rev 1.18 -> 1.19

PR:		88788
Submitted by:	Keith White <Keith.White -at- site.uottawa.ca>
2006-01-30 00:29:15 +00:00
thompsa
336b0354fa InstaMFC:
Back out of r1.148, it causes two arp replies to be sent with different mac
 addresses.
2006-01-29 23:22:42 +00:00
imp
72c266522a MFC: PCIR_CARDBUSCIS -> PCIR_CIS 2006-01-29 21:14:28 +00:00
imp
5b5fcbbd37 MFC 1.46-1.51: more defines for capabilities and Cardbus CIS things. 2006-01-29 21:03:46 +00:00
damien
3a8098e703 sync with HEAD. 2006-01-29 15:21:46 +00:00
damien
bfd5a95bf5 sync with HEAD. 2006-01-29 15:13:01 +00:00
damien
384ea2a095 sync ural with HEAD.
Brings automatic rate control in BSS mode and other goodies.
2006-01-29 14:16:36 +00:00
damien
f4e3675df0 sync with HEAD:
r1.27:
o Re-enable scatter/gather
o Change MEM_READ_1/MEM_READ_4 into macros (move them to if_iwireg.h)
o Add support for association LED
o Silently discard f/w notifications that are unknown (fixes spurious
  "unknown notification 15" in logs with latest firmware)
o Fix scanning of 5GHz channels

r1.23:
Fix endianness issues.  iwi now works on big endian architectures too.

r1.22
Be more robust when handling Rx interrupts.  If we can't allocate and DMA map
a new mbuf, just discard the received frame and reuse the old mbuf.
This should fix kernel panics on high network traffic.

r1.20:
o Use firmware extended scan command; this one doesn't crash when scanning
  the 5GHz band.
o Enable 802.11a channels scanning for 2915ABG adapters.
o Fix a typo (negociated->negotiated).
2006-01-29 13:54:19 +00:00
yar
b0976301af MFC the addition of an rc.d script for stand-alone ftpd:
etc/defaults/rc.conf		1.271
etc/rc.d/Makefile		1.63
etc/rc.d/ftpd			1.1 (new)
share/man/man5/rc.conf.5	1.281, 1.282

Also MFC the addition of a missing xref to geli.8 in
SEE ALSO on rc.conf.5 as a part of rev. 1.282.
2006-01-29 13:52:34 +00:00
yar
5972439952 MFC recent ftpd fixes related to handling the pidfile and unneeded
open sockets when in stand-alone daemon mode:

ftpd.c    1.207-1.209
ftpd.8    1.70-1.71
2006-01-29 13:21:05 +00:00
maxim
6b09b89696 MFC rev. 1.103: InterBase Database Remote Protocol 3050/tcp/udp. 2006-01-29 11:32:48 +00:00
sam
f3bb385026 MFC: switch beacon miss threshold from a time to the number of beacon frames 2006-01-29 07:33:27 +00:00
sam
2564db3b51 MFC 1.86: bounds check each ie's length when parsing 2006-01-29 07:28:02 +00:00
sam
f27a601503 MFC 1.68: propagate current bss state on sta join 2006-01-29 07:20:23 +00:00
sam
8bcd9b14f4 MFC 1.72: bump the scan generation number before iterating 2006-01-29 07:18:09 +00:00
sam
85dc376f3a MFC: update monitoring support 2006-01-29 07:17:02 +00:00
sam
198715ce2a MFC 1.6: add flag to tag frames w/ a known bad FCS 2006-01-29 07:13:58 +00:00
sam
44a7889d74 MFC 1.27:
enable "aggressive mode" only when operating in ap or station mode; in
  particular this fixes use of wme in adhoc demo mode, it wasn't possible
  to set the txop limit because the aggressive mode logic would override
2006-01-29 07:13:03 +00:00
sam
732ef3704c MFC: update erp information element in the beacon frame to reflect
changes in the bss
2006-01-29 07:11:24 +00:00
sam
0dce9530ec MFC: add LINT build 2006-01-29 06:56:27 +00:00
sam
078bfc3cb8 MFC 1.15: don't assume char is signed 2006-01-29 06:55:03 +00:00
sam
38cecb350f MFC 1.18: bandaid assumption that char is signed 2006-01-29 06:52:35 +00:00
ariff
89b5dd63bd MFC: Enable full duplex operation since it works and to solve panic issue.
PR:	kern/91992
2006-01-29 02:35:19 +00:00
ariff
a7ad96accb MFC: Turn on native 32bit recording (at 48000hz).
It works perfectly on my Compaq Presario M2000Z, but my last attempt
on Acer Ferrari 4000 only produce garbled sound.
2006-01-29 02:33:17 +00:00
ariff
82ac1ac2f7 MFC: Various fixups:
feeder.h:
feeder.c:
        - Implement scoring mechanisme to select best format for conversion.
          This is actually part of newer format chaining procedures which
          will be commited someday. Confusion during chaining process solved
          by this scoring since it will try to reduce list of from/to formats
          to a single, best format.
          Related PR:   kern/91683
channel.c:
        - Simplify feeder building process since we have smarter format
          chaining.
	- (1) Fix DMA alignment, based on bytes per sample.

feeder_fmt.c:
        - Add few more sign conversion feeders for 24 and 32 bit format.

feeder_rate.c:
        - Force buffer / bytes allignment. Unaligned buffer may cause
          panics during recording on pure 32bit sample format if it
          involves feeder_rate as part of feeders chain. Handle strayed
	  bytes (mostly caused by #1) better.
          Tested on: ATI IXP, force 32bit recording.

This DMA alignment issues are extremely hard to reproduce unless the user
happen to have a 32bit capable soundcards (ATI IXP) and knowledgeable enough
to force it to operate under pure 32bit operations on both record and play
directions.
2006-01-29 02:27:28 +00:00
iedowse
a91fa9541a MFC: synchronise the OHCI driver with HEAD:
o Add some identification strings and vendor IDs
 o Set sc_dying to 1 when detaching
2006-01-29 01:26:46 +00:00
flz
107394df65 MFC:
Add Product IDs :
  - Sandisk Cruzer Micro 128MB [5]
  - DANE-ELEC zMate 512MB USB flash drive [7]
  - Attache 256MB USB 2.0 Flash Drive [8]
  - Sandisk Cruzer Micro 256MB [9]

  Add scsi_da.c quirks :
  - Samsung USB key 128Mb [1]
  - Kingston DataTraveler 2.0 [2]
  - Creative MuVo Slim [3]
  - United MP 5512 Portable MP3 Player [4]
  - Sandisk Cruzer Micro 128MB [5], [9]
  - PNY USB Flash keys [6], [7], [8]

  Add umass.c quirks :
  - Sandisk Cruzer Micro 128MB [5]
  - DANE-ELEC zMate 512MB USB flash drive [7]
  - Attache 256MB USB 2.0 Flash Drive [8]
  - Sandisk Cruzer Micro 256MB [9]

      src/sys/dev/usb/usbdevs: rev 1.249 -> 1.250
      src/sys/cam/scsi/scsi_da.c: rev 1.184 -> 1.185
      src/sys/dev/usb/umass.c: rev 1.128 -> 1.130

PR:		usb/90081 [1],
		usb/89196 [2],
		kern/86131 [3],
		usb/80487 [4],
		usb/75970 [5],
		usb/75578 [6],
		usb/72344 [7],
		usb/65436 [8],
		usb/70835 [9]
Submitted by:	Henri-Pierre CHARLES <hpc@prism.uvsq.fr> [1],
		Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [2],
		Erich Rickheit KSC <rickheit-fbp@numachi.com> [3],
		tnu@chania.di.uoa.gr [4],
		Bram Abbekerk <bram@abbekerk.demon.nl> [5],
		Thomas Pornin <pornin@bolet.org> [6],
		parv <parv@pair.com> [7],
		Peter D. Quilty <pdquilty@adelphia.net> [8],
		Raymundo M. Vega <rvega@ms-smtp-03-eri0.socal.rr.com> [9]
2006-01-29 00:46:57 +00:00
marcel
4ef2eebeda MFC ia64 psABI conformance changes:
s/R_IA64_/R_IA_64_/
	s/DT_IA64_/DT_IA_64_/

	libexec/rtld-elf/ia64/reloc.c:1.17,1.18
	libexec/rtld-elf/ia64/rtld_start.S:1.4
	sys/boot/ia64/efi/start.S:1.9,1.10
	sys/ia64/ia64/elf_machdep.c:1.23
	sys/ia64/ia64/genassym.c:1.42
	sys/ia64/ia64/locore.S:1.39
	sys/ia64/include/elf.h:1.12,1.13,1.14
	usr.bin/elfdump/elfdump.c:1.14
2006-01-28 18:40:55 +00:00
yar
718263f07d Temporarily back out the last change, rev. 1.7.2.2.
The problem with it was that it swapped the relative order of IP
assignment and parent interface attachment.  The present if_vlan
code gets certain flags from the parent, including those meaningful
to the upper layers.  E.g., IP assignment to an interface with
IFF_BROADCAST goes somewhat differently from that to a non-broadcast
interface.  Consequently, assigning IP before attaching the parent
results in a bogus or missing broadcast address on the vlan interface.
This bug is still here, but at least it won't be triggered by doing
both vlanX configuration steps, IP and vlan+vlandev, in a single
ifconfig invocation, which is usual to setting up vlans via rc.conf.

Work at the global issue is under way.
2006-01-28 16:38:28 +00:00
nyan
3857dc83f2 MFi386: revision 1.10.10.1 2006-01-28 07:55:19 +00:00
kris
5eb299b58a MFC: Correct spelling of T_TAG_OFERFLOW
Approved by:	re
2006-01-28 04:02:54 +00:00
truckman
059cbb8ba3 MFC kern_sysctl.c 1.168
Touch all the pages wired by sysctl_wire_old_buffer() to avoid PTE
  modified bit emulation traps on Alpha while holding locks in the
  sysctl handler.
2006-01-28 00:31:56 +00:00
trhodes
92c549c2d3 Fix a fat fingered revision number in my cvs diff.
Not my month.
2006-01-27 23:05:38 +00:00
bz
42bcb0a389 MFC:
rev. 1.39 sys/net/if_gre.c
  rev. 1.21 sys/netinet/ip_gre.c      rev. 1.4  sys/netinet/ip_gre.h
  rev. 1.12 sys/netipsec/keysock.c    rev. 1.3  sys/netipsec/keysock.h
  rev. 1.32 sys/netkey/keysock.c      rev. 1.9  sys/netkey/keysock.h

  Fix stack corruptions on amd64.

  Vararg functions have a different calling convention than regular
  functions on amd64. Casting a varag function to a regular one to
  match the function pointer declaration will hide the varargs from
  the caller and we will end up with an incorrectly setup stack.

  Entirely remove the varargs from these functions and change the
  functions to match the declaration of the function pointers.
  Remove the now unnecessary casts.

  Lots of explanations and help from:     peter
  PR:                                     amd64/89261
2006-01-27 21:50:11 +00:00
bz
2c125a1727 MFC rev. 1.115:
Remove unused code.
Found with:	Coverity Prevent(tm)
2006-01-27 21:37:56 +00:00
rees
89ed0515f6 MFC rev 1.23
Use nfs4_disconnect for connections opened with nfs4_connect.
2006-01-27 18:22:53 +00:00
rees
2e59d3c0e2 MFC rev 1.16
Use thread0 instead of user's thread for sobind.
This fixes reconnect after, for example, tcp idle disconnection.
Previously this would fail if a normal user tried to bind to a privileged
port.
2006-01-27 18:22:11 +00:00
ambrisko
0b790dfa8f MFC: When the RAID firmware returns a failure, don't hard error the result. 2006-01-27 17:41:37 +00:00
ambrisko
6e40038792 Regen 2006-01-27 17:17:23 +00:00
ambrisko
926a2f80b7 MFC: 32bit lutimes 2006-01-27 17:17:05 +00:00
harti
aab4200093 MFC the HOSTRES-MIB. This is exactly the same version as in HEAD except for
a slightly different mechanism to load geom_md (g_me) which was renamed at
some point. This has been tested on RELENG_6 by erwin and glebius.

Reviewed by:	erwin, glebius
2006-01-27 16:27:34 +00:00
brueffer
f63159780d MFC: rev. 1.53, 1.60, 1.61
- hw.ata.wc can cause data loss on crashes too.  This brings the
  description of the hw.ata.wc in sync with tuning(7)
- Via VT8251 support.
- Support for Marvell chipsets.
2006-01-27 15:58:01 +00:00
brueffer
da09b67cd1 MFC: rev. 1.5 - 1.8
- SiS read/write support.
- Intel MatrixRAID write support.
- VIA Tech V-RAID write support.
2006-01-27 15:55:07 +00:00
cperciva
a1101f1dce MFC rev. 1.8:
Correctly identify the host and port values on a failed
  getaddrinfo lookup.
2006-01-27 14:44:15 +00:00