summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* These files will support the whole at91sam9x5 family when done,imp2012-07-305-8/+7
| | | | so rename them now before they get copied further afield...
* List the members of the AT91SAM9G45 family.imp2012-07-301-1/+4
|
* Remove trailing whitespace.joel2012-07-301-1/+1
|
* Add more locale-specific functions to the relevant man pages and Makefile:issyl02012-07-306-14/+86
| | | | | | | | | | | | - lib/libc/locale/islower.3 - lib/libc/locale/ispunct.3 - lib/libc/locale/nl_langinfo.3 - lib/libc/locale/isgraph.3 - lib/libc/locale/isspace.3 Reviewed by: bz Approved by: theraven MFC after: 5 days
* Regen.jhb2012-07-305-7/+7
|
* The linux_lstat() system call accepts a pointer to a 'struct l_stat', not ajhb2012-07-301-1/+1
| | | | 'struct ostat'.
* Eliminate an unneeded declaration. (I should have removed this as partalc2012-07-301-1/+0
| | | | of r227568.)
* Change (unused) prototype for stmxcsr() to match reality.kib2012-07-302-2/+2
| | | | | Noted by: jhb MFC after: 1 week
* - move the inclusion of netmap headers to the common part of the code;luigi2012-07-302-9/+15
| | | | - more portable annotations for unused arguments;
* Backport NFSv4 ACL fix from libarchive master branch.mm2012-07-3010-190/+2070
| | | | | | | Source: https://github.com/libarchive/libarchive/commit/f67370d5 Obtained from: libarchive (master branch)
* remove the last __unused instance in sbin/ipfw.luigi2012-07-301-1/+2
| | | | | | This particular function (show_prerequisites() ) we should actually remove the argument from the callers as well, but i'll do it at a later time.
* Fix some compile errors at high WARNS, including oneluigi2012-07-303-8/+13
| | | | | | | | | for an uninitialized variable. unused parameters and variables are annotated with (void)foo; /* UNUSED */ instead of __unused, because this code needs to build also on linux and windows.
* Remove trailing whitespace.joel2012-07-301-1/+1
|
* Return back double spacing.glebius2012-07-301-1/+1
|
* Mention when -d, -p and -r first hit FreeBSD.brian2012-07-301-2/+4
| | | | | | | Bump the document date to when the change was made (rather than when the PR was submitted). Suggested by: pluknet
* Add d, p and r switches for recording script sessions with timing databrian2012-07-302-24/+216
| | | | | | | | and playing sessions back with or without time delays. PR: 114465 Submitted by: ighighi at gmail dot com MFC after: 3 weeks
* Fix a couple of comments about the rm9200, and fix a couple of indentationimp2012-07-301-12/+12
| | | | issues. Add note that we need to implement at91sam9260 erratum workaround.
* Remove opt_enc.h from files committed with r235911. enc(4) is thebz2012-07-304-7/+0
| | | | | | | | 'encapsulating interface' used with IPsec and has nothing to do with storage 'enclosure' services. MFC after: 3 days Noticed while: debugging why enc(4) is no longer automatically created
* Break out the parsing code from main() and modularise things a little.adrian2012-07-301-58/+84
| | | | | The eventual aim will be to support listing "one" and "all" stations for the given ath device.
* Partially revert r238886 in part of GEOM_VFS spoiling.mav2012-07-291-30/+1
| | | | | | This change triggered interesting foot shooting condition in GEOM when RW access to root partition by fsck spoils VFS geom there, which has it opened RO at the same time. Seems spoiling concept needs some rework.
* Shave off a few more cycles from pmap_enter()'s critical section. Inalc2012-07-291-14/+17
| | | | particular, do a little less work with the PV list lock held.
* sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend().jilles2012-07-293-4/+49
| | | | | | | | | | | | | | | | | When waiting for child processes using "wait" or if "set -T" is in effect, a signal interrupts the wait. Make sure there is no window where the signal handler may be invoked (setting a flag) just before going to sleep. There is a similar race condition in the shell language, but scripts can avoid it by exiting from the trap handler or enforcing synchronization using a fifo. If SIGCHLD is not trapped, a signal handler must be installed for it. Only install this handler for the duration of the wait to avoid triggering unexpected [EINTR] errors elsewhere. Note that for some reason only SIGINT and SIGQUIT interrupt a "wait" command. This remains the case.
* Grr.!$()!$$ I missed checking this in even though I *did* runmjacob2012-07-291-1/+1
| | | | | | | | | | a tinderbox myself and caught the error. Change to isp_send_cmd needs a final ecmd argument. Sponsored by: Spectralogic MFC after: 1 month X-MFC: 238869
* Implement media change notification for DA and CD removable media devices.mav2012-07-2917-41/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It includes three parts: 1) Modifications to CAM to detect media media changes and report them to disk(9) layer. For modern SATA (and potentially UAS) devices it utilizes Asynchronous Notification mechanism to receive events from hardware. Active polling with TEST UNIT READY commands with 3 seconds period is used for incapable hardware. After that both CD and DA drivers work the same way, detecting two conditions: "NOT READY: Medium not present" after medium was detected previously, and "UNIT ATTENTION: Not ready to ready change, medium may have changed". First one reported to disk(9) as media removal, second as media insert/change. To reliably receive second event new AC_UNIT_ATTENTION async added to make UAs broadcasted to all periphs by generic error handling code in cam_periph_error(). 2) Modifications to GEOM core to handle media remove and change events. Media removal handled by spoiling all consumers attached to the provider. Media change event also schedules provider retaste after spoiling to probe new media. New flag G_CF_ORPHAN was added to consumers to reflect that consumer is in process of destruction. It allows retaste to create new geom instance of the same class, while previous one is still dying. 3) Modifications to some GEOM classes: DEV -- to report media change events to devd; VFS -- to handle spoiling same as orphan to prevent accessing replaced media. PART class already handles spoiling alike to orphan. Reviewed by: silence on geom@ and scsi@ Tested by: avg Sponsored by: iXsystems, Inc. / PC-BSD MFC after: 2 months
* Shuffle the rate control call to be consistent with non-aggregate TX.adrian2012-07-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | The correct ordering for non-aggregate TX is: * call ath_hal_setuptxdesc() to setup the first TX descriptor complete with the first TX rate/try count; * call ath_hal_setupxtxdesc() to setup the multi-rate retry; * .. or for 802.11n NICs, call ath_hal_set11nratescenario() for MRR and 802.11n flags; * then call ath_hal_filltxdesc() to setup intermediary descriptors in a multi-descriptor single frame. The call to ath_hal_filltxdesc() routines seem to correctly (consistently?) handle the intermediary descriptor flags, including copying the rate control information to the final descriptor in the frame. That's used by the rate control module rather than the hardware. Tested: * Only on AR9280 STA mode, however it should work on other chips in both STA and AP mode.
* Fix breakage introduced in r238824 - correctly calculate the descriptoradrian2012-07-291-1/+7
| | | | | | | | | | | | wrapping. The previous code was only wrapping descriptor "block" boundaries rather than individual descriptors. It sounds equivalent but it isn't. r238824 changed the descriptor allocation to enforce that an individual descriptor doesn't wrap a 4KiB boundary rather than the whole block of descriptors. Eg, for TX descriptors, they're allocated in blocks of 10 descriptors for each ath_buf (for scatter/gather DMA.)
* Catch up config_freebsd.h with libarchive 3.0.4mm2012-07-291-2/+0
|
* Fix endless loop if reading unsupported ACL type.mm2012-07-291-0/+1
| | | | | | | | | | Apply fix from vendor's master branch. References: https://github.com/libarchive/libarchive/commit/d8b9dbd Reported on: freebsd-current@ Obtained from: libarchive
* Commit the dci (gadget) support to the one ATMEL kernel config whereimp2012-07-291-0/+6
| | | | it might actually work.
* Add usb_template for the gadget support. Even though this isn't aimp2012-07-291-0/+1
| | | | | | bootable kernel, its config will likely be copied to places that are. Submitted by: Hans Petter Selasky
* Add a couple of nice quotes from Edward Everett Haledougb2012-07-291-0/+9
|
* For consistency put the IPsec comment iside the #fidef section.bz2012-07-291-1/+1
| | | | MFC after: 3 days
* Fix a comment that we do not have an SA yet but need to acquire one.bz2012-07-291-1/+1
| | | | MFC after: 3 days
* Add support for 88E1116R.hrs2012-07-281-1/+6
| | | | Sponsored by: Plat'Home, Co.,Ltd.
* Add support for Marvell 88F6282.hrs2012-07-289-5/+27
| | | | Sponsored by: Plat'Home, Co.,Ltd.
* Hardcode the loopback rx/tx checkum options for IPv6 to on withoutbz2012-07-281-2/+26
| | | | | | | | | | | | | | | | checking. This allows the FreeBSD 9.1 release process to move forward. Work around the problem that loopback connections to local addresses not on loopback interfaces and not on interfaces w/ IPv6 checksum offloading enabled would not work. A proper fix to allow us to disable the "checksum offload" on loopback for testing, measurements, ... as we allow for IPv4 needs to put in place later. Reported by: tuexen, Matthew Seaman (m.seaman infracaninophile.co.uk) Reported by: Mike Andrews (mandrews bit0.com), kib, ... PR: kern/170070 MFC after: 1 day X-MFC after: re approval
* Handle a case where we had an SRR that pushed back themjacob2012-07-281-4/+124
| | | | | | | | | data pointer. This is a temp fix that resubmits the command, adjusted, so that the backend can fetch the data again. Sponsored by: Spectralogic MFC after: 1 month
* -----------mjacob2012-07-2811-1016/+1841
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MISC CHANGES Add a new async event- ISP_TARGET_NOTIFY_ACK, that will guarantee eventual delivery of a NOTIFY ACK. This is tons better than just ignoring the return from isp_notify_ack and hoping for the best. Clean up the lower level lun enable code to be a bit more sensible. Fix a botch in isp_endcmd which was messing up the sense data. Fix notify ack for SRR to use a sensible error code in the case of a reject. Clean up and make clear what kind of firmware we've loaded and what capabilities it has. ----------- FULL (252 byte) SENSE DATA In CTIOs for the ISP, there's only a limimted amount of space to load SENSE DATA for associated CHECK CONDITIONS (24 or 26 bytes). This makes it difficult to send full SENSE DATA that can be up to 252 bytes. Implement MODE 2 responses which have us build the FCP Response in system memory which the ISP will put onto the wire directly. On the initiator side, the same problem occurs in that a command status response only has a limited amount of space for SENSE DATA. This data is supplemented by status continuation responses that the ISP pushes onto the response queue after the status response. We now pull them all together so that full sense data can be returned to the periph driver. This is supported on 23XX, 24XX and 25XX cards. This is also preparation for doing >16 byte CDBs. ----------- FC TAPE Implement full FC-TAPE on both initiator and target mode side. This capability is driven by firmware loaded, board type, board NVRAM settings, or hint configuration options to enable or disable. This is supported for 23XX, 24XX and 25XX cards. On the initiator side, we pretty much just have to generate a command reference number for each command we send out. This is FCP-4 compliant in that we do this per ITL nexus to generate the allowed 1 thru 255 CRN. In order to support the target side of FC-TAPE, we now pay attention to more of the PRLI word 3 parameters which will tell us whether an initiator wants confirmed responses. While we're at it, we'll pay attention to the initiator view too and report it. On sending back CTIOs, we will notice whether the initiator wants confirmed responses and we'll set up flags to do so. If a response or data frame is lost the initiator sends us an SRR (Sequence Retransmit Request) ELS which shows up as an SRR notify and all outstanding CTIOs are nuked with SRR Received status. The SRR notify contains the offset that the initiator wants us to restart the data transfer from or to retransmit the response frame. If the ISP driver still has the CCB around for which the data segment or response applies, it will retransmit. However, we typically don't know about a lost data frame until we send the FCP Response and the initiator totes up counters for data moved and notices missing segments. In this case we've already completed the data CCBs already and sent themn back up to the periph driver. Because there's no really clean mechanism yet in CAM to handle this, a hack has been put into place to complete the CTIO CCB with the CAM_MESSAGE_RECV status which will have a MODIFY DATA POINTER extended message in it. The internal ISP target groks this and ctl(8) will be modified to deal with this as well. At any rate, the data is retransmitted and an an FCP response is sent. The whole point here is to successfully complete a command so that you don't have to depend on ULP (SCSI) to have to recover, which in the case of tape is not really possible (hence the name FC-TAPE). Sponsored by: Spectralogic MFC after: 1 month
* Reorder things in g_gate_create() so at the moment when g_new_geomf()trociny2012-07-281-77/+63
| | | | | | | is called name is properly initialized. Discussed with: pjd MFC after: 2 weeks
* sh: Do not ask for stopped/continued processes if we do not need themjilles2012-07-281-6/+5
| | | | rather than retrying wait3 if they happen.
* sh: Inline waitproc() into its only caller.jilles2012-07-281-22/+9
|
* sh: Track continued jobs (even if not continued by bg or fg).jilles2012-07-281-3/+8
| | | | | | | This uses wait3's WCONTINUED flag. There is no message for this. The change is visible in "jobs" or if the job stops again.
* Similar to what is already done for Linux, make clang not complain aboutdim2012-07-281-0/+8
| | | | | | | | unused -g, -emit-llvm or -w arguments when doing linking. E.g. invoking "clang -g foo.o -o foo" will now be silent. Reported by: Jakub Lach <jakub_lach@mailplus.pl> MFC after: 1 week
* Similar to r238472, let clang pass --enable-new-dtags to the linkerdim2012-07-281-1/+3
| | | | | | | invocation by default. Also make sure --hash-style=both is passed for the same arches as gcc, e.g. arm, sparc and x86. X-MFC-with: r238472
* Merge FreeBSD/beri Perforce change @211945 to head:rwatson2012-07-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Modify MIPS page table entry (PTE) initialisation so that cachability bits are set only once, using is_cacheable_mem() to determine what caching properties are required, rather than also unconditionally setting PTE_C_CACHE in init_pte_prot(). As PTE_C_CACHE | PTE_C_UNCACHED == PTE_C_CACHE, this meant that all userspace memory mappings of device memory (incorrectly) used caching TLB entries. This is arguably not quite what we want, even though it is (more) consistent with the MIPS pmap design: PTE caching properties should be derived from machine-independent page table attributes, but this is a substantially more complex change as the MIPS pmap doesn't yet know about page attributes, causing it to ignore requests by device drivers that want uncached userspace memory mappings as they describe memory-mapped FIFOs or shared memory with a device not participating in the cache coherence scheme. This fixes cacheability issues (specifically, undesired and unrequested caching) seen in userspace memory mappings of Avalon SoC bus device memory on BERI MIPS. Discussed with: jmallett, alc Sponsored by: DARPA, AFRL MFC after: 3 days
* Flesh out the multi-rate retry capability.adrian2012-07-286-1/+7
| | | | | | | | The existing method for testing for MRR is to call the "SetupXTXDesc" HAL method and see if it returns AH_TRUE or AH_FALSE. This capability explicitly lists what number of multi-rate attempts are possible. "1" means "one rate attempt supported".
* Commit missing #define from a previous check-in.adrian2012-07-281-0/+2
| | | | The AR9300 and later have an 8-deep TX FIFO for each hardware queue.
* Update libarchive to 3.0.4mm2012-07-28147-4198/+10216
|\
| * Update libarchive's vendor dist to version 3.0.4 from release branch.mm2012-07-27165-4624/+11302
| | | | | | | | | | | | | | Git branch: release Git commit: 8076b31490c90aaf0edccecf760004c30bd95edc Obtained from: https://github.com/libarchive/libarchive.git
| * Update libarchive's vendor dist to latest changes in release branch.mm2012-02-2540-227/+961
| | | | | | | | | | | | | | Git branch: release Git commit: e2cc36190d7d733b3ac6744ec860d09776c9da02 Obtained from: https://github.com/libarchive/libarchive.git
OpenPOWER on IntegriCloud