summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use geom attribute "PART::type" to determine partition type and chooseae2014-11-201-29/+25
| | | | | | relevant fsck_xxx utility. MFC after: 1 week
* Spell out "Windows" - no need to censor it in a man pageemaste2014-11-201-1/+1
|
* MFp4: @179066rodrigc2014-11-202-0/+503
| | | | | | | | Add page which describes VNET network stack virtualization infrastructure. Submitted by: bz Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH
* Set the current vnet inside the ioctl handler for ipfilter.rodrigc2014-11-201-0/+11
| | | | | | | | | | | | | | | Without this fix, the vnet was NULL and would crash. This fix is similar to what was done inside the ioctl handler for PF. Tested by: (1) Boot a kernel with "options VIMAGE" enabled (2) Type: echo "map lo0 from 10.0.0.0/24 to ! 10.0.0.0/24 -> 127.0.0.1/32" > /etc/ipnat.rules ; service ipnat onerestart PR: 176992 Differential Revision: https://reviews.freebsd.org/D1191 Reviewed by: cy
* cpudep_ap_early_bootstrap() takes no arguments, so no need to give it one.jhibbits2014-11-202-2/+0
| | | | MFC after: 3 weeks
* Uniformly refer to a file system as "file system".trasz2014-11-201-3/+3
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Add example on how to use gpart before growfs. While here, reorder examplestrasz2014-11-201-6/+6
| | | | | | | so that the simplest one comes first. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* * Add a random deviceadrian2014-11-201-1/+2
| | | | | * Use the same rootdev path as MALTA, so the same emulator setups can be used with minimal fuss.
* Include a random device.adrian2014-11-201-0/+1
|
* Document growfs(8) feature apparently nobody knows about.trasz2014-11-201-0/+3
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Use proper ordering in EXAMPLES section in growfs(8).trasz2014-11-201-5/+4
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* I agree w/ tedu that this isn't a Bug.. it's like complaining thatjmg2014-11-201-18/+2
| | | | | | you can't use an ssh client to fetch a web page... Submitted by: tedu (via -tech)
* Use db_printsym() instead of our own in backtracesjhibbits2014-11-201-21/+4
| | | | | | | | | | | | | | | | | | | | | | | | Summary: Currently if there are problems finding a symbol, backtrace ends up printing something like: 0xdeadbeef: at +0x12345 Which is pretty useless. This on its own should be fixed (retrieving symbols), but aside from that, using db_printsym() is a better solution anyway. If it can't find a valid symbol it prints the actual address, and it has the added benefit that if it can find the symbol, it might be able to print the file and line as well. Test Plan: Tested on my G4 PowerBook Reviewers: #powerpc, nwhitehorn Reviewed By: nwhitehorn Differential Revision: https://reviews.freebsd.org/D1173 MFC after: 3 weeks
* Add support for Power Button PMU events on non-ADB macs, such as aluminumjhibbits2014-11-202-4/+5
| | | | | | | PowerBooks. MFC after: 2 weeks Relnotes: yes
* Replace the pw(1) calls with a variable, to make it easier to to change ↵brd2014-11-194-32/+35
| | | | | | across all the tests as needed. Reviewed by: will
* cxgbe(4): figure out the max payload size and save it for later.np2014-11-192-0/+3
| | | | MFC after: 1 week
* Make the auto_master(5) man page clearer on how auto_mastertrasz2014-11-191-5/+23
| | | | | | | | | and map files work together, and add example for smbfs. Differential Revision: https://reviews.freebsd.org/D1184 Reviewed by: wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Remove acl_size.c; apparently it was never used.trasz2014-11-191-43/+0
| | | | | | | PR: 194398 Submitted by: ngie@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* The number of BSD partitions is variable. Return the proper numberimp2014-11-191-1/+1
| | | | | | (which is in basetable->gpt_entries). Submitted by: ae@
* Fix improper .Fx macro usage.trasz2014-11-192-10/+20
| | | | | | | Differential Revision: https://reviews.freebsd.org/D1158 Reviewed by: wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Use __func__ in KASSERTs, since the code is about to be moved to other place.glebius2014-11-191-6/+3
| | | | Sponsored by: Nginx, Inc.
* In vnode_pager_generic_getpages() vp->v_mount is dereferenced in theglebius2014-11-191-4/+2
| | | | | | beginning, thus can't be NULL. Sponsored by: Nginx, Inc.
* Add BERI-specific virtio mmio "platform" device.br2014-11-192-0/+262
| | | | | | | This device provides a connector to Altera PIO allowing us to interrupt software-implemented virtio mmio backend. Sponsored by: DARPA, AFRL
* Do not allocate zero-length mbuf in sosend_generic().glebius2014-11-191-1/+1
| | | | | Found by: pho Sponsored by: Nginx, Inc.
* Stop using early_putc immediately after configuring console with cninit()zbb2014-11-191-0/+7
| | | | | | | | | | | | Early UART should be released right after system console initialization is completed. Otherwise, after cninit() both early and system console coexist what may lead to various issues (i.a. writing to unmapped early UART address). This cannot be done in cninit_finish() since it can be called late at the end of MI configuration. Obtained from: Semihalf Reviewed by: andrew Sponsored by: The FreeBSD Foundation
* Expose groups by default in ifconfig output. This was never hidden byfeld2014-11-191-3/+2
| | | | | | | | | | | | | OpenBSD; unsure why we chose to do so. As groups are a requirement for pf, exposing them by default will make our pf implementation less confusing. While here add a missing free() that OpenBSD fixed 7 years ago. PR: 194925 Differential Revision: https://reviews.freebsd.org/D1185 Approved by: des Obtained from: OpenBSD
* pf(4) needs to have a correct checksum during its processing.eri2014-11-191-6/+6
| | | | | | | | | | | | Calculate checksums for the IPv6 path when needed before delving into pf(4) code as required. PR: 172648, 179392 Reviewed by: glebius@ Approved by: gnn@ Obtained from: pfSense MFC after: 1 week Sponsored by: Netgate
* Fix build without INVARIANTS, broken by r274675.mav2014-11-192-5/+4
|
* Revert r274635 as it's completely wrong.dchagin2014-11-191-1/+3
| | | | | The parent of a pci dev device is a pciX device which do not implement the PCIB_POWER_FOR_SLEEP method from pcib_if.m.
* Fix typo.trasz2014-11-191-1/+1
| | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Fix the following -Werror warning from clang 3.5.0, while buildingdim2014-11-191-12/+11
| | | | | | | | | | | | | | | | | | | lib/libngatm: sys/contrib/ngatm/netnatm/saal/saal_sscop.c:4030:32: error: 'break' is bound to current loop, GCC binds it to the enclosing loop [-Werror,-Wgcc-compat] } while(sn < sscop->vr_h && !QFIND(&sscop->rbuf, sn)); ^ sys/contrib/ngatm/netnatm/saal/saal_sscop.c:173:4: note: expanded from macro 'QFIND' break; \ ^ 1 error generated. The idea is to remove any ambiguity by replacing the macro with an equivalent static inline function. Reviewed by: emaste, rpaulo See also: http://reviews.llvm.org/D2518 Differential Revision: https://reviews.freebsd.org/D1188
* Fix the following -Werror warning from clang 3.5.0, while building ↵dim2014-11-191-0/+2
| | | | | | | | | | | | | | | | | | | | | cddl/lib/libctf: In file included from cddl/contrib/opensolaris/common/ctf/ctf_create.c:31: In file included from sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h:34: sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h:334:9: warning: '_ILP32' macro redefined [-Wmacro-redefined] #define _ILP32 ^ <built-in>:26:9: note: previous definition is here #define _ILP32 1 ^ 1 warning generated. This is because clang 3.5.0 started predefining _ILP32 and __ILP32__ for the i386 arch. (Earlier versions already predefined _LP64 and __LP64__ for the x86_64 arch.) Reviewed by: emaste, avg, smh, delphij, markj Differential Revision: https://reviews.freebsd.org/D1187
* Add Trendnet TEW-646UBH.kevlo2014-11-193-1/+4
| | | | Submitted by: bolshakov_1 at yahoo dot com
* Make vfs.zfs.max_recordsize read-write at runtime.delphij2014-11-181-1/+1
| | | | MFC after: 2 weeks
* Add locking to wds(4) and mark MPSAFE.jhb2014-11-181-90/+84
| | | | | | | | | - Add per-softc mutex. - Use mutex for CAM SIM lock. - Use bus_*() instead of inb() and outb(). - Use bus_alloc_resource_any() when reasonable. Tested by: no one
* Add locking to scd(4) and mark MPSAFE.jhb2014-11-183-74/+86
| | | | | | | | | | - Actually use existing per-softc mutex. - Use mutex in cdev routines and remove D_NEEDGIANT. - Use callout(9) instead of timeout(9). - Don't check for impossible conditions (e.g. SCDINIT being clear). - Use bus_*() instead of bus_space_*(). Tested by: no one
* Cleanups to pst(4):jhb2014-11-182-19/+21
| | | | | | | | - Use callout(9) instead of timeout(9). - Don't bother zero'ing the softc. - Destroy mutex on detach. Tested by: no one
* Add locking to mly(4) and mark MPSAFE.jhb2014-11-182-101/+131
| | | | | | | | | | - Add a per-softc mutex. - Use mutex as CAM sim lock. - Use taskqueue_thread instead of taskqueue_swi_giant. - Use callout(9) instead of timeout(9). - Use bus_*() instead of bus_space_*(). Tested by: no one
* Add locking to mcd(4) and mark MPSAFE.jhb2014-11-183-70/+117
| | | | | | | | | | | - Actually use existing per-softc mutex. - Use mutex in cdev routines and remove D_NEEDGIANT. - Use callout(9) instead of timeout(9). - Don't check for impossible conditions (e.g. MCDINIT being clear). - Remove critical_enter/exit when sending a PIO command. - Use bus_*() instead of bus_space_*(). Tested by: no one
* Convert the refire_notify_ack timer from timeout(9) to callout(9).jhb2014-11-182-7/+12
| | | | Tested by: no one
* Add a tunable for spa_slop_shift which controls how much space wedelphij2014-11-181-0/+3
| | | | | | would reserve by default. Tuning is not recommended. MFC after: 2 weeks
* Allow tuning zfs_max_recordsize via loader tunable. Tuning is NOTdelphij2014-11-181-0/+5
| | | | | | | recommended. Requested by: Slawa Olhovchenkov <slw zxy spb ru> MFC after: 2 weeks
* Upgrade libxo to 0.1.6.marcel2014-11-185-32/+57
| | | | | | | Summary of changes: 1. Coverity defect fixes Obtained from: https://github.com/Juniper/libxo/releases/tag/0.1.6
* Make gpio_default_map_gpios() static. No functional changes.loos2014-11-181-3/+1
|
* Moves all the duplicate code to a single function.loos2014-11-1816-140/+38
| | | | | Verify for invalid modes and unwanted flags before pass the new flags to driver.
* These delays aren't needed. Elimate them. They should be on the orderimp2014-11-181-2/+0
| | | | | | | of a few cycles at most, not 10us. They make it impossible to implement half-duplex protocols that are faster than about 1KHz. Sponsored by: Netflix
* opt_global.h is included automatically in the build. No need toimp2014-11-1817-30/+0
| | | | | | explicitly include it in these places. Sponsored by: Netflix
* No need to list opt_global.h. No need to force ALTQ here, since that'simp2014-11-181-3/+0
| | | | | | not the normal default for the system and nothing else forces it on. Sponsored by: Netflix
* opt_global.h is never needed in SRCS lists.imp2014-11-181-1/+1
| | | | Sponsored by: Netflix
* Document WITHOUT_USB_EXAMPLES and WITHOUT_TESTS_SUPPORTimp2014-11-182-0/+4
| | | | Sponsored by: Netflix
OpenPOWER on IntegriCloud