Commit Graph

159565 Commits

Author SHA1 Message Date
imp
258a09a63f MFC r202019:
Add INCLUDE_CONFIG_FILE in GENERIC on all non-embedded platforms.
  # This is the resolution of removing it from DEFAULTS...
2010-01-18 00:53:21 +00:00
rmacklem
6664dedb01 MFC: r201442
The test for "same client" for the experimental nfs server over NFSv4
was broken w.r.t. byte range lock conflicts when it was the same client
and the request used the open_to_lock_owner4 case, since lckstp->ls_clp
was not set. This patch fixes it by using "clp" instead of "lckstp->ls_clp".
2010-01-17 20:49:34 +00:00
rmacklem
e602edd38f MFC: r201439
Fix three related problems in the experimental nfs client when
checking for conflicts w.r.t. byte range locks for NFSv4.
1 - Return 0 instead of EACCES when a conflict is found, for F_GETLK.
2 - Check for "same file" when checking for a conflict.
3 - Don't check for a conflict for the F_UNLCK case.
2010-01-17 20:18:59 +00:00
thompsa
1032a67e83 Hook up uhso to the build. 2010-01-17 18:37:36 +00:00
thompsa
f83fb199be MFC r202054
Add the Globetrotter GE40x.
2010-01-17 18:36:22 +00:00
thompsa
157e589ec5 MFC r201766
Remove unneeded includes.
2010-01-17 18:33:47 +00:00
thompsa
a3614a5ee5 MFC r201714
Fix debug printf on 64bit arches.
2010-01-17 18:33:05 +00:00
thompsa
a1b75a1090 MFC r201701
Add new umass quirks for Western Digital MYBook and JMicron JM20337.

PR:		usb/142225, usb/142228
Submitted by:	Thomas Ward, Yoshikazu GOTO
2010-01-17 18:32:20 +00:00
thompsa
ca751d39d7 MFC r201681
Improve u3g device ejecting by providing additional methods for the eject
 command in the usb_msctest routines, as well as a general tidyup.
2010-01-17 18:31:27 +00:00
thompsa
547df8d19d MFC r201680
scratch_size was incorrectly passed as language ID when retrieving the language
 ID table, this broke string retrieval on some devices.

Submitted by:	Hans Petter Selasky
Reported by:	Renato Botelho
2010-01-17 18:30:37 +00:00
thompsa
e19d4b666c MFC r201318
Add new device ID to uipaq driver

PR:		usb/141936
Submitted by:	HASHI Hiroaki
2010-01-17 18:29:30 +00:00
thompsa
828edc278b MFC r202026
Print error messages to stderr.
2010-01-17 18:27:53 +00:00
thompsa
789f1d904d MFC r201922
Add missing library dependency.
2010-01-17 18:27:13 +00:00
thompsa
b9f7b6d00d MFC r201705
Sync to p4
  - Add new quirks commands and the '-d' option optionally to specify the ugen device.
2010-01-17 18:26:21 +00:00
thompsa
f803d28ff4 MFC r202025
Reset variable fields in case the transfer is opened again
2010-01-17 18:24:40 +00:00
thompsa
2e685ed5b8 MFC r202181,202243,202270
Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ
 from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than
 using PPP over serial. uhsoctl(1) is used to initiate and close the WAN
 connection.

Obtained from:	Fredrik Lindberg <fli@shapeshifter.se>
2010-01-17 18:22:42 +00:00
tuexen
5ba78971f3 MFC 201523
Correct usage of parenthesis.
2010-01-17 18:18:01 +00:00
brueffer
99024f046d MFC: r197056 by des
Fix comment about KERNFAST.

