summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Assert that the page passed to vm_page_putfake() is unmanaged.kib2012-05-121-0/+1
| | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* sparc64/zfs boot: take advantage of new libzfsboot capabilitiesavg2012-05-128-156/+55
| | | | | | | Also drop the now unneeded compatibility shims. Tested by: marius MFC after: 1 month
* Minor mdoc nits.joel2012-05-122-4/+4
|
* Assert that fictitious or unmanaged pages do not appear onkib2012-05-121-0/+9
| | | | | | | | active/inactive lists. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* zfs boot code: use %j and uintmax_t instead %ll and uint64_t in printfsavg2012-05-122-11/+13
| | | | | | | This is to silence warnings that result from different definitions of uint64_t on different architectures, specifically i386 and sparc64. MFC after: 1 month
* Provide in the association change notification the received ABORT chunktuexen2012-05-1210-135/+107
| | | | | | if case of SCTP_COMM_LOST or SCTP_CANT_STR_ASSOC as required by RFC 6458. MFC after: 3 days
* Commit the change forgotten in r235356.kib2012-05-121-1/+1
| | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* Set formatting width and offset in DB_COMMAND(9).gjb2012-05-121-1/+1
|
* Fix an mdoc(7) nit.gjb2012-05-121-1/+1
|
* Make the vm_page_array_size long. Remove redundand zero initializationkib2012-05-121-4/+4
| | | | | | | | for vm_page_array_size and nearby variablees. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* Remove end of line whitespace.joel2012-05-126-10/+10
|
* Minor mdoc nit.joel2012-05-121-1/+1
|
* Remove duplicate config bits.adrian2012-05-121-4/+0
| | | | Submitted by: juli
* Add glue/support for the SAM9XE512-based Ethernut 5 boards. Currently,marius2012-05-125-0/+364
| | | | | | | | all integrated and on-board peripherals except the DataFlash (at91_spi(4) and at45d(4) still need to be unb0rken) and NAND Flash (missing NAND framework) are working. AFAICT, this makes FreeBSD the first operating system besides Nut/OS supporting Ethernut 5 out of tree.
* Docuement requirement to alter some sysctls when using igb(4) withgjb2012-05-121-1/+9
| | | | | | | | | jumbo frames. PR: 153738 Submitted by: Tom Judge (tom!tomjudge.com) Discussed with: jfv (in part, a long time ago...) MFC after: 1 week
* Revert this - I disabled it whilst hwpmc is/was broken.adrian2012-05-121-1/+1
|
* Flip on WN1043ND switch PHY support.adrian2012-05-123-5/+35
| | | | | | | | * Add the i2c bitbang bus; * Add the etherswitch/rtl8366rb drivers; * "fix" the USB GPIO configuration so USB actually works. Submitted by: Stefan Bethke <stb@lassitu.de>
* mdoc: use Po and Pc macros instead of parens. Also avoid starting a linejoel2012-05-122-6/+8
| | | | with Ns.
* add a zfs spa_t change missed in r235329avg2012-05-121-1/+1
| | | | | | | | sys/cddl/boot is obviously not under sys/boot... Pointed out by: Jan Beich <jbeich@tormail.org> Pointyhat to: avg MFC after: 1 month
* Regenerate src.conf(5) for mdoc(7) and typo corrections.gjb2012-05-125-15/+11
| | | | | | PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Remove tab from kernel configuration option. This is consistent with the restjoel2012-05-121-1/+1
| | | | of our manual pages.
* Add opt_wlan.h includes, so IEEE80211_* configuration changes areadrian2012-05-125-0/+6
| | | | | | correctly picked up. Noticed by: Justin Hibbits, whilst debugging @ BSDCan
* General mdoc(7) and typo fixes.gjb2012-05-1213-42/+48
| | | | | | PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* mdoc: remove redundant paragraph macro.joel2012-05-121-1/+0
|
* mdoc: remove redundant Pp and end a display block with Ed.joel2012-05-121-1/+1
|
* Convert the if_vr(4) driver model to the interrupt filter model and userpaulo2012-05-122-12/+32
| | | | | | | | | | | | | | | | | a taskqueue. This gives a 16% performance improvement under high load on slow systems, especially when vr shares an interrupt with another device, which is common with the Alix x86 boards. Contrary to the other devices, I left the interrupt processing for loop in because there was no significant difference in performance and this should avoid enqueuing more taskqueues unnecessarily. We also decided to move the vr_start_locked() call inside the for loop because we found out that it helps performance since TCP ACKs now have a chance to go out quicker. Reviewed by: yongari (older version, same idea) Discussed with: yongari, jhb
* Add two functions xpt_batch_start() and xpt_batch_done() to the CAM SIM KPImav2012-05-127-1/+32
| | | | | | | | | to allow drivers to handle request completion directly without passing them to the CAM SWI thread removing extra context switch. Modify all ATA/SATA drivers to use them. Reviewed by: gibbs, ken MFC after: 2 weeks
* PR# 165923 reported intermittent write failures for dirtyrmacklem2012-05-128-2/+50
| | | | | | | | | | | | | | | | | | | memory mapped pages being written back on an NFS mount. Since any thread can call VOP_PUTPAGES() to write back a dirty page, the credentials of that thread may not have write access to the file on an NFS server. (Often the uid is 0, which may be mapped to "nobody" in the NFS server.) Although there is no completely correct fix for this (NFS servers check access on every write RPC instead of at open/mmap time), this patch avoids the common cases by holding onto a credential that recently opened the file for writing and uses that credential for the write RPCs being done by VOP_PUTPAGES() for both NFS clients. Tested by: Joel Ray Holveck (joelh at juniper.net) PR: kern/165923 Reviewed by: kib MFC after: 2 weeks
* Add more obsolete files.antoine2012-05-121-0/+24
|
* zfs boot: try to set vfs.root.mountfrom from currdev as a fallbackavg2012-05-121-2/+16
| | | | | | | | | | This way with the new zfsloader there is no need to explicitly set zfs root filesystem either via vfs.root.mountfrom or fstab. It should be automatically picked up from currdev which is by default is set from bootfs. Tested by: Florian Wagner <florian@wagner-flo.net> (x86) MFC after: 1 month
* zfsboot/zfsloader: support accessing filesystems within a poolavg2012-05-1212-187/+784
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In zfs loader zfs device name format now is "zfs:pool/fs", fully qualified file path is "zfs:pool/fs:/path/to/file" loader allows accessing files from various pools and filesystems as well as changing currdev to a different pool/filesystem. zfsboot accepts kernel/loader name in a format pool:fs:path/to/file or, as before, pool:path/to/file; in the latter case a default filesystem is used (pool root or bootfs). zfsboot passes guids of the selected pool and dataset to zfsloader to be used as its defaults. zfs support should be architecture independent and is provided in a separate library, but architectures wishing to use this zfs support still have to provide some glue code and their devdesc should be compatible with zfs_devdesc. arch_zfs_probe method is used to discover all disk devices that may be part of ZFS pool(s). libi386 unconditionally includes zfs support, but some zfs-specific functions are stubbed out as weak symbols. The strong definitions are provided in libzfsboot. This change mean that the size of i386_devspec becomes larger to match zfs_devspec. Backward-compatibility shims are provided for recently added sparc64 zfs boot support. Currently that architecture still works the old way and does not support the new features. TODO: - clear up pool root filesystem vs pool bootfs filesystem distinction - update sparc64 support - set vfs.root.mountfrom based on currdev (for zfs) Mid-future TODO: - loader sub-menu for selecting alternative boot environment Distant future TODO: - support accessing snapshots, using a snapshot as readonly root Reviewed by: marius (sparc64), Gavin Mu <gavin.mu@gmail.com> (sparc64) Tested by: Florian Wagner <florian@wagner-flo.net> (x86), marius (sparc64) No objections: fs@, hackers@ MFC after: 1 month
* mdoc: end list context with El.joel2012-05-121-0/+1
|
* mdoc: list items should be specified with the It macro.joel2012-05-121-2/+2
|
* * Remove the AR7240 register defines and reuse the AR8x16 defines.adrian2012-05-122-8/+5
| | | | | | | * Include a new register define to represent "disable port mirroring to CPU port". Obtained from: Patrick Kelsey <kelsey@ieee.org>
* Now that there's a hint for it, add a "I'm an AR7240 switch!" hint.adrian2012-05-121-3/+2
|
* Further arswitch work:adrian2012-05-125-1/+207
| | | | | | | | | | | | | | | | | | | | | | * Add in the AR724x support. It probes the same as an AR8216/AR8316, so just add in a hint to force the probe success rather than auto-detecting it. * Add in the missing entries from conf/files, lacking in the previous commit. The register values and CPU port / mirror port initialisation value was obtained from Linux OpenWRT ag71xx_ar7240.c. The DELAY(1000) to let things settle is my local workaround. For some reason, PHY4 doesn't seem to probe very reliably without it. It's quite possible that we're missing some MDIO bus initialisation code in if_arge for the AR724x case. As I dislike DELAY() workarounds in general, it's definitely worth trying to figure out why this is the case. Tested on: AP93 (AR7240) reference design Obtained from: Linux OpenWRT
* Import jemalloc 3.0.0. This fixes memory zeroing bugs that manifested asjasone2012-05-128-103/+123
| | | | | jemalloc assertion failures for debug builds, or as calloc() sometimes returning non-zeroed memory for production builds.
* Pointy hat to sleep deprived committer.sbruno2012-05-121-2/+2
| | | | | | | | Use a *real* variable type instead of one I made up. Background Music: Queen -- Bicycle Race Reviewed by: BSDCAN 2012 Hacker Lounge Audience
* Add in the AP93 configuration file.adrian2012-05-122-0/+335
| | | | | | | | | | | | | | | | | | | The AP93 has: * AR7240 - mips24k processor with integrated 10/100 switch and various other peripherals; * AR9283 - 2x2 2.4GHz 802.11n (with calibration data in flash); * 64MB RAM; * 16MB SPI flash. The switch code detects as an AR8216 at the present moment, which isn't _entirely_ strictly true. However, the MII/MDIO routing in AP93.hints works - the arge0 MAC connects to PHY4 in the switch, but via the switch internal MDIO bus. The switch connects to arge0's MDIO bus, but only to export the switch registers. Thanks to stb and ray for the switch work, and ray for helping determine what the correct switch hints should be for this thing.
* Remove duplicate words in mdoc(7) pages.gjb2012-05-1212-14/+14
| | | | | | | PR: 167810 Submitted by: Bryan Drewery {bryan!shatow%net} (hackers lounge) Found with: textproc/igor MFC after: 3 days
* Fix inappropriate data type for two bus_dmamap_t variables that were causingsbruno2012-05-122-5/+4
| | | | | | | | | PAE to insta-panic on startup. Remove one unused variable that was commented out. Reviewed by: ambrisko@ Obtained from: jhb@ peter@ bz@ and countless others during BSDCAN MFC after: 3 days
* General mdoc(7) and typo fixes.gjb2012-05-1261-107/+119
| | | | | | PR: 167776 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* I forgot to bump the manpage date.mdf2012-05-121-1/+1
| | | | | | Reminded by: Garrett Cooper MFC after: 3 days X-MFC-with: r235297
* Bump .Ddgjb2012-05-121-1/+1
|
* Revert previous revision, misunderstood the code :(delphij2012-05-111-1/+0
|
* Release proc lock after setting signal queue.delphij2012-05-111-0/+1
| | | | | | PR: kern/167727 Submitted by: Jinjun Gao <gjinjun gmail com> MFC after: 2 weeks
* Add a -v and -N option to kenv(1), so it can be more easily used inmdf2012-05-112-9/+35
| | | | | | | | | | | scripts the way sysctl(8) is. The -N option, like in sysctl(8), displays only the kenv names, not their values. The -v option prints an individual kenv variable name with its value as name="value". This is the inverse of sysctl(8)'s -n flag, since the default behaviour of kenv(1) is already like sysctl(8) -n. Submitted by: Garrett Cooper < yanegomi AT gmail DOT com > MFC after: 1 week
* Fix .Pp macro.joel2012-05-111-1/+1
|
* Fix the case where the utility is being used to run a command directly,delphij2012-05-111-3/+6
| | | | | | | | this is a regression introduced with r228917. PR: bin/154042 Submitted by: Bugs Beastie <bugsbeastie gmail.com> MFC after: 1 week
* Add pointers for how to setup debugging over firewire.imp2012-05-111-0/+8
|
OpenPOWER on IntegriCloud