summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update base system libexpat to 2.1.0.delphij2013-02-2628-22534/+552
|\ | | | | | | MFC after: 3 days
| * Vendor import of expat 2.1.0 (trimmed).delphij2013-02-2626-22432/+532
| |
| * Apply a vendor fix (rev 1.165): Don't update next pointer since it coulddelphij2009-12-111-1/+0
| | | | | | | | | | | | | | confuse tokenizer. Obtained from: expat CVS Security: CVE-2009-3720
| * Correct a DoS issue when processing XML document with malformeddelphij2009-12-101-1/+1
| | | | | | | | | | | | | | UTF-8 sequences. Obtained from: expat CVS (revisions 1.14 and 1.15) Security: CVE-2009-3560
| * Flattern all tags and dist tree for expat.delphij2009-12-1062-0/+0
| |
* | cxgbe(4): Ask the card's firmware to pad up tiny CPLs by encapsulatingnp2013-02-265-6/+67
| | | | | | | | | | | | | | them in a firmware message if it is able to do so. This works out better for one of the FIFOs in the chip. MFC after: 5 days
* | cxgbe(4): Update firmware to 1.8.4.0.np2013-02-267-7699/+8384
| | | | | | | | MFC after: 5 days
* | Part #2 of the TX chainmask changes:adrian2013-02-254-53/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove ar5416UpdateChainmasks(); * Remove the TX chainmask override code from the ar5416 TX descriptor setup routines; * Write a driver method to calculate the current chainmask based on the operating mode and update the driver state; * Call the HAL chainmask method before calling ath_hal_reset(); * Use the currently configured chainmask in the TX descriptors rather than the hardware TX chainmasks. Tested: * AR5416, STA/AP mode - legacy and 11n modes
* | Begin adding support to explicitly set the current chainmask.adrian2013-02-2514-2/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now the only way to set the chainmask is to set the hardware configured chainmask through capabilities. This is fine for forcing the chainmask to be something other than what the hardware is capable of (eg to reduce TX/RX to one connected antenna) but it does change what the HAL hardware chainmask configuration is. For operational mode changes, it (may?) make sense to separately control the TX/RX chainmask. Right now it's done as part of ar5416_reset.c - ar5416UpdateChainMasks() calculates which TX/RX chainmasks to enable based on the operating mode. (1 for legacy and whatever is supported for 11n operation.) But doing this in the HAL is suboptimal - the driver needs to know the currently configured chainmask in order to correctly enable things for each TX descriptor. This is currently done by overriding the chainmask config in the ar5416 TX routines but this has to disappear - the AR9300 HAL support requires the driver to dynamically set the TX chainmask based on the TX power and TX rate in order to meet mini-PCIe slot power requirements. So: * Introduce a new HAL method to set the operational chainmask variables; * Introduce null methods for the previous generation chipsets; * Add new driver state to record the current chainmask separate from the hardware configured chainmask. Part #2 of this will involve disabling ar5416UpdateChainMasks() and moving it into the driver; as well as properly programming the TX chainmask based on the currently configured HAL chainmask. Tested: * AR5416, STA mode - both legacy (11a/11bg) and 11n rates - verified that AR_SELFGEN_MASK (the chainmask used for self-generated frames like ACKs and RTSes) is correct, as well as the TX descriptor contents is correct.
* | In all situations where we need to bootstrap yacc, we also need todes2013-02-251-1/+2
| | | | | | | | | | | | | | | | | | | | bootstrap liby. This was not readily apparent, because a normal 'make buildworld' or 'make toolchain' builds liby before building anything that uses yacc. However, 'make kernel-toolchain' does not build headers or libraries, so it was not possible to build a kernel from head on, say, stable/9 without first building the complete toolchain. MFC after: 1 week
* | Style.pjd2013-02-251-8/+5
| | | | | | | | Suggested by: kib
* | After r237012, the fdgrowtable() doesn't drop the filedesc lock anymore,pjd2013-02-251-3/+1
| | | | | | | | | | | | so update a stale comment. Reviewed by: kib, keramida
* | Get rid of unused struct member.neel2013-02-251-1/+0
| | | | | | | | | | Pointed out by: Gopakumar T Obtained from: NetApp
* | Add i/o error counters to hastd(8) and make hastctl(8) displaytrociny2013-02-255-1/+71
| | | | | | | | | | | | | | them. This may be useful for detecting problems with HAST disks. Discussed with and reviewed by: pjd MFC after: 1 week
* | Import media selection/preparation framework (sysinstall inspired). Makesdteske2013-02-2537-553/+6766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessing files from various types of media nice and abstracted away from the wet-work involved in preparing, validating, and initializing those types of media. This will be used for the package management system module and other modules that need access to files and want to allow the user to decide where those files come from (either in a scripted fashion, prompted fashion, or any combination thereof). Heavily inspired by sysinstall and even uses the same reserved words so that scripts are portable. Coded over months, tested continuously through- out, and reviewed several times. Some notes about the changes: - Move network-setting acquisition/validation routines to media/tcpip.subr - The options screen from sysinstall has been converted to a dialog menu - The "UFS" media choice is renamed to "Directory" to reflect how sysinstall treats the choice and a new [true] "UFS" media choice has been added that acts on real UFS partitions (such as external disks with disklabels). - Many more help files have been resurrected from sysinstall (I noticed that some of the content seems a bit dated; I gave them a once-over but they could really use an update). - A total of 10 media choices are presented (via mediaGetType) including: CD/DVD, FTP, FTP Passive, HTTP Proxy, Directory, NFS, DOS, UFS, Floppy, USB - Novel struct/device management layer for managing the issue of passing more information than can comfortably fit in an argument list.
* | The 5300 series ciss(4) board does not work in performant mode with oursbruno2013-02-251-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | currnet initialization sequence. Set it to simple mode only so that systems can be updated from stable/7 to newer installations. At some point, we should figure out why we cannot initialize performant mode on this board. PR: kern/153361 Reviewed by: scottl Obtained from: Yahoo! Inc. MFC after: 2 weeks
* | Fix typo and update copyright.dteske2013-02-251-2/+2
| |
* | Enhance test(1) by adding provision to compare any combination of thepeterj2013-02-253-28/+279
| | | | | | | | | | | | | | | | | | access, birth, change and modify times of two files, instead of only being able to compare modify times. The builtin test in sh(1) will automagically acquire the same expansion. Approved by: grog MFC after: 2 weeks
* | Remove EOL whitespace.joel2013-02-251-6/+6
| |
* | If rtadvd_interfaces is set to "none", start rtadvd without listingdes2013-02-251-0/+2
| | | | | | | | | | | | any interfaces on the command line. MFC after: 1 week
* | - Implement and use usage().des2013-02-252-10/+26
| | | | | | | | | | | | | | | | - Document the -C option. - Allow rtadvd to be invoked without any interfaces on the command line, and document that possibility. MFC after: 1 week
* | Fix ARM build by assigning the computed time here tokientzle2013-02-251-2/+2
| | | | | | | | a variable of the right type for printf.
* | Several cleanups and fixes to mxge:gallatin2013-02-251-46/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove vestigial null pointer tests after malloc(..., M_WAITOK). - Remove vestigal qualhack union - Use strlcpy() instead of the error-prone strncpy() when parsing EEPROM and copying strings - Check the MAC address in the EEPROM strings more strictly. - Expand the macro MXGE_NEXT_STRING() at its only user. Due to a typo, the macro was very confusing. - Remove unnecessary buffer limit check. The buffer is double-NUL terminated per construction. PR: kern/176369 Submitted by: Christoph Mallon <christoph.mallon gmx.de>
* | Don't try and negotiate sync mode if either period or offset are zero.mjacob2013-02-251-17/+24
| | | | | | | | | | | | PR: kern/163064 Partially Submitted by: Peter <pmc@citylink.dinoex.sub.org> MFC after: 1 month
* | MFV v242732:mm2013-02-2518-39/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge the ZFS I/O deadman thread from vendor (illumos). This feature panics the system on hanging ZFS I/O, helps debugging and resumes failed service. The panic behavior can be controlled with the loader-only tunables: vfs.zfs.deadman_enabled (enable or disable panic on stalled ZFS I/O) vfs.zfs.deadman_synctime (expiration time for stalled ZFS I/O) By default, ZFS I/O deadman is enabled by default on amd64 and i386 excluding virtual guest machines. Illumos ZFS issues: 3246 ZFS I/O deadman thread References: https://www.illumos.org/issues/3246 MFC after: 2 weeks
* | Turn off fast posting for the ISP2100- I'd forgotten that it actuallymjacob2013-02-251-1/+7
| | | | | | | | | | | | | | | | might have been enabled for them- now that we use all 32 bits of handle. Fast Posting doesn't pass the full 32 bits. Noticed by: Bugs in NetBSD. Only a NetBSD user might actually still use such old hardware. MFC after: 1 week
* | Fix init/uninit function type.hselasky2013-02-251-4/+4
| |
* | Fix off-by-one error in sanity checksgonzo2013-02-251-7/+7
| |
* | Add new USB ID.hselasky2013-02-251-0/+4
| | | | | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* | - Fix off-by-one error when returning max pin numbergonzo2013-02-251-7/+6
| | | | | | | | | | | | - Fix GPIOGET for output pins. Requesting state for output pin is valid operation, get the state from TI_GPIO_DATAOUTX register
* | kernacc() expects all KVAs to be covered in the kernel map. With themarcel2013-02-252-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | introduction of the PBVM, this stopped being the case. Redefine the VM parameters so that the PBVM is included in the kernel map. In particular this introduces VM_INIT_KERNEL_ADDRESS to point to the base of region 5 now that VM_MIN_KERNEL_ADDRESS points to the base of region 4 to include the PBVM. While here define KERNBASE to the actual link address of the kernel as is intended. PR: 169926
* | Fix the bug I introduced in r247045.kientzle2013-02-253-66/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After digging through more carefully, it looks like there's no real need to have the DTB in the module directory. So we can simplify a lot: Just copy DTB into local heap for "fdt addr" and U-Boot integration, drop all the extra COPYIN() calls. I've left one final COPYIN() to update the in-kernel DTB for consistency with how this code used to work, but I'm no longer convinced it's appropriate here. I've also remove the mem_load_raw() utility that I added to boot/common/module.c with r247045 since it's no longer necessary.
* | libc/opendir: Improve behaviour of union uniquifier:jilles2013-02-241-25/+26
| | | | | | | | | | | | | | | | | | * Reopen the directory using openat(fd, ".", ...) instead of opening the pathname again. This fixes a race condition where the meaning of the pathname changes and allows a reopen with fdopendir(). * Always reopen the directory for union stacks, not only when DTF_REWIND is passed. Applications should be able to fchdir(dirfd(dir)) and *at(dirfd(dir), ...). DTF_REWIND now does nothing.
* | Catch up with internal API changes for initbarea() and getdatablk()pluknet2013-02-241-2/+2
| | | | | | | | | | | | of fsck_ffs introduced with r247212. Submitted by: David Wolfskill <david@catwhisker.org>
* | Merge part of r1712 from elftoolchain, making it possible to resize ELFmarkj2013-02-241-127/+181
| | | | | | | | | | | | | | | | | | | | sections and indirectly change the layout of an ELF file when ELF_F_LAYOUT is not set. PR: bin/167103 Approved by: rstone (co-mentor) Obtained from: elftoolchain MFC after: 2 weeks
* | When running with the -d option, instrument fsck_ffs to track the number,mckusick2013-02-247-37/+206
| | | | | | | | | | | | data type, and running time of its I/O operations. No functional changes.
* | - Move dma, sdhci and mbox nodes down in dts in order to get themgonzo2013-02-231-38/+35
| | | | | | | | | | | | | | | | initialized after FPIO controller since they might rely on GPIO functionality - Update interrupts property of dma node to contain all allocated interrupts
* | Bump per-device interrupt limit to more reasonable default.gonzo2013-02-231-1/+1
| | | | | | | | | | | | | | | | Some hardware like DMA and GPIO controllers might require more then 8 interrupts per device instance. Submitted by: Daisuke Aoyama <aoyama at peach.ne.jp> Discussed with: gber@, raj@
* | sh: If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.jilles2013-02-237-20/+47
| |
* | Pull in r175962 from upstream llvm trunk:dim2013-02-231-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | X86: Disable cmov-memory patterns on subtargets without cmov. Fixes PR15115. For the i386 arch, this should enable cmov instructions only on -march=pentiumpro and higher. Since our default CPU is i486, cmov instructions will now be disabled by default. MFC after: 1 week
* | Add macroses to properly map IO peripherals memory window fromgonzo2013-02-231-0/+14
| | | | | | | | ARM physical memory address space to VideoCore address space
* | "fdt addr" gets run from loader.rc before the kernel is loaded.kientzle2013-02-231-7/+22
| | | | | | | | | | | | | | | | This was broken by r247045 which tried to copy the FDT into the module directory immediately. Instead, store the address and arrange for the FDT to get copied into the module directory later when the usual FDT initialization runs.
* | Print kernel args as late as possible before jumping into kernel.kientzle2013-02-231-1/+1
| |
* | Enable PREEMPTION by default now that PR 147501 has been fixed.marcel2013-02-231-1/+1
| |
* | Add basic and not very reliable protection against going to sleep withmav2013-02-231-1/+8
| | | | | | | | | | | | | | thread scheduled by interrupt fired after we entered critical section. None of cpu_sleep() implementations on ARM check sched_runnable() now, so put the first line of defence here. This mostly fixes unexpectedly long sleeps in synthetic tests of calloutng code and probably other situations.
* | sh: Test that the exit status is 1 if read encounters EOF.jilles2013-02-231-0/+5
| |
* | Now that qsort(3) has a sample comparison function, point to thatkeramida2013-02-231-1/+7
| | | | | | | | | | | | | | | | | | | | example from bsearch(3) too, so that we don't have to duplicate the example code in both places. PR: docs/176197 Reviewed by: stefanf Approved by: remko (mentor), gjb (mentor) MFC after: 1 week
* | MFV r246653:mm2013-02-2317-40/+59
| | | | | | | | | | | | | | | | | | | | Import vendor change to avoid "unitialized variable" warnings. Illumos ZFS issues: 3522 zfs module should not allow uninitialized variables References: https://www.illumos.org/issues/3522
* | Pull in r172354 from upstream clang trunk:dim2013-02-222-61/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the x86 CPU name logic in the driver and pass -march and -mcpu flag information down from the Clang driver into the Gold linker plugin for LTO. This allows specifying -march on the linker commandline and should hopefully have it pass all the way through to the LTO optimizer. Fixes PR14697. Pull in r175919 from upstream clang trunk: Driver: Pass down the -march setting down to -cc1as on x86 too. The assembler historically didn't make use of any target features, but this has changed when support for old CPUs that don't support long nops was added. This should fix the long nops that still occurred in crt*.o, and possibly other object files, if the system was compiled for a CPU that does not support those, such as Geode. Note that gcc on i386 also does not pass through any -march, -mcpu or -mtune setting to gas, but this has not caused any trouble yet, because gas defaults to i386. Reported by: lev MFC after: 1 week
* | Fix command timeout caused by data underrun during fetching ATAPI sensemav2013-02-223-1/+3
| | | | | | | | | | | | | | | | data, introduced by r246713. There are two places where ata_request is filled in ATA_CAM: ata_cam_begin_transaction() and ata_cam_request_sense(). In the first case DMA should be done for addresses from the CCB. In second case, DMA should be done to the different address, the address of the sense buffer inside the CCB structure itself.
OpenPOWER on IntegriCloud