Commit Graph

151643 Commits

Author SHA1 Message Date
John Baldwin
b58dad48ea MFC 207335:
Initialize the callout structure earlier in attach before calling any
routines that can fail since ciss_free() always tries to stop and drain
the callout.
2010-05-19 19:43:49 +00:00
Alexander Motin
4567e8334a MFC r207536, r207696, r208183:
Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers
driver for CAM ATA subsystem. This driver supports same hardware as
atamarvell, ataadaptec and atamvsata drivers from ata(4), but provides
many additional features, such as NCQ, PMP, etc.
2010-05-19 14:50:07 +00:00
Andriy Gapon
86ffeaa182 MFC r207360: periodically save system time to hardware time-of-day clock 2010-05-19 10:34:15 +00:00
Andriy Gapon
e5f5b37212 MFC r207359,207362: kern_ntptime: abstract time error check into a
function
2010-05-19 10:15:37 +00:00
Konstantin Belousov
3c5636cdf1 MFC r207958:
Route all returns from the interrupts and faults through the doreti_iret
labeled iretq instruction.

MFC r208026:
Do not use .extern.
2010-05-19 09:32:59 +00:00
Konstantin Belousov
c89c4842bc MFC r207957:
Remove unneeded overrides of the segment registers.
2010-05-19 09:30:41 +00:00
Martin Matuska
bf7a7e9b29 MFC r207670, r208130, r208131:
MFC r207670:
Introduce hardforce export option (-F) for "zpool export".
When exporting with this flag, zpool.cache remains untouched.
OpenSolaris onnv revision: 8211:32722be6ad3b

MFC r208130:
Fix perfomance problem with ZFS prefetch caching [1]
Add statistics for ZFS prefetch (sysctl kstat.zfs.misc.zfetchstats)
OpenSolaris onnv revision: 10474:0e96dd3b905a (partial)

MFC r208131:
Fix deadlock between zfs_dirent_lock and zfs_rmdir
OpenSolaris onnv revision: 11321:506b7043a14c

Reported by:	jhell@dataix.net (private e-mail) [1]
Approved by:	pjd, delphij (mentor)
Obtained from:	OpenSolaris (Bug ID: 6775357, 6859997, 6868951, 6847615)
2010-05-19 06:49:52 +00:00
Rebecca Cran
9c6a66a45b MFC r207005:
Make the "Q = Finish" text visible when running sysinstall as a normal
application.  Reword the boot manager screen to try and avoid confusion.

Approved by:	rrs (mentor)
2010-05-18 18:20:11 +00:00
Rebecca Cran
f11fc95604 MFC r207006:
Remove the reference to DD mode, and replace "Wizard" mode with "Expert" mode.
Also, make sure the "Q = Finish" text is visible.
Reword the boot manager screen to try and avoid confusion, and make the
order of the menu items match that in sysinstall.

PR:		bin/142916
Submitted by:	Jeremy Chadwick <freebsd at jdc.parodius.com>
Approved by:    rrs (mentor)
2010-05-18 18:19:06 +00:00
Bernhard Schmidt
a6d4f1ab38 MFC r207926:
Enable 5.5 and 11Mbit TX rates.

