summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Limit applying TX data corruption and FIFO workaround to BCM5719yongari2012-10-081-2/+2
| | | | A0. It's believed BCM5720 does not have the issue.
* Fix typo. Check against number of allocated MSI-X vectors.yongari2012-10-081-1/+1
| | | | | | | There is no ale(4) controller that supports MSI-X so this is not real issue. PR: kern/171825
* Migrate the TID TXQ accesses to a new set of macros, rather than reusingadrian2012-10-073-34/+55
| | | | | | | | | | the ATH_TXQ_* macros. * Introduce the new macros; * rename the TID queue and TID filtered frame queue so the compiler tells me I'm using the wrong macro. These should correspond 1:1 to the existing code.
* Loop reading the RTC registers until the same values are obtainedimp2012-10-071-3/+14
| | | | | | twice, as advised in the atmel docs. Submitted by: Ian Lapore
* Remove contractions.joel2012-10-076-6/+6
|
* Minor mdoc fixes.joel2012-10-073-3/+3
|
* Make graid command line a bit more friendly by allowing volume name ormav2012-10-074-12/+83
| | | | | | | | | | provider name to be specified instead of geom name (first argument in all subcommands except label). In most cases there is only one array used any way, so it is not really useful to make user type ugly geom names like Intel-f0bdf223 or SiI-732c2b9448cf. Though they can be used in some cases. Sponsored by: iXsystems, Inc. MFC after: 1 month
* Optimize the TLB invalidations performed by pmap_protect(). Use the newalc2012-10-071-20/+41
| | | | | | range-based invalidation function instead of performing per-page invalidations. Don't bother invalidating mappings that don't have PTE_D set, since they don't allow write access.
* Fix the showconfig target. bmake sends debug output to stderr.marcel2012-10-071-1/+1
| | | | Submitted by: Simon Garrety <sjg@juniper.net>
* Fix 32-bit library builds after the removal of adding -E to make for AS,marcel2012-10-071-11/+17
| | | | | | | | CC, CXX and LD. This fix implements the intended as it should have been implemented all along: by passing AS, CC, CXX and LD on the commandline of the sub-make instead of in the environment of the sub-make. Breakage pointed-out by: dim@
* Comment and Copyright fixes/updates.dteske2012-10-072-14/+6
| | | | | Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Improve a few comments.imp2012-10-071-6/+11
|
* Use the RTC unit to get the time. This works on all known AT91SAM9*imp2012-10-072-25/+136
| | | | | | | | | processors, either on reboot or after power down with battery backup. However, the AT91RM9200 RTC always resets on reboot making it just about useless at the moment (if we support a low-power mode or an extended sleep mode, it might become useful). Submitted by: Ian Lepore
* ata_da: set disk::d_ident from serial numberavg2012-10-061-0/+2
| | | | MFC after: 10 days
* procstat_getprocs: honor kvm_getprocs interface - cnt is signedavg2012-10-061-2/+5
| | | | MFC after: 10 days
* kvm_getprocs: gracefully handle errors from kvm_deadprocsavg2012-10-061-2/+8
| | | | | | and don't confuse callers with incorrect return value MFC after: 9 days
* kvm_proclist: ignore processes in larvae stateavg2012-10-061-0/+2
| | | | | Reviewed by: jhb MFC after: 8 days
* add detection of serial console presence to btx and boot2-like blocksavg2012-10-066-20/+35
| | | | | | | | Note that this commit slightly increases size of boot blocks. Reviewed by: jhb Tested by: Olivier Cochard-Labbe <olivier@cochard.me> MFC after: 26 days
* i386 comconsole: don't loop forever if hardware doesn't respondavg2012-10-061-14/+22
| | | | | | | | | | | - clear capability flags when hw timeouts - retire comc_started status variable and directly use c_flags to see if comconsole is selected for use Reviewed by: jhb Tested by: Uffe Jakobsen <uffe@uffe.org>, Olivier Cochard-Labbe <olivier@cochard.me> MFC after: 26 days
* boot/console: handle consoles that fail to probeavg2012-10-062-10/+17
| | | | | | | | | | | | | | - clarify meaning of console flags - perform i/o via a console only if both of the following conditions are met: o console is active (selected by user or config) o console flags that it can perform the operation - warn if a chosen console can not work (the warning may go nowhere without working and active console, though) Reviewed by: jhb Tested by: Uffe Jakobsen <uffe@uffe.org>, Olivier Cochard-Labbe' <olivier@cochard.me> MFC after: 26 days
* Add support for bmake. This includes:marcel2012-10-0616-19/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net>
* zvol: set mediasize in geom provider right upon its creationavg2012-10-061-0/+12
| | | | | | | | | | ... instead of deferring the action until first open. Unlike upstream this has no benefit on FreeBSD. We know that as soon as the provider is created it is going to be tasted and thus opened. Initial mediasize of zero causes tasting failure and subsequent retasting because of the size change. MFC after: 14 days
* g_part_taste: directly destroy consumer and geom here, no need for witheringavg2012-10-061-2/+7
| | | | | | | Besides withered but still alive consumers may interfere with re-tatsing. MFC after: 16 days
* cngetc: use cpu_spinwait to ease the cncheckc loop a tiny bitavg2012-10-061-1/+1
| | | | | Reviewed by: julian MFC after: 10 days
* zfsboot: simplify probe_drive() a little bitavg2012-10-061-27/+13
| | | | | | | | | | | The first discovered pool, whether it covers the whole boot disk or not, is going to be first in zfs_pools list. So there is no need at all for spapp parameter. This commit also fixes a bug where NULL would be assigned to NULL pointer when probe_drive was called with the spapp parameter of NULL. MFC after: 21 days
* zfs boot: export boot/primary pool and vdev guid all the way to kenvavg2012-10-064-2/+50
| | | | | | | This is work in progress to for znextboot and it also provides some convenient infrastructure. MFC after: 20 days
* zfs loader: treat plain pool name as a name of its root datasetavg2012-10-061-14/+10
| | | | | | | ... as opposed to the previous behavior of treating it as boot dataset (specified by bootfs or default) MFC after: 19 days
* zfs boot spa_status: print bootfs for each reported poolavg2012-10-061-0/+11
| | | | MFC after: 9 days
* boot/zfs: a small whitespace cleanupavg2012-10-061-2/+2
| | | | MFC after: 5 days
* boot/zfs: call zfs_spa_init for all found poolsavg2012-10-062-16/+22
| | | | | | | ... and drop those for which it fails. Also, add more sanity checking to the function. MFC after: 16 days
* zfsboot: use the same zfs dataset naming format as loaderavg2012-10-061-32/+53
| | | | | | | Also, pool name alone now names a root dataset of the pool regardless of bootfs property value. MFC after: 15 days
* In general pmap implementations do not set the wired attribute onalc2012-10-061-7/+5
| | | | | | the temporary mappings that are used to implement operations like pmap_zero_page(). There is no reason for the MIPS pmap to deviate from that practice.
* zfs_mount: taste geom providers for root pool configavg2012-10-064-35/+306
| | | | | | | | | | | | | | This should allow to mount a dataset as a root filesystem even if it belongs to a pool that is not described in zpool.cache. This adds some overhead to the boot process though. If the root filesystem's pool is found in zpool.cache, the by default its cached configuration will be used for import. vfs.zfs.rootpool.prefer_cached_config could be set to zero to force the config to be retasted. Discussed with: gibbs, pjd, des MFC after: 25 days
* Update to include WITH_BMAKE.marcel2012-10-061-2/+11
|
* zfs boot: add lszfs command to i386 loaderavg2012-10-061-0/+23
| | | | | | | ... to list child datasets of a specified dataset. Dataset name should be provided in poolname/dsname format. MFC after: 17 days
* zfs boot: add code for listing child datasets of a given datasetavg2012-10-063-4/+68
| | | | | | | | | - only filesystem datasets are supported - children names are printed to stdout To do: allow to iterate over the list and fetch names programatically MFC after: 17 days
* zfs boot: chose a "first" pool if none is explicitly requestedavg2012-10-061-2/+8
| | | | MFC after: 8 days
* ktrace/kern_exec: check p_tracecred instead of p_credavg2012-10-061-1/+2
| | | | | | | | | .. when deciding whether to continue tracing across suid/sgid exec. Otherwise if root ktrace-d an unprivileged process and the processed exec-ed a suid program, then tracing didn't continue across exec. Reviewed by: bde, kib MFC after: 22 days
* make: report :M or :N pattern in debug modeavg2012-10-061-0/+1
| | | | MFC after: 12 days
* Add bmake to the build and allow it to be installed as make(1) insteadmarcel2012-10-067-0/+655
| | | | | | | | of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time. Submitted by: Simon Gerraty (sjg@juniper.net)
* Correct two pessimizations in pmap_extract_and_hold(). Test the PTE foralc2012-10-061-11/+12
| | | | | | | having PTE_RO set instead of PTE_D. This avoids some unnecessary failures by pmap_extract_and_hold() that will have to be handled by a call to vm_fault_hold(). Testing the PTE for both being non-zero and having PTE_V set is redundant. The latter suffices.
* Fix "make install"kientzle2012-10-061-1/+1
| | | | | Also make arm the same as other platforms: Install man pages for all CPUs in the family.
* A step in resolving mess with byte ordering for AF_INET. After this change:glebius2012-10-0611-144/+80
| | | | | | | | | | | | | | | | | | | - All packets in NETISR_IP queue are in net byte order. - ip_input() is entered in net byte order and converts packet to host byte order right _after_ processing pfil(9) hooks. - ip_output() is entered in host byte order and converts packet to net byte order right _before_ processing pfil(9) hooks. - ip_fragment() accepts and emits packet in net byte order. - ip_forward(), ip_mloopback() use host byte order (untouched actually). - ip_fastforward() no longer modifies packet at all (except ip_ttl). - Swapping of byte order there and back removed from the following modules: pf(4), ipfw(4), enc(4), if_bridge(4). - Swapping of byte order added to ipfilter(4), based on __FreeBSD_version - __FreeBSD_version bumped. - pfil(9) manual page updated. Reviewed by: ray, luigi, eri, melifaro Tested by: glebius (LE), ray (BE)
* The pfil(9) layer guarantees us presence of the protocol header,glebius2012-10-061-14/+0
| | | | | | so remove extra check, that is always false. P.S. Also, goto there lead to unlocking a not locked rwlock.
* mdoc: begin sentences on a new line.joel2012-10-061-10/+20
|
* Minor mdoc fix.joel2012-10-061-1/+1
|
* Remove trailing whitespace.joel2012-10-061-1/+1
|
* MFV: tcpdump 4.3.0.delphij2012-10-0530-372/+1142
|\ | | | | | | MFC after: 4 weeks
| * Vendor import of tcpdump 4.3.0.delphij2012-10-0441-3698/+1424
| |
* | MFV: libpcap 1.3.0.delphij2012-10-0527-6917/+3951
|\ \ | | | | | | | | | MFC after: 4 weeks
OpenPOWER on IntegriCloud