summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC various moves of tools/regressions/ tests to the new infrastructure.jmmv2014-04-271024-781/+2686
| | | | | | | | | | | | | | | | - r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile missed in r263220. - r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. - r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout. - r263345 Expand tabs that sneaked in into spaces. - r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout. - r263348 Add Makefiles missed in r263346. - r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout. - r263388 Mark multi_test as requiring /usr/share/dict/words. - r263814 Fix path to the run.pl script to let these tests run. - r264742 Prevent building tests when bootstrapping make. This is 'make tinderbox' clean.
* MFC: r264832marius2014-04-263-41/+33
| | | | | | | - Sprinkle const and static as appropriate. - Convert the remainder of snd_hda(4) to take advantage of nitems(). - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* MFC r264794:gjb2014-04-266-2/+6
| | | | | | | | | | | Move xdev knobs from release/arm/release.sh and into an XDEV_FLAGS variable in ${KERNCONF}.conf file. Local changes: Fix XDEV_FLAGS for stable/10 branch, in particular, remove WITH_GCC_BOOTSTRAP=1 and add WITH_GNUCXX=1. Sponsored by: The FreeBSD Foundation
* MFC: r264831marius2014-04-262-1/+9
| | | | Add quirk to configure headphones redirection on Intel DH87RL boards.
* MFC: r260064marius2014-04-252-25/+17
| | | | | | | | | | - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - There's no need to keep track of resource IDs. - Quiesce the interrupt before actually detaching. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* MFC: r260063marius2014-04-252-22/+12
| | | | | | | | | | | - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - Use PCIR_BAR instead of a homegrown macro. - There's no need to keep track of resource IDs. - Quiesce the interrupt before actually detaching. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* MFC: r260061marius2014-04-251-44/+42
| | | | | | | | | | | | | | | | | - Add support for using MSI instead of INTx, controllable via the tunable hw.ral.msi_disable (defaulting to using MSI). - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - Use PCIR_BAR instead of a homegrown macro. - There's no need to keep track of resource IDs. - Release resources again in case attaching fails. - Quiesce the interrupt before detaching. - Sprinkle const. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. - Trim headers. - Nuke dupe $FreeBSD$.
* MFC: r260058marius2014-04-254-201/+49
| | | | | | | | | | | - Remove a redundant variable in mpt_pci_attach(). - #if 0 the currently unused paired port linking and unlinking of dual adapters. - Simplify MSI/MSI-X allocation and release. For a single one, we don't need to fiddle with the MSI/MSI-X count and pci_release_msi(9) is smart enough to just do nothing in case of INTx. - Canonicalize actions taken on attach failure and detach. - Remove the remainder of incomplete support for older FreeBSD versions.
* MFC: r260086marius2014-04-251-11/+1
| | | | | | - Probe with BUS_PROBE_DEFAULT instead of 0. - Remove clearing PCIM_CMD_INTxDIS; pci(4) will do that as appropriate since r189367.
* MFC: r260053marius2014-04-252-17/+17
| | | | | | | | | | - There's no need to keep track of resource IDs. - Simplify MSI allocation and release. For a single one, we don't need to fiddle with the MSI count and pci_release_msi(9) is smart enough to just do nothing in case of INTx. - Don't allocate MSI as RF_SHAREABLE. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* MFC: r260050, r261528marius2014-04-258-182/+272
| | | | | | | | | | | | | | - Switch to using the common MII bitbang'ing code instead of duplicating it. - Based on lessons learnt with dc(4) (see r185750), add bus space barriers to the MII bitbang read and write functions as well as to instances of page switching. - Add missing locking to ed_ifmedia_{upd,sts}(). - Canonicalize some messages. - Based on actual functionality, ED_TC5299J_MII_DIROUT should be rather named ED_TC5299J_MII_DIRIN. - Remove unused headers. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* MFC: r260045marius2014-04-251-18/+12
| | | | | | | - Simplify MSI allocation and release. For a single one, we don't need to fiddle with the MSI count and pci_release_msi(9) is smart enough to just do nothing in case of INTx. - Don't allocate MSI as RF_SHAREABLE.
* MFC: r260044marius2014-04-251-1/+3
| | | | | | Free the MSI again on detach if allocated. Arguably, this code would be better off living in aac_pci.c, but it doesn't seem worth creating a aac_pci_detach() and it's also not the first PCI-specific bit in aac.c
* MFC: r260041marius2014-04-252-3/+4
| | | | | | | | | | | Record the IEEE P1282 Rock Ridge version 1.12 POSIX File Serial Number, i. e. the POSIX:5.6.1 st_ino field, which can be used to detect hard links in the file system. This is also the default in mkisofs(8) and according to its man page, no system only being able to cope with Rock Ridge version 1.10 is known to exist. PR: 185138 Submitted by: Kurt Lidl
* MFC r264653:hselasky2014-04-252-0/+2
| | | | Add new USB quirk.
* MFC r258195+r264361:delphij2014-04-252-28/+107
| | | | nc from OpenBSD 5.5.
* MFC r264582:ae2014-04-241-3/+0
| | | | | | Remove unused variable. PR: 173521
* MFC: r264585brueffer2014-04-241-0/+1
| | | | | | Add a missing break in the TCP case. Reviewed by: bms
* MFC r264318:mav2014-04-241-17/+39
| | | | | | | | Fix wrong sizes used to access PD_Type and PD_State DDF metadata fields. This caused incorrect behavior of arrays with big-endian DDF metadata. Little-endian (like used by Adaptec controllers) should not be harmed. Add workaround should be enough to manage compatibility.
* MFC r263259bryanv2014-04-245-94/+732
| | | | | | | | | | | | | | Add Tx/Rx multiqueue support to vmx(4) As a prerequisite for multiple queues, the guest must have MSIX enabled. Unfortunately, to work around device passthrough bugs, FreeBSD disables MSIX when running as a VMWare guest due to the hw.pci.honor_msi_blacklist tunable; this tunable must be disabled for multiple queues. Also included is various minor changes from the projects/vmxnet branch. MFC r264865 Update the date that was missed in r263259
* MFC r264731:gjb2014-04-241-2/+2
| | | | | | urndis(4) will first appear in 9.3-RELEASE. Sponsored by: The FreeBSD Foundation
* MFC r264550:mav2014-04-231-0/+8
| | | | | | | | | | Fix VIRTUAL and PROF interval timers for short intervals, broken at r247903. Due to the way those timers are implemented, we can't handle very short intervals. In addition to that mentioned patch caused math overflows for short intervals. To avoid that round those intervals to 1 tick. PR: kern/187668
* MFC: r264422, r264471brueffer2014-04-231-1/+3
| | | | | | | | Set buf to NULL only when we don't allocate memory, and free buf unconditionally. Found with: Coverity Prevent(tm) Requested by: kib (r264471)
* MFC: r264507brueffer2014-04-231-1/+7
| | | | Mention Capsicum.
* MFC: r264482brueffer2014-04-231-1/+1
| | | | Re-indent break statement.
* MFC r264124:ae2014-04-233-84/+13
| | | | | | | | | | | | | | | Remove dead code. MFC r264125: Remove unused variable. MFC r264126: The check for local address spoofing lacks ifaddr locking. Remove these loops and use in_localip() and in6_localip() functions instead. MFC r264520: Remove _IP_VHL* macros and related ifdefs.
* MFC r264540:ae2014-04-231-1/+1
| | | | | | Set oif only for outgoing packets. PR: 188543
* MFC: r264460brueffer2014-04-231-0/+4
| | | | | | | | Document the xdev* targets. PR: 188519 Submitted by: Idwer Vollering <vidwer at gmail.com> Reviewed by: bapt
* MFC: r264489brueffer2014-04-231-0/+1
| | | | | | | Add a missing break in option parsing. CID: 1011452 Found with: Coverity Prevent(tm)
* MFC: r264479brueffer2014-04-231-1/+1
| | | | | | | Fix double fclose() in an error case. CID: 1006120 Found with: Coverity Prevent(tm)
* MFC: r264421brueffer2014-04-231-3/+7
| | | | | | | Free resources in error cases; re-indent a curly brace while here. CID: 1199366 Found with: Coverity Prevent(tm)
* MFC r262596:markj2014-04-232-1/+98
| | | | | | 4478 dtrace_dof_maxsize is far too small illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0
* MFC r264518, r264697, r264698, r264703:gjb2014-04-231-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r264518: Fix armv6 build failure: "armv6-freebsd-gcc: not found" r264697: When building the 'xdev' target when WITH_GCC=1 and WITHOUT_CLANG_IS_CC=1, it appears WITHOUT_CLANG=1 must also be set. While here, reorder the lines to put the WITH_* and WITHOUT_* entries on the same line. r264698: Fix EOL escape. r264703: Apply a slightly different color hammer to arm/release.sh: - gcc(1) fails to build usr.bin/dtc - lack of WITH_GNUCXX=1 causes cc1plus(1) calls to fail - u-boot fails to build with clang (hard-coded gcc(1) calls) Implement the proper incantation of WITH_/WITHOUT_ knobs to get arm snapshot builds working again. Since the cc(1) binary no longer needs to be cc(1) instead of clang(1), remove the chroot(8) post-install cc(1) overwrite. Sponsored by: The FreeBSD Foundation
* MFC: r264419brueffer2014-04-221-1/+0
| | | | | | | Avoid double close() of a file descriptor. CID: 1006089 Found with: Coverity Prevent(tm)
* MFC: r264418brueffer2014-04-221-1/+0
| | | | | | | Avoid double free in f_acl(). CID: 1018508 Found with: Coverity Prevent(tm)
* MFC: r264416brueffer2014-04-221-1/+1
| | | | | | | | Add a missing comma between error message definitions. CID: 1199266 Found with: Coverity Prevent(tm) MFC after: 1 week
* MFC: r264386brueffer2014-04-221-9/+10
| | | | Improve markup and remove contractions.
* MFC: r264384, r264415brueffer2014-04-221-18/+19
| | | | mdoc and language improvements.
* MFC: r264257, r264327, r264514marius2014-04-222-4/+66
| | | | | | | | | | Distinguish between the different variants and configurations of Sunix {MIO,SER}5xxxx chips instead of treating all of them as PUC_PORT_2S. Among others, this fixes the hang seen when trying to probe the none- existent second UART on an actually 1-port chip. Obtained from: NetBSD (BAR layouts) Sponsored by: Bally Wulff Games & Entertainment GmbH
* MFC r264293:yongari2014-04-221-2/+36
| | | | | | | | Add workaround for MCP61 Ethernet controller found on MSI K9 motherboard. PHY hardware used for the controller responded at all possible addresses which in turn resulted in having 32 PHYs for the controller. If driver detects "MSI K9N6PGM2-V2 (MS-7309)" motherboard, tell miibus(4) PHY is located at 0.
* MFC r264062:yongari2014-04-221-16/+14
| | | | | | | | | | Correct endianness handling in getting station address from EEPROM. While I'm here, remove aue_eeprom_getword() as its only usage is to read station address and make it more readable. This change is inspired by NetBSD. With this change, aue(4) should work on big endian architectures. PR: 188177
* MFC r264621emax2014-04-211-1/+1
| | | | | | | use correct (integer) type for the temperature sysctl Reviewed by: np, scottl Obtained from: Netflix
* MFC r264127sbruno2014-04-211-0/+15
| | | | | | | Add PCI-IDs for TBD Gen9 RAID controller HBAs from HP to ciss(4) Submitted by: Benesh, Scott <scott.benesh@hp.com> Sponsored by: Yahoo! Inc.
* MFC r264193:mav2014-04-211-0/+3
| | | | In addition to r264077, tell GEOM that we do support BIO_DELETE now.
* MFC r264077:mav2014-04-211-4/+70
| | | | | | | | Add BIO_DELETE support to ZVOL. It is an adapted merge from the vendor branch of: 701 UNMAP support for COMSTAR (in part related to ZFS) 2130 zvol DKIOCFREE uses nested DMU transactions
* MFC r264341:mav2014-04-211-0/+4
| | | | | | | | Create zvol devices on zfs clone. While big and shiny patch is not ready, it is better to have something. PR: kern/178999
* MFC r264191:mav2014-04-213-0/+33
| | | | | Report stripe size and offset of the backing device in READ CAPACITY (16) as physical sector size and offset.
* MFC r264364:ae2014-04-211-36/+29
| | | | | | Properly release the in6_multi lock. Sponsored by: Yandex LLC
* MFC r264481:kib2014-04-211-0/+43
| | | | | Add dwarf annotations to the amd64 _rtld_bind_start to allow debuggers to unwind around the calls from PLT to binder.
* MFC r264142:bdrewery2014-04-211-1/+2
| | | | Show error code when failing to destroy a mirror on delay
OpenPOWER on IntegriCloud