Reviewed by:	sam
Approved by:	rpaulo (mentor)
2010-05-18 17:43:53 +00:00
Marius Strobl
e1cb7a6617 MFC: r208098
Document the led(4) interface to the identification LEDs.
2010-05-18 17:15:40 +00:00
Marius Strobl
ed6b099ba7 MFC: r208117
Fix a mismerge in r206001 (MFC'ed to stable/8 in r206211).

PR:		146614
Approved by:	jfv (implicit)
2010-05-18 17:09:20 +00:00
Marius Strobl
78c1f0d3c8 MFC: r205254, r208097
- Add quirk handling for Sun Fire V1280. The firmware of these machines
  provides no ino-bitmap properties so forge them using the default set
  of controller interrupts and let schizo_setup_intr() take care of the
  children, hoping for non-fancy routing.
- Enable DMA write parity error interrupts on Schizo with a working
  implementation.
- Let schizo_pci_bus() only panic in case of fatal errors as the interrupt
  triggered by the error the firmware of Sun Fire V890 as well as 280R
  with version 7 Schizo caused may happen as late as using the HBA and not
  only prior to touching the PCI bus (in the former case the actual error
  still is fatal but we clear it before touching the PCI bus).
  While at it count and export non-fatal error interrupts via sysctl(9).
- Remove unnecessary locking from schizo_ue().
2010-05-18 17:02:24 +00:00
Kai Wang
73f68b3d41 MFC r205728
Merge improvements from kernel HID parser to the userland usbhid(3)
  parser.  This merge does not change any API and should not break any
  native or thirdparty applications.

  Changes include:

  * Merge multiple report ID support and other improvements from kernel
    HID parser.
  * Ignore rid argument in hid_start_parser, parse all the report items since
    we now support multiple report ID.
  * Skip report ID byte in hid_get_data() and set report ID byte in
    hid_set_data(), if report ID is non-zero.
  * Reimplement hid_get_report_id: instead get report id from uhid device
    (which is always 0), try parsing the report descriptor and return the
    first report ID encountered.

MFC r207812

  hid_get_data() now expects that the hid data passed in always contains
  the report ID byte. Thus we should not skip the the report ID byte in
  hid_interrupt().  Also, if HUP_KEYBOARD usage is an array, do not try
  to modify the 'data' pointer, instead, increase the hid_item_t field
  'pos' by 'report_size' before calling hid_get_data() during each
  iteration.
2010-05-18 10:32:20 +00:00
Attilio Rao
d5a628572d MFC r207922, r207925, r207929, r208052:
- Change the db_printf return value in order to catch up with printf
- Make witness_list_locks() and witness_display_spinlock() accept
  callbacks for printf-like functions in order to queue the output on the
  correct channel.
2010-05-18 10:24:23 +00:00
Martin Matuska
f56075cfb0 Bump __FreeBSD_version for liblzma addition.
Approved by:	delphij (mentor)
2010-05-18 10:02:45 +00:00
Martin Matuska
3829a73468 MFC r207842, r207844, r208099:
MFC r207842:
Import of liblzma, xz, xzdec, lzmainfo from vendor branch
Add support for xz and lzma to lesspipe.sh (xzless, lzless)

MFC r207844:
Add two public headers missing in r207842
Adjust CFLAGS for lzmainfo, xz, xzdec

MFC r208099:
Add versioned symbols to liblzma
Use default SHLIB_MAJOR.

Approved by:	delphij (mentor)
2010-05-18 09:59:09 +00:00
Martin Matuska
4458b5abfc MFC r207626, r207627:
MFC r207626:
Speed up ZFS list operation with objset prefetching.

MFC r207627:
Enable "zfs list" to list explicitly requested snapshots.

OpenSolaris onnv revisions:
8415:8809e849f63e, 10474:0e96dd3b905a (partial)

PR:		kern/146297
Approved by:	pjd, delphij (mentor)
Obtained from:	OpenSolaris (Bug ID 6386929, 6758338, 6755389, 6847118)
2010-05-18 07:45:27 +00:00
Bjoern A. Zeeb
7b6bd42ad1 MFC r208077:
Document the 'short preamble' capability for 802.11bg.

  Reviewed by:	sam
2010-05-18 04:21:50 +00:00
Bjoern A. Zeeb
f7eebc1c4e MFC r208100:
Fix an issue with the dynamic pcpu/vnet data allocators.

  We cannot expect that modspace is the last entry in the linker
  set and thus that modspace + possible extra space up to PAGE_SIZE
  would be contiguous.  For the moment do not support more than
  *_MODMIN space and ignore the extra space.

Discussed with:	jeff, rwatson (briefly)
Reviewed by:	jeff
Sponsored by:	The FreeBSD Foundation
Sponsored by:	CK Software GmbH
2010-05-18 04:20:35 +00:00
Andrew Thompson
574f062304 MFC r208023
Use fixed width integer types for parsing the binary hid data.
2010-05-18 03:16:02 +00:00
Doug Barton
fb7f7f92b8 MFC r208089:
Remove duplicate
2010-05-18 02:22:08 +00:00
Doug Barton
7ca82ab6a0 MFC r208088:
Hide the creation and population of the temproot
2010-05-18 02:17:40 +00:00
Martin Matuska
379e47715a MFC r204738, r205113 (imp):
MFC r204738:
Remove stale references to libkrb5.
Rejigger the SUBDIR setting a smidge: we now set all the libraries that depend
on something else, and then SUBDIR+= the rest.

MFC r205113:
Make this conform to the other top-level Makefile subdir listings with
one file per line.

Approved by:	delphij (mentor)
2010-05-18 00:46:15 +00:00
Xin LI
53e2ea7cf2 Adjust svn:mergeinfo for revision 204546. This commit moves mergeinfo to
lib/ and removes mergeinfo on individual file.
2010-05-18 00:37:32 +00:00
Xin LI
ac675f61fd MFC r207630
Remove if_ar, if_ray, if_sr, if_ppp, if_sl to reflect the current modules
available, they were removed due to NEEDSGIANT.

While I'm there, add if_et which was missed quite a while ago.
2010-05-18 00:32:02 +00:00
Andrew Thompson
be5dc99871 MFC r203773
Within libusb 0.1 API, bus number is always faked to 0. Device numbers,
 however, are possitive and seem to be reverse sorted in the list.

 Conform device numbering and bring a result that is consistent with the
 libusb 0.1 API.  It is now possible to distinguish a device based on its
 (bus, dev) numbers.
2010-05-17 23:59:14 +00:00
Andrew Thompson
1eeca0bf19 MFC r208012
Support getting signed and unsigned HID data.
2010-05-17 23:57:34 +00:00
Andrew Thompson
300902e282 MFC r208021
Fix return values for usb_find_busses() and usb_find_devices(). We should try
 to return the actual number of busses and devices.
2010-05-17 23:56:17 +00:00
Andrew Thompson
005044bdc0 MFC r208020
Fix header file compliancy with libusb 1.0 from sourceforge.
2010-05-17 23:55:23 +00:00
Andrew Thompson
642742e8e8 MFC r208048
Allow the USB_REQ_DEBUG to be enabled in the kernel conf.
2010-05-17 23:52:33 +00:00
Andrew Thompson
4e2a75d8af MFC r208019
Sync run(4) driver from author's site.
2010-05-17 23:51:57 +00:00
Andrew Thompson
0a22c89dd0 MFC r208018
Reduce diffs to p4.

  Add test code for delaying or failing usb control requests, disabled by
  default under ifdef USB_REQ_DEBUG.
2010-05-17 23:51:20 +00:00
Andrew Thompson
7ed2269651 MFC r208017
Fix possibly wrong bit masking.
2010-05-17 23:50:46 +00:00
Andrew Thompson
298c330015 MFC r208016
Add new FTDI USB device ID.
2010-05-17 23:50:10 +00:00
Andrew Thompson
4251e3198f MFC r208015
Increase the max ports to 12, 3G devices exist where the ppp endpoint is #9.
2010-05-17 23:49:31 +00:00
Andrew Thompson
6b264d7512 MFC r208014
Back out r203140 which was causing problems when the first and the last
 microframe slot was not in the smask. The problem was that the EHCI driver was
 then thinking that the transfer was immediately complete in some cases. Which
 could lead to freeze-like situations, which can be recovered by unplugging the
 USB device.
2010-05-17 23:48:51 +00:00
Andrew Thompson
f3619333d4 MFC r208013
Add missing ifdefs for usb power saving support.
2010-05-17 23:48:03 +00:00
Andrew Thompson
825c2e2677 MFC r208011
Add the ASUS MyPal A730W device id.
2010-05-17 23:47:24 +00:00
Andrew Thompson
948a9feb33 MFC r208010
Provide more information about the device location in the USB system.
2010-05-17 23:46:45 +00:00
Andrew Thompson
25e59d15b9 MFC r208009
Enable support for mouse panning wheels.
2010-05-17 23:46:08 +00:00
Andrew Thompson
51c097f122 MFC r208008
If a USB device is suspended and a USB set config request is issued when the
 USB enumeration lock is locked, then the USB stack fails to resume the device
 because locking the USB enumeration lock is part of the resume procedure. To
 solve this issue a new lock is introduced which only protects the suspend and
 resume callbacks, which can be dropped inside the usbd_do_request_flags()
 function, to allow suspend and resume during so-called enumeration operations.
2010-05-17 23:45:31 +00:00
Andrew Thompson
79e193fb18 MFC r208007
Staticise usb_ref_device and usb_unref_device.
2010-05-17 23:44:52 +00:00
Andrew Thompson
3bf0ccc8be MFC r208006
Add quirks for the Alcor SDCR_6362 Card Reader, Freecom HDD storage device and
 Samsung YP_U4 music player.

PR:		usb/145265, usb/146104
2010-05-17 23:44:18 +00:00
Andrew Thompson
7b77f44cdc MFC r207404
usb_controller.c requires opt_ddb.h
2010-05-17 23:43:41 +00:00
Andrew Thompson
199841d30c MFC r206638
Use the UIPROTO_BOOT_KEYBOARD #define from usb.h rather than a local
 (almost identically named) local #define.
2010-05-17 23:43:07 +00:00
Andrew Thompson
3e95f09e66 MFC r203148
Uuencode the rt2870 firmware into ascii like the other firmware blobs.
2010-05-17 23:41:06 +00:00
Edward Tomasz Napierala
44ba1ebbee MFC r208030:
Add missing check to prevent local users from panicing the kernel by trying
to set malformed ACL.
2010-05-17 17:56:27 +00:00
Pyun YongHyeon
cea772d1e7 MFC r207971:
Document undocumented tunables and sysctl variables.
  While here use actual string to specify width as well as using Cm
  to set command argument.
2010-05-17 17:17:57 +00:00
Pyun YongHyeon
3c1e6bc9ab MFC r207853:
Now sge(4) supports TCP segmentation offload (TSO).
2010-05-17 17:16:12 +00:00