summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove xpt_sim_opened(), the only consumer of which was atapicam, which ismav2013-04-042-34/+0
| | | | now gone.
* Remove a comment about devices being able to specify multiple interruptrpaulo2013-04-041-5/+2
| | | | | types. This is no longer the case because interrupt types now have to map to an ithread priority (c.f. intr_priority()).
* Improve error handling when unwrapping received data.gnn2013-04-041-1/+16
| | | | | Submitted by: Rick Macklem MFC after: 1 week
* Remove periodic script for ataraid(4) and add instead script for graid(8).mav2013-04-044-37/+38
|
* Remove some more references to legacy ATA.mav2013-04-042-12/+3
| | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* Implement AR933x polled IO uart bus code.adrian2013-04-042-317/+113
| | | | | | | | | | | | | | | | This implements the bus transmit/receive/sigchg/ipend methods with a polled interrupt handler (ipend) rather than enabling hardware interrupts. The FIFO is faked at 16 bytes deep for now, just so the transmit IO side doesn't suck too bad (the callout frequency limits how quickly IO is flushed to the sender, rather than scheduling the callout more frequently whilst there's active TX. But I digress.) Tested: * Atheros AP121 (AR9330) reference board, booting to multi-user interactive mode.
* Minor rewording.joel2013-04-041-2/+2
| | | | Discussed with: mav
* Use xpt_lock_buses() instead of equivalent mtx_lock(&xsoftc.xpt_topo_lock)mav2013-04-041-32/+32
| | | | to unify the code.
* Remove usr.sbin/burncd, useless after legacy ATA stack removal.mav2013-04-045-1004/+2
|
* Check status of ahci_em_reset() on attach and abort if reset failed.mav2013-04-041-1/+4
| | | | | | For now it is just a hypothetical case. Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* Update comments!adrian2013-04-041-4/+0
|
* Remove references to ataraid(4) and atacontrol(8).joel2013-04-043-14/+1
|
* Remove atapicam(4) reference.joel2013-04-041-2/+0
|
* Fix the busdma logic to work with EDMA chipsets when using bounceadrian2013-04-043-63/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffers (ie, >4GB on amd64.) The underlying problem was that PREREAD doesn't sync the mbuf with the DMA memory (ie, bounce buffer), so the bounce buffer may have had stale information. Thus it was always considering the buffer completed and things just went off the rails. This change does the following: * Make ath_rx_pkt() always consume the mbuf somehow; it no longer passes error mbufs (eg CRC errors, crypt errors, etc) back up to the RX path to recycle. This means that a new mbuf is always allocated each time, but it's cleaner. * Push the RX buffer map/unmap to occur in the RX path, not ath_rx_pkt(). Thus, ath_rx_pkt() now assumes (a) it has to consume the mbuf somehow, and (b) that it's already been unmapped and synced. * For the legacy path, the descriptor isn't mapped, it comes out of coherent, DMA memory anyway. So leave it there. * For the EDMA path, the RX descriptor has to be cleared before its passed to the hardware, so that when we check with a POSTREAD sync, we actually get either a blank (not finished) or a filled out descriptor (finished.) Otherwise we get stale data in the DMA memory. * .. so, for EDMA RX path, we need PREREAD|PREWRITE to sync the data -> DMA memory, then POSTREAD|POSTWRITE to finish syncing the DMA memory -> data. * Whilst we're here, make sure that in EDMA buffer setup (ie, bzero'ing the descriptor part) is done before the mbuf is map/synched. NOTE: there's been a lot of commits besides this one with regards to tidying up the busdma handling in ath(4). Please check the recent commit history. Discussed with and thanks to: scottl Tested: * AR5416 (non-EDMA) on i386, with the DMA tag for the driver set to 2^^30, not 2^^32, STA * AR9580 (EDMA) on i386, as above, STA * User - tested AR9380 on amd64 with 32GB RAM. PR: kern/177530
* Remove obsolete files of the legacy ATA stack.mav2013-04-041-0/+5
|
* Remove all legacy ATA code parts, not used since options ATA_CAM enabled inmav2013-04-0477-15284/+6
| | | | | | | | | most kernels before FreeBSD 9.0. Remove such modules and respective kernel options: atadisk, ataraid, atapicd, atapifd, atapist, atapicam. Remove the atacontrol utility and some man pages. Remove useless now options ATA_CAM. No objections: current@, stable@ MFC after: never
* Correct the multicast handling in the E1000 drivers as wasjfv2013-04-033-13/+89
| | | | | | done in ixgbe, thanks to Mike Karels for this fix. When exiting promiscuous mode MPE bit was being unconditionally cleared, this should not be done if we are in MAX multicast groups.
* MFP4 change 217313 and part of 222068:brooks2013-04-032-0/+67
| | | | Add a simple nexus attachment for cfi(4).
* MFP4 change 210763brooks2013-04-033-2/+17
| | | | | | | | Allow boothowto and bootverbose to be set via kernel options, which is useful on architectures that are unable to rely on a boot loader to pass configuration variables to the kernel. Submitted by: rwatson
* Update man page for igb(4) with a little bit of information aboutsbruno2013-04-032-2/+8
| | | | | | | | | | | hw.igb.num_queues for those so inclined. PR: kern/177384 Submitted by: hiren.panchasara@gmail.com Reviewed by: sbruno@ Approved by: jfv@ Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Trailing whitespace cleanup along with 80 column enforcemnt.sbruno2013-04-034-1682/+1803
| | | | | | | Submitted by: hiren.panchasara@gmail.com Reviewed by: sbruno@freebsd.org Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Fix typo (devicde -> device).jimharris2013-04-031-1/+1
|
* Check for SS_NBIO in the socket state field rather than socket bufferjhb2013-04-031-2/+2
| | | | | | | flags. Submitted by: Vijay Singh MFC after: 1 week
* Fix locking problem in ctl_maintenance_in() - one cannot use M_WAITOK or calltrasz2013-04-031-10/+9
| | | | | | | ctl_done() with mutex held. Reviewed by: ken Sponsored by: FreeBSD Foundation
* The code in clear_remove() and clear_inodedeps() skips one entrymckusick2013-04-031-4/+4
| | | | | | | | | | | | | | | | in the pagedep and inodedep hash tables. An entry in the table is skipped because 'pagedep_hash' and 'inodedep_hash' hold the size of the hash tables - 1. The chance that this would have any operational failure is extremely unlikely. These funtions only need to find a single entry and are only called when there are too many entries. The chance that they would fail because all the entries are on the single skipped hash chain are remote. Submitted by: Pedro Martelletto Reviewed by: kib MFC after: 2 weeks
* IFP4 change 222074.brooks2013-04-031-0/+7
| | | | | | | | | | Introduce an explicit close of the output descriptor so that work done on close is accounted for in the summary output triggered at exit (implicit close()s occur after atexit() hooks). This is useful because some devices such as cfi(4) may perform signficant work after a close occurs (e.g. erasing and rewriting a block of flash).
* Since ATA_CAM mode has no implemented support for serializing access to themav2013-04-032-6/+22
| | | | | | | | | different ATA channels, required for acard and pc98 ATA controllers, block access to second channels of both, hoping that one working channel is better then none. I have an idea how that support could be implemented, but I have no hardware to work on that. MFC after: 1 week
* Tell bmake to use the FreeBSD preferred makefile preference list.sjg2013-04-031-0/+3
| | | | | PR: 177593 Reviewed by: obrien
* Add some more ATA_CAM ifdefs.mav2013-04-032-7/+15
| | | | | Submitted by: marius (partially) MFC after: 1 week
* Add xpt_release_ccb()'s missed at r248872. That made `shutdown -p` stuckmav2013-04-032-0/+3
| | | | on controller with small number of queue slots and several disks connected.
* spa_open_common: fix argument to zvol_create_minorsavg2013-04-031-1/+1
| | | | | | | | | | | | | Prior to r248571 spa_open was always called with a bare pool name, but now it is called with a dataset name instead (spa_lookup handles that). So, when a ZFS root is mounted spa_open is called with a name of a root dataset, which can very well be different from the pool name. But zvol_create_minors should be called with the pool name, because it performs a recursive traversal of all datasets under the name to find all those that are volumes. MFC after: 7 days
* Add missing ifdef's for reduced feature compilations.hselasky2013-04-031-0/+4
|
* Fix possible pool hold leak in dmu_send_impl()mm2013-04-031-3/+3
| | | | | | | | Problem reported to vendor: https://www.illumos.org/issues/3645 Reported by: Andriy Gapon <avg@FreeBSD.org> MFC after: 15 days
* drm and i915: Left-shift iic_msg.slave at creation timedumbbell2013-04-034-20/+14
| | | | | | | | This is required because, in the radeon driver, we can't left-shift in a central place, like it was done in the i915 driver. Reviewed by: kib@, kan@, avg@ Tested by: kib@, avg@
* Add new USB ID.hselasky2013-04-032-0/+2
| | | | | MFC after: 1 week Submitted by: Bruce Simpson <bms@fastmail.net>
* Replace the remaining uses of vm_radix_node_page() by vm_radix_isleaf() andalc2013-04-031-65/+67
| | | | | | | | | | | | vm_radix_topage(). This transformation eliminates some unnecessary conditional branches from the inner loops of vm_radix_insert(), vm_radix_lookup{,_ge,_le}(), and vm_radix_remove(). Simplify the control flow of vm_radix_lookup_{ge,le}(). Reviewed by: attilio (an earlier version) Tested by: pho Sponsored by: EMC / Isilon Storage Division
* Comment out the VIMAGE since we need to build both LINTS tokevlo2013-04-031-2/+2
| | | | | | get good coverage. Pointed out by: jhb
* Replace access to /dev/random with the kernel pseudo-random numberdelphij2013-04-024-55/+32
| | | | | | | | source sysctl(KERN_ARND) and remove the fallback code. Obtained from: OpenBSD Reviewed by: secteam MFC after: 1 month
* sh: Write as much into the heredoc pipe as possible, to avoid forking.jilles2013-04-021-5/+13
| | | | | | Use non-blocking I/O to write as much as the pipe will accept (often 64K, but it can be as little as 4K), avoiding the need for the ugly PIPESIZE constant. If PIPESIZE was set too high, a deadlock would occur.
* Update to bmake-20130330sjg2013-04-0232-336/+778
|\
| * Tag bmake-20130330sjg2013-04-01184-0/+65366
| |
| * Import bmake-20130330sjg2013-04-0129-330/+771
| |
* | Do not declare that preloaded md(4) supports unmapped bio requests, itkib2013-04-021-1/+9
| | | | | | | | | | | | | | does not. Reported by: <mh@kernel32.de> Sponsored by: The FreeBSD Foundation
* | Fix sending virtual scatter/gather lists from the CTL CAM frontendken2013-04-021-1/+5
| | | | | | | | | | | | peripheral. Sponsored by: Spectra Logic
* | Don't directly dereference userland pointer; instead use kernel pointertrasz2013-04-021-4/+4
| | | | | | | | | | | | | | | | copied in from userspace. This fixes instant panic when creating CTL LUN on sparc64. Not a security problem, since the API is root-only. Reviewed by: ken Sponsored by: FreeBSD Foundation
* | Add support for XPT_CONT_TARGET_IO CCBs in _bus_dmamap_load_ccb().ken2013-04-021-4/+17
| | | | | | | | | | | | Declare CCB types in their respective switch blocks. Sponsored by: Spectra Logic
* | - Remove extra $FreeBSD$glebius2013-04-021-2/+3
| | | | | | | | | | | | - Touch options headers to make module buildable. Reviewed by: trasz
* | Remove obsolete references to sysinstall.eadler2013-04-022-15/+1
| | | | | | | | | | | | | | | | This change is not intended for MFC. PR: docs/177570 Submitted by: Garrett Cooper <yaneurabeya@gmail.com> (partial) Approved by: bcr (mentor)
* | Fix comment formatting.trasz2013-04-021-4/+4
| |
* | Merge upstream patch to silence spurious "no such identity file" warnings.des2013-04-024-14/+29
| |
OpenPOWER on IntegriCloud