PR:             142854
Submitted by:   Nikolay Denev <ndenev@gmail.com>
2010-01-17 18:17:00 +00:00
tuexen
0721deafdc MFC 199459
Get rid of unused fields addr_over which is never really used,
only copied around.
2010-01-17 17:49:28 +00:00
tuexen
8eee5c648b MFC 199374
Fix a bug where queued ASCONF messags are not sent out.
From Irene Ruengeler.
2010-01-17 17:46:48 +00:00
tuexen
471dd0ec6c MFC 198621
Improve round robin stream scheduler and cleanup some code.
2010-01-17 17:45:09 +00:00
tuexen
e12efde27f MFC 197341
Fix errnos.
2010-01-17 17:41:43 +00:00
brueffer
6ebbadd626 MFC: r201870, r201889
Various language fixes.  Also fixed the URL to totd, obtained from NetBSD.
2010-01-17 17:31:53 +00:00
tuexen
f8a6001d6b MFC 198499
Improve the round robin stream scheduler.
2010-01-17 17:10:17 +00:00
tuexen
6413ec6589 MFC 199437
Use always LIST_EMPTY instead of sometime SCTP_LIST_EMPTY,
which is defined as LIST_EMPTY.
2010-01-17 17:05:59 +00:00
tuexen
17740b42f2 MFC 199372
Do not start the iterator when there are no associations.
This fixes a bug found by Irene Ruengeler.
2010-01-17 17:03:40 +00:00
tuexen
58d68fbdfb MFC 199369
Do not hold the lock longer than necessary.
2010-01-17 17:01:01 +00:00
tuexen
a38d8d15fb MFC 198522:
Bugfix: Use formula from section 7.2.3 of RFC 4960. Reported by Martin Becke.
2010-01-17 16:58:37 +00:00
bz
43c4cb0d73 MFC r201806:
Switch traceroute over to make use of proper in-kernel source
  address selection.

  Reviewed by:  rwatson, fenner
  PR:           kern/139454
  Tested by:    Frank Steinborn (steinex nognu.de)

MFC r201897:
  Correct spelling.

  Submitted by: (pluknet gmail.com)
2010-01-17 15:20:34 +00:00
bz
fffaed5993 MFC r202116:
Adjust a comment to reflect reality, as we have proper source
  address selection, even for IPv4, since r183571.

  Pointed out by:	Jase Thew (bazerka beardz.net)
2010-01-17 13:42:07 +00:00
bz
45a5518b3a MFC r201995:
Correct a typo.
2010-01-17 13:38:11 +00:00
bz
b95d07a398 MFC r201898:
Add comments trying to explain what bad things happen here, i.e.
  how hashed MD5/SHA are implemented, abusing Final() for padding and
  sw_octx to transport the key from the beginning to the end.

  Enlightened about what was going on here by: cperciva
  Reviewed by:  cperciva
2010-01-17 13:36:13 +00:00
bz
1b449b8a1d MFC r201742:
After adding an SDT provider for opencrypto in r199884 we should also
  depend on opt_kdtrace.h for the module build.

  Submitted by: (Andre.Albsmeier siemens.com)
2010-01-17 13:28:06 +00:00
bz
02d2858a32 MFC r201688:
Correct a typo.

  Submitted by: sn_ (sn_ gmx.net) on hackers@
2010-01-17 13:23:53 +00:00
gavin
d6a771ac98 Merge r197308 from head (originally by ed):
Spell Israel correctly.

PR:		bin/138580
Submitted by:	Alexey Savartsov <asavartsov gmail com>
Approved by:	ed (mentor, implicit)
2010-01-17 11:20:53 +00:00
gavin
a18c44a1c8 Merge r201440, r201445 from head:
Don't complain when we encounter the "cache" source, it's valid.  Also fix
  the error message to include a line feed and not include a stray comma.

  Submitted by: Artis Caune  artis.caune gmail.com

  While here, change "> /dev/stderr" for more usual ">&2"

  Submitted by: jilles

PR:		bin/121671
Approved by:	ed (mentor, implicit)
2010-01-17 11:10:24 +00:00
gavin
0bd93a7ab7 Merge r201429:
Fix return code in the case of successful file transfer, broken in
  tftp.c 1.13

PR:		bin/117452
Submitted by:	Spencer Minear  minear securecomputing.com
Approved by:	ed (mentor, implicit)
2010-01-17 10:58:59 +00:00
iwasaki
f05781a9ad MFC r201605: Update acpi_ibm syctl nodes on resume. 2010-01-17 06:24:09 +00:00
gavin
ed8fa368b1 MFC r200587:
ifconfig(8) is documented to take a ISO 3166-1 country code to set the
  regulatory domain with the "country" parameter, but will also take a full
  country name.  The man page warns that only the ISO code is unambiguous.
  In reality, however, the first match on either would be accepted, leading
  to "DE" being interpreted as the "DEBUG" country rather than Germany, and
  "MO" selecting Morocco rather than the correct country, Macau.

  Fix this by always checking for an ISO CC match first, and only search on
  the full country name if that fails.

