summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - add myself to the calendar (jgh)jgh2012-01-011-0/+1
| | | | Approved by: crees (mentor)
* This particular work around isn't required any longer, now that theadrian2011-12-311-4/+0
| | | | | | 11n radio backends are also added into the RF linker set. This saves around 7k from the kernel binary.
* - struct clocktime sets different ranges for DOW and monthgonzo2011-12-311-10/+17
| | | | | | | comparing to struct timeval. for clocktime they should be 1..7 and 1..12 respectively - CAPK-0100ND uses RTC without centruy bit (DS1307) so set it 21st
* Upgrade libcompiler_rt to upstream revision 147390.ed2011-12-31150-897/+886
|\ | | | | | | | | | | | | | | | | This version of libcompiler_rt adds support for __mulo[sdt]i4(), which computes a multiply and its overflow flag. There are also a lot of cleanup fixes to headers that don't really affect us. Updating to this revision should make it a bit easier to contribute changes back to the LLVM developers.
| * Import compiler-rt r147390.ed2011-12-31267-675/+14520
| |
* | Remove a declaration to a non-existent function.bz2011-12-311-1/+0
| | | | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* | Oops - this was referencing a local file, which I've done away with.adrian2011-12-311-1/+1
| |
* | Fix header pollution, possibly unbreaking the build of cfi_bus_ixp4xx.cmarius2011-12-313-1/+6
| | | | | | | | as part of cfi.ko.
* | Make the comment in i386/include/ucontext.h identical to the one inkib2011-12-311-3/+4
| | | | | | | | | | | | | | amd64/include/ucontext.h. The later is better worded. Requested by: deischen MFC after: 3 days
* | Add missing change to XHCI driver similar to changes in r228483.hselasky2011-12-312-19/+20
| | | | | | | | MFC after: 0 days
* | Default to not performing the early-boot memory tests when we detect wegavin2011-12-312-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are booting inside a VM. There are three reasons to disable this: o It causes the VM host to believe that all the tested pages or RAM are in use. This in turn may force the host to page out pages of RAM belonging to other VMs, or otherwise cause problems with fair resource sharing on the VM cluster. o It adds significant time to the boot process (around 1 second/Gig in testing) o It is unnecessary - the host should have already verified that the memory is functional etc. Note that this simply changes the default when in a VM - it can still be overridden using the hw.memtest.tests tunable. MFC after: 4 weeks
* | In sys/dev/hwpmc/hwpmc_amd.c, fix a clang warning about invalid enumdim2011-12-311-3/+1
| | | | | | | | | | | | | | conversions. Reviewed by: jkoshy MFC after: 1 week
* | Fix typos in command descriptions.stefanf2011-12-311-2/+2
| |
* | Revert r228986 until it can be reworked to avoid panicing the kernel when thelstewart2011-12-313-258/+118
| | | | | | | | | | | | | | same interface is attached multiple times with different DLTs, as is done in net80211 for example. Reported by: adrian
* | - Pass proper endpoint number (without direction flag) togonzo2011-12-311-1/+1
| | | | | | | | cvmx_usb_open_pipe
* | - Properly clean state structure in cvmx_usb_initializegonzo2011-12-311-1/+1
| |
* | - CAPK-0100 board's USB timer is 12MHzgonzo2011-12-311-0/+3
| |
* | Happy 2012 to FreeBSD users in Samoa.obrien2011-12-312-3/+3
| |
* | Use in-label sectorsize to determine position of the label whensobomax2011-12-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | writing label into a file image. The most common use - putting disklabel into ISO file. Before this change the label would always go to the offset 512, while geom_part code expects it to be in the 1st sector (i.e. 2048 incase of ISO). BSD disklabels provide good and lightweight way to logically split livecds. It is non-intrusive as far as ISO9660 goes (both boot-wise and metadata-wise) and completely transparent to anything but BSD, so you can have BSD-specific area appended after regular ISO. And with a little bit of GEOM trickery you can do even more interesting stuff with it. For example we make "hybrid" bootable CDs using this method. We create bootable ISO with kernel and such and append UFS image compressed with UZIP and it works like a charm. We put label based on the offsef of the BSD part into the ISO. The kernel boots off normal ISO9660 part, tastes label attaches it, tastes UZIP, attaches it and finally mounts UFS using GEOM_LABEL. This provides much better way of eliminating waste than doing "crunched" build. MFC after: 1 month
* | Add header required by cfi_bus_fdt.c.marius2011-12-301-2/+2
| |
* | Add some additional const poison after r228972. The 'mapping' array indim2011-12-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | lib/libc/gen/strtofflags.c became const, but gcc did not warn about assigning its members to non-const pointers. Clang warned about this with: lib/libc/gen/strtofflags.c:98:12: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types] for (sp = mapping[i].invert ? mapping[i].name : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reviewed by: jilles
* | Merge r216333 and r216555 from the native pmapalc2011-12-301-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When r207410 eliminated the acquisition and release of the page queues lock from pmap_extract_and_hold(), it didn't take into account that pmap_pte_quick() sometimes requires the page queues lock to be held. This change reimplements pmap_extract_and_hold() such that it no longer uses pmap_pte_quick(), and thus never requires the page queues lock. Merge r177525 from the native pmap Prevent the overflow in the calculation of the next page directory. The overflow causes the wraparound with consequent corruption of the (almost) whole address space mapping. Strictly speaking, r177525 is not required by the Xen pmap because the hypervisor steals the uppermost region of the normal kernel address space. I am nonetheless merging it in order to reduce the number of unnecessary differences between the native and Xen pmap implementations. Tested by: sbruno
* | In sys/compat/ndis/subr_ntoskrnl.c, change the RtlFillMemory functiondim2011-12-301-4/+1
| | | | | | | | | | | | | | | | definition from K&R to ANSI, to avoid a clang warning about the uint8_t parameter being promoted to int, which is not compatible with the type declared in the earlier prototype. MFC after: 1 week
* | style(9), whitespace and spelling nits.glebius2011-12-301-104/+78
| |
* | Set svn:executable on dhclient-scriptdumbbell2011-12-301-0/+0
| | | | | | | | Sponsored by: Yakaz (http://www.yakaz.com)
* | Adapt testsuite following change in Domain Search error handlingdumbbell2011-12-301-1/+5
| | | | | | | | | | | | | | In this testsuite, warning() and error() have the same behaviour. PR: bin/163431 Sponsored by: Yakaz (http://www.yakaz.com)
* | Invalid Domain Search option isn't considered as a fatal errordumbbell2011-12-301-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | In the original Domain Search option patch, an invalid option value would cause the whole lease to be rejected. However, DHCP servers who emit such an invalid value are more common than I thought. With this new patch, just the option is rejected, not the entire lease. PR: bin/163431 Submitted by: Fabian Keil <fk@fabiankeil.de> (earlier version) Reviewed by: Fabian Keil <fk@fabiankeil.de> Sponsored by: Yakaz (http://www.yakaz.com)
* | Disable several instances instances of clang's -Wself-assign warning.dim2011-12-305-17/+38
| | | | | | | | | | | | | | | | | | | | | | All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove -Wno-missing-prototypes from the xfs module Makefile, as I could not reproduce those warnings either with gcc or clang. MFC after: 1 week
* | Spelling fixes for share/uqs2011-12-302-20/+20
| |
* | Spelling fixes for usr.bin/uqs2011-12-3049-90/+94
| |
* | Reencode files from latin1 to UTF-8.uqs2011-12-3013-13/+13
| | | | | | | | | | | | | | This makes a tiny percentage of entries in calendars ugly for latin1 users, but fixes them for UTF-8 users. This badly needs a solution involving locale-dependent re-encoding.
* | Spelling fixes for usr.sbin/uqs2011-12-30113-219/+210
| |
* | Fix typo in Makefile comment.rwatson2011-12-301-1/+1
| | | | | | | | MFC after: 3 days
* | Add a configuration file for the Atheros PB47 reference board.adrian2011-12-302-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an AR71xx based board with 8MB flash, 64MB RAM, a Mini-PCI+ slot (see below) and a single 10/100/1000baseT ethernet port. It also has two USB ports. This is an easier board than most to add as it doesn't have a switch PHY on-board. This made it (mostly) trivial to craft a working configuration. Things to note: * This, like most other reference boards, use uboot rather then redboot. It means that you typically have to manually flash both the kernel and rootfs partitions. * Since there's currently no (nice) way to extract out the ethernet MAC and RAM from the uboot environment, the RAM will default to 32mb and the MAC will be something very incorrect. I'll try to fix this up in a subsequent commit or two, even if it's just some hard-coded nonsense in ar71xx_machdep.c for now. * The board is designed for a specific model of mini-PCI+ NIC which never made it into production. Normal mini-PCI NICs will work fine; if you happen to have the NIC in question then it will work fine with this board.
* | Add a couple of missing wlan modules.adrian2011-12-301-1/+1
| |
* | - Introduce the net.bpf.tscfg sysctl tree and associated code so as to make onelstewart2011-12-303-118/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aspect of time stamp configuration per interface rather than per BPF descriptor. Prior to this, the order in which BPF devices were opened and the per descriptor time stamp configuration settings could cause non-deterministic and unintended behaviour with respect to time stamping. With the new scheme, a BPF attached interface's tscfg sysctl entry can be set to "default", "none", "fast", "normal" or "external". Setting "default" means use the system default option (set with the net.bpf.tscfg.default sysctl), "none" means do not generate time stamps for tapped packets, "fast" means generate time stamps for tapped packets using a hz granularity system clock read, "normal" means generate time stamps for tapped packets using a full timecounter granularity system clock read and "external" (currently unimplemented) means use the time stamp provided with the packet from an underlying source. - Utilise the recently introduced sysclock_getsnapshot() and sysclock_snap2bintime() KPIs to ensure the system clock is only read once per packet, regardless of the number of BPF descriptors and time stamp formats requested. Use the per BPF attached interface time stamp configuration to control if sysclock_getsnapshot() is called and whether the system clock read is fast or normal. The per BPF descriptor time stamp configuration is then used to control how the system clock snapshot is converted to a bintime by sysclock_snap2bintime(). - Remove all FAST related BPF descriptor flag variants. Performing a "fast" read of the system clock is now controlled per BPF attached interface using the net.bpf.tscfg sysctl tree. - Update the bpf.4 man page. Committed on behalf of Julien Ridoux and Darryl Veitch from the University of Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward Clock Synchronization Algorithms" project. For more information, see http://www.synclab.org/radclock/ In collaboration with: Julien Ridoux (jridoux at unimelb edu au)
* | Unset the environment variables associated with individual menu itemspluknet2011-12-303-18/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before invoking the kernel. Quoting submitter: The issue is with the new boot loader menu. It adds many loader variables including ones that contain ANSI color escapes. Obviously, these ANSI codes don't play well with serial consoles when kenv(1) is executed without arguments (reports vary as to what happens, but it's never pretty). The net-effect is that kenv(1) no longer reports menu-related variables. In essence, kenv(1) output should now appear the same as on RELENG_8 (which lacks the new boot loader and didn't use any such variables). Thus, restoring serial console glory. Submitted by: Devin Teske <devin dott teske fisglobal.com> MFC after: 2 weeks
* | DEBUG is a kernel option. Don't define it here, as it breaks LINT.marcel2011-12-303-9/+0
| | | | | | | | | | Since DEBUG was subsequently undefined, this is just debugging left- over.
* | Actually set the baudrate from the FDT.marcel2011-12-301-1/+1
| |
* | Remove trailing white-space.marcel2011-12-301-4/+4
| |
* | Add a module for cfi(4). Build only for arm and powerpc, as there aremarcel2011-12-302-0/+25
| | | | | | | | only bus attachments only for these.
* | Reapply r228785 now it has been tested by Adrian. Also add commentsdim2011-12-302-6/+28
| | | | | | | | | | | | | | | | with the old AR_SCR_SLE_XXX values, with a short explanation why they were changed. Reviewed by: adrian MFC after: 1 week
* | In sys/dev/drm/radeon_state.c, use the correct printf length modifiersdim2011-12-301-1/+1
| | | | | | | | | | | | for ints. MFC after: 1 week
* | For several files in sys/dev/drm, disable -Wunused-value when buildingdim2011-12-305-4/+20
| | | | | | | | | | | | | | | | | | with clang. There are several macros in these files that return values, and in some cases nothing is done with them, but it is completely harmless. For some other files, also disable -Wconstant-conversion, since that triggers a false positive with the DMA_BIT_MASK() macro. MFC after: 1 week
* | Extend <stdatomic.h> to support GCC 4.7's __atomic.ed2011-12-301-7/+41
| | | | | | | | | | | | | | | | | | The development version of GCC also supports an atomics interface similar to Clang's. Change the header file to work as follows: - __CLANG_ATOMICS: Use Clang's new atomics interface, - __GNUC_ATOMICS: Use GCC's new atomics interface, - else: fall back to GCC's __sync interface.
* | Reencode files to UTF-8. Drop CP1252 em-dash.uqs2011-12-3015-18/+18
| |
* | Spelling fixes for tools/uqs2011-12-3031-40/+43
| | | | | | | | Add some $FreeBSD$ tags so svn will allow the commit.
* | Set fbsd:nokeywords for contributed sources.uqs2011-12-300-0/+0
| |
* | Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernelrwatson2011-12-296-0/+12
| | | | | | | | | | | | | | | | | | | | configurations for various architectures in FreeBSD 10.x. This allows basic Capsicum functionality to be used in the default FreeBSD configuration on non-embedded architectures; process descriptors are not yet enabled by default. MFC after: 3 months Sponsored by: Google, Inc
* | libc: Eliminate some relative relocations in file flags table.jilles2011-12-291-23/+23
| |
OpenPOWER on IntegriCloud