summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Retrieve CPU number info from the device tree.raj2012-05-261-18/+8
| | | | Obtained from: Freescale, Semihalf.
* Rename e500 prefix to match other Book-E CPU variations. CPU id tidbits forraj2012-05-263-15/+25
| | | | | | the new cores. Obtained from: Freescale, Semihalf.
* Provide SPR definitions for newer Book-E (E500mc, E5500, PPC465).raj2012-05-261-0/+36
| | | | Obtained from: Freescale, Semihalf.
* Unify SPR defines formatting, no funtional changes.raj2012-05-261-88/+87
|
* Trim the extra $FreeBSD$ from the comment below the license. We usebz2012-05-261-2/+0
| | | | | | the __FBSDID() macro on the file now instead. MFC after: 3 days
* Get rid of SCTP specific code to avoid CRC32C computations on loopback.tuexen2012-05-264-35/+4
| | | | | Just just offloading. MFC after: 3 days
* Make the VIA workaround application somewhat more consistent with themarius2012-05-261-1/+2
| | | | ATI one.
* Consistently use USB_PAGE_SIZE. Currently, this is cosmetic.marius2012-05-261-2/+2
| | | | MFC after: 3 days
* Make the VIA workaround actually do its intended job.marius2012-05-261-1/+1
| | | | MFC after: 3 days
* Remove extraneous empty lines.marius2012-05-261-32/+0
| | | | MFC after: 3 day
* Turn LACP debugging from a compile time option to a sysctl, it is very handy tothompsa2012-05-261-43/+37
| | | | | | | be able to turn it on when negotiation to a switch misbehaves. Submitted by: Andrew Boyer MFC after: 3 days
* - When creating the DMA tag for user data, don't ask for more segmentsmarius2012-05-262-39/+29
| | | | | | | | | | | | | | than required for handling MAXPHYS and report the resulting maximum I/O size to CAM instead of implicitly limiting it to DFLTPHYS. - Move the variables of sym_action2() out of nested scope as required by style(9) and remove extraneous curly braces. - Replace a magic value for PCIR_COMMAND with the appropriate macro. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. Tested with a HBA donated by wilko. MFC after: 3 days
* mdoc: sort sections into conventional order.joel2012-05-261-21/+21
|
* Rename pmap_collect() to pmap_pv_reclaim() and rewrite it such that it noalc2012-05-262-64/+132
| | | | | | | | | | | | | | longer uses the active and inactive paging queues. Instead, the pmap now maintains an LRU-ordered list of pv entry pages, and pmap_pv_reclaim() uses this list to select pv entries for reclamation. Note: The old pmap_collect() tried to avoid reclaiming mappings for pages that have either a hold_count or a busy field that is non-zero. However, this isn't necessary for correctness, and the locking in pmap_collect() was insufficient to guarantee that such mappings weren't reclaimed. The new pmap_pv_reclaim() doesn't even try. MFC after: 5 weeks
* Implement SEEK_HOLE/SEEK_DATA for UFS.kib2012-05-261-0/+20
| | | | MFC after: 2 weeks
* Add a vn_bmap_seekhole(9) vnode helper which can be used by anykib2012-05-262-0/+55
| | | | | | | filesystem which supports VOP_BMAP(9) to implement SEEK_HOLE/SEEK_DATA commands for lseek(2). MFC after: 2 weeks
* Clarify the SEEK_HOLE description, it repositions the file pointer.kib2012-05-261-4/+4
| | | | MFC after: 3 days
* Add the AR9280 workarounds for PCIe suspend/resume.adrian2012-05-261-2/+52
| | | | | | | | | | | These aren't strictly needed at the moment as we're not doing APSM and forcing the NIC in and out of network sleep. But, they don't hurt. Tested: * AR9280 (mini-PCIe) Obtained from: Qualcomm Atheros, Linux ath9k
* Avoid using hard-coded numbers here.adrian2012-05-261-1/+1
|
* Remove an unneeded field from ath_buf.adrian2012-05-261-1/+0
|
* - Add support for BSD iconv when it is build into libcgabor2012-05-252-0/+14
| | | | | | PR: bin/162670 Submitted by: Jan Beich <jbeich@tormail.net> MFC after: 2 weeks
* Regenerate system call tables.ed2012-05-2516-193/+193
|
* Remove use of non-ISO-C integer types from system call tables.ed2012-05-253-41/+41
| | | | | These files already use ISO-C-style integer types, so make them less inconsistent by preferring the standard types.
* Update HID defines for E500mc and E5500 CPU cores.raj2012-05-251-0/+53
| | | | Obtained from: Freescale, Semihalf
* Import DTS files for the upcoming DPAA QorIQ (PowerPC) support.raj2012-05-256-567/+5498
| | | | | | | | - P2041RDB - P3041DS - P5020DS Obtained from: Freescale
* Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes.marcel2012-05-2510-2/+35
| | | | The gpart alias for these partition types is "freebsd-nandfs".
* init: Remove unnecessary 2-second delay before calling reboot(2).jilles2012-05-251-2/+0
|
* Fix physical address type to vm_paddr_t also for powerpc64.raj2012-05-251-11/+11
|
* Add some AR5416/AR5418 WAR's for power-on and suspend/resume:adrian2012-05-251-3/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Now that ah_configPCIE is called for both power on and suspend/resume, make sure the right bit(s) are cleared and set when suspending and resuming. Specifically: + force disable/enable the PCIe PHY upon suspend/resume; + reprogram the PCIe WAR register when resuming and upon power-on. * Add a recipe which powers down any PCIe PHY hardware inside the AR5416 (which is the PCI variant) to save on power. I have (currently) no way to test exactly how much power is saved, if any. Tested on: * AR5416 cardbus - although unfortunately pccard/cbb/cardbus currently detaches the NIC upon suspend, I don't think it's a proper test case. * AR5418 PCIe attached to expresscard - since we're not doing PCIe APSM, it's also not likely a full/good test case. In both instances I went through a handful of suspend/resume cycles and ensured that the STA vap reassociated correctly. TODO: * Setup a laptop to simply sit in a suspend/resume loop, making sure that the NIC always correctly comes back; * Start doing suspend/resume tests with actual traffic going on in the background, as I bet this process is all quite racy at the present; * Test adhoc/hostap mode, just to be completely sure it's working correctly; * See if I can jury rig an external power source to an AR5416 to test out whether ah_disablePCIE() works. Obtained from: Qualcomm Atheros
* Correct error message.pjd2012-05-251-1/+1
| | | | MFC after: 3 days
* * According to the reference code, AR_WA_D3_L1_DISBABLE is bit 14.adrian2012-05-251-1/+5
| | | | | | | * Add some other WAR bits (very usefully described too) in preparation for porting over some suspend/resume fixes from ath9k/Atheros. Obtained from: Qualcomm Atheros
* Doh... Don't add __eabi to an old version tag (i.e. FBSD_1.0). Add it to themarcel2012-05-251-1/+4
| | | | | | current one (= FBSD_1.3). Pointed out by: kib
* Missing vm_paddr_t bits which should have been part of r235936.raj2012-05-251-4/+4
|
* More Cicada/Vitesse PHY ids.raj2012-05-252-1/+10
| | | | Obtained from: Semihalf
* Merge from x86: r232521marius2012-05-251-28/+0
| | | | Exclude USB drivers (except umass and ukbd) from main kernel image.
* Undefine SCTP_PACKED before including sctp_uio.h, which doesn'ttuexen2012-05-251-3/+2
| | | | | | use it. Spotted by Irene Ruengeler. MFC after: 3 days
* Revert r235918 for now and add comment explaining the reason for thetrasz2012-05-251-3/+9
| | | | size check.
* Use 32-bit ufs_ino_t instead of ino_t to keep boot2 small and preventgleb2012-05-258-31/+26
| | | | | | unnecessary 64-bit math on 32-bit machines. Sponsored by: Google Summer of Code 2011
* - Only use multi-threading for large filesgabor2012-05-257-23/+90
| | | | | | | | - Do not use mmap() by default; it can be enabled by --mmap - Add some minor optimizations for -u - Update manual page according to the changes Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* MFp4 bz_ipv6_fast:bz2012-05-251-18/+15
| | | | | | | | | | | | | | | | | | | | | Use M_ZERO with malloc rather than calling bzero() ourselves. Change if () panic() checks to KASSERT()s as they are only catching invariants in code flow but not dependent on network input/output. Move initial assigments indirecting pointers after the lock has been aquired. Passing layer boundries, reset M_PROTOFLAGS. Remove a NULL assignment before free. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn (as part of the whole) MFC After: 3 days
* MFp4 bz_ipv6_fast:bz2012-05-251-1/+3
| | | | | | | | | | | | | | | Properly protect the inp read access when handling the control code. In the past this was expensive but given the rlock it's not so much anymore. Spotted while: optimizing udp6 Discussed with: rwatson (a few months ago) Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn (as part of the whole) MFC After: 3 days
* Use C99-style initialization for struct dirent in preparation forgleb2012-05-252-8/+29
| | | | | | changing the structure. Sponsored by: Google Summer of Code 2011
* Add tunable/sysctl kern.cam.pmp.hide_special, controlling whether specialmav2012-05-251-17/+35
| | | | | | | | PMP ports such as PMP configuration or SEMB should be exposed or hidden. These ports were always hidden before as useless and sometimes promatic. But with updated ses driver supporting SEMB it is no longer so straight. Keep ports hidden by default to avoid probe request ttimeouts if SEP is not connected to PMP's SEMB via I2C, that is very often situation.
* In case forwarding is turned on for a given address family, refuse tobz2012-05-251-0/+11
| | | | | | | | | | | | | queue the packet for LRO and tell the driver to directly pass it on. This avoids re-assembly and later re-fragmentation problems when forwarding. It's not the best solution but the simplest and most effective for the moment. Should have been done: ages ago Discussed with and by: many MFC after: 3 days
* Remove sleep() from invalidate call in ses driver, waiting for daemonmav2012-05-251-10/+8
| | | | | | | | | process exit. Instead use CAM's standard reference counting to prevent periph going away until process won't complete. I think that sleep in single CAM SWI thread is not a good idea and may lead to deadlocks if daemon process waits for some command completion. Combined with recent patch avoiding use of CAM SWI for ATA it just causes panics because of sleeps prohibited in interrupt thread context.
* Revert my local not yet properly tested changes, that leaked inglebius2012-05-251-16/+23
| | | | with r235923.
* device_add_child: protect against child device with no driver but fixed unit ↵avg2012-05-251-0/+2
| | | | | | | | | | | number This combination doesn't make sense, unit numbers should be hardwired only in context of a known driver. The wildcard devices should have wildcard unit numbers. Reviewed by: jhb MFC after: 2 weeks
* Fix resolving symbol names on ARM.gber2012-05-251-0/+6
| | | | | | | | | | | On ARM, binutils are adding '$a' symbols in the symbol table for every function (in addition to normal symbol). When gprof(1) looks up symbol name, it often reads '$a' instead of proper function name, because it find it first. With this fix, when read symbol name begins with '$' and previous symbol has the same address, it will use previous symbol name (which is proper function name). Obtained from: Semihalf
* Correct an error in pmap_pv_reclaim(). In a rare case, when it should havealc2012-05-251-9/+9
| | | | | returned NULL, it might instead return a pointer to a page that it had just unmapped.
* oops - ath_hal_disablepcie is actually destined for another purpose,adrian2012-05-2511-25/+40
| | | | | | | not to disable the PCIe PHY in prepration for reset. Extend the enablepci method to have a "poweroff" flag, which if equal to true means the hardware is about to go to sleep.
OpenPOWER on IntegriCloud