summaryrefslogtreecommitdiffstats
path: root/sys/dev/hptiop
Commit message (Collapse)AuthorAgeFilesLines
* Report transport type in XPT_PATH_INQ.mav2010-06-191-0/+4
| | | | | PR: i386/147929 MFC after: 3 days
* MFp4: Large set of CAM inprovements.mav2010-01-281-21/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Unify bus reset/probe sequence. Whenever bus attached at boot or later, CAM will automatically reset and scan it. It allows to remove duplicate code from many drivers. - Any bus, attached before CAM completed it's boot-time initialization, will equally join to the process, delaying boot if needed. - New kern.cam.boot_delay loader tunable should help controllers that are still unable to register their buses in time (such as slow USB/ PCCard/ CardBus devices), by adding one more event to wait on boot. - To allow synchronization between different CAM levels, concept of requests priorities was extended. Priorities now split between several "run levels". Device can be freezed at specified level, allowing higher priority requests to pass. For example, no payload requests allowed, until PMP driver enable port. ATA XPT negotiate transfer parameters, periph driver configure caching and so on. - Frozen requests are no more counted by request allocation scheduler. It fixes deadlocks, when frozen low priority payload requests occupying slots, required by higher levels to manage theit execution. - Two last changes were holding proper ATA reinitialization and error recovery implementation. Now it is done: SATA controllers and Port Multipliers now implement automatic hot-plug and should correctly recover from timeouts and bus resets. - Improve SCSI error recovery for devices on buses without automatic sense reporting, such as ATAPI or USB. For example, it allows CAM to wait, while CD drive loads disk, instead of immediately return error status. - Decapitalize diagnostic messages and make them more readable and sensible. - Teach PMP driver to limit maximum speed on fan-out ports. - Make boot wait for PMP scan completes, and make rescan more reliable. - Fix pass driver, to return CCB to user level in case of error. - Increase number of retries in cd driver, as device may return several UAs.
* Revert previous commit and add myself to the list of people who shouldphk2009-09-081-2/+0
| | | | know better than to commit with a cat in the area.
* Add necessary include.phk2009-09-081-0/+2
|
* Use __packed from cdefs.hdelphij2009-03-251-1/+1
| | | | | | Submitted by: pyunyh Reviewed by: Shaowei WANG <wsw1wsw2 gmail com> MFC after: 2 weeks
* Use __attribute__((packed)) for the structure so that hptiop managementdelphij2009-03-251-1/+1
| | | | | | | utility would work. Submitted by: Shaowei WANG <wsw1wsw2 gmail com> MFC after: 2 weeks
* - Spell cam correctly (scbus), this makes it possible to compile hptiopantoine2008-10-041-2/+2
| | | | | | | | | | in GENERIC and LINT. [1] - Rename hpt_dbg_level to hpt_iop_dbg_level to avoid multiple definition of hpt_dbg_level (hptmv also has hpt_dbg_level). PR: 127551 [1] Reviewed by: scottl@ MFC after: 1 month
* Replace all calls to minor() with dev2unit().ed2008-09-271-1/+1
| | | | | | | | | | | | | | | After I removed all the unit2minor()/minor2unit() calls from the kernel yesterday, I realised calling minor() everywhere is quite confusing. Character devices now only have the ability to store a unit number, not a minor number. Remove the confusion by using dev2unit() everywhere. This commit could also be considered as a bug fix. A lot of drivers call minor(), while they should actually be calling dev2unit(). In -CURRENT this isn't a problem, but it turns out we never had any problem reports related to that issue in the past. I suspect not many people connect more than 256 pieces of the same hardware. Reviewed by: kib
* Update the hptiop driver to version 1.3. This adds support for the 4xxxscottl2008-02-032-531/+1519
| | | | | | | series of adapters. Thanks again to Highpoint for their continued support of FreeBSD. Submitted by: Highpoint Technologies
* Prepare for future integration between CAM and newbus. xpt_bus_registerscottl2007-06-171-1/+1
| | | | | | | now takes a device_t to be the parent of the bus that is being created. Most SIMs have been updated with a reasonable argument, but a few exceptions just pass NULL for now. This argument isn't used yet and the newbus integration likely won't be ready until after 7.0-RELEASE.
* Introduce a driver for the Highpoint RocketRAID 3xxx series of controllers.scottl2007-05-092-0/+1644
The driver relies on CAM. Many thanks to Highpoint for providing this driver.
OpenPOWER on IntegriCloud