PR:		bin/140571
Tested by:	Dirk Meyer dirk.meyer dinoex.sub.org
Reviewed by:	sam
Approved by:	ed (mentor, implicit)
2010-01-16 15:00:35 +00:00
marius
57812555d5 MFC: r201899
Some style(9) fixes
2010-01-16 12:18:44 +00:00
marius
2d9b4bb0bf MFC: r201896
As nfsm_srvmtofh_xx() assumes the 4-byte alignment required by XDR
ensure the mbuf data is aligned accordingly by calling nfs_realign()
in fha_extract_info(). This fix is orthogonal to the problem solved
by r199274/r199284 (MFC'ed to stable/8 in r199733).

PR:		142102 (second part)
2010-01-16 12:16:38 +00:00
brueffer
fef4da674f MFC: r201888
bridge(4) acts like a switch, not like a hub.
2010-01-16 09:17:33 +00:00
mav
fdc6e01a94 Partially revert r202428. There is no bus_describe_intr() on RELENG_8. 2010-01-16 07:55:46 +00:00
marcel
fe8b7d2ddc MFC rev 201941:
Remove file system support based on the simple file system protocol.

MFC rev 201966:
Remove debugging printf().
2010-01-16 04:34:03 +00:00
marcel
4780cb8a56 MFC rev 201937:
Implement the fo_readdir method.
2010-01-16 04:24:10 +00:00
mav
4f6e5678b5 MFC r202011:
While AHCI specification tells that multi-vector MSI doesn't use global IS
register, nVidia chipsets have different oppinion, requiring every interrupt
to be acknowledged there.

While there, add interrupt descriptions in multi-vector MSI mode.
2010-01-15 23:58:37 +00:00
mav
ab38c9b08c MFC r201645:
Change the way in which zero stripesize is handled. Instead of reporting
zero stripeoffset in such case (as if device has no stripes), report offset
from the beginning of the media (as if device has single infinite stripe).

This gives partitioning tools information, required to guess better
partition alignment, in case if hardware doesn't report it's stripe size.
For example, it should give disklabel info about odd offset made by fdisk.
2010-01-15 23:56:19 +00:00
mav
ed69005fbb MFC r201658:
Increase default block size from 4K to 64K. It was reduces 6 yeard ago,
when trees were big and FAST mode was enabled by default.

So small block size doesn't benefits linear I/O operations in FAST and
significantly slowdowns in ECONOMIC (default) mode. For single stream random
I/Os so small block doesn't give much benefits, as access time is usually
bigger then transfer time there. Same time it requires all heads to seek
together for every single request, reducing performance on parallel load.
2010-01-15 23:52:31 +00:00
kib
aa96e9a5bc MFC r201890:
Set md_ldt after md_ldt_sd is populated.
2010-01-15 22:19:51 +00:00
marius
e4ae9f8481 MFC: r201052, r201200, r202003, r202010, r202023
Add a driver for the `Fire' JBus to PCIe bridges found in at least
the Sun Fire V215/V245 and Sun Ultra 25/45 machines. This driver also
already includes all the code to support the `Oberon' Uranus to PCIe
bridges found in the Fujitsu-Siemens based Mx000 machines but due to
lack of access to such a system for testing, probing of these bridges
is currently disabled.
Unfortunately, the event queue mechanism of these bridges for MSIs/
MSI-Xs matches our current MD and MI interrupt frameworks like square
pegs fit into round holes so for now we are generous and use one event
queue per MSI, which limits us to 35 MSIs/MSI-Xs per Host-PCIe-bridge
(we use one event queue for the PCIe error messages). This seems
tolerable as long as most devices just use one MSI/MSI-X anyway.
Adding knowledge about MSIs/MSI-Xs to the MD interrupt code should
allow us to decouple the 1:1 mapping at the cost of no longer being
able to bind MSIs/MSI-Xs to specific CPUs as we currently have no
reliable way to quiesce a device during the transition of its MSIs/
MSI-Xs to another event queue. This would still require the problem
of interrupt storms generated by devices which have no one-shot
behavior or can't/don't mask interrupts while the filter/handler is
executed (like the older PCIe NICs supported by bge(4)) to be solved
though.
2010-01-15 21:45:46 +00:00