diff options
author | mav <mav@FreeBSD.org> | 2010-02-14 19:38:27 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-02-14 19:38:27 +0000 |
commit | 5ff9e24e4e99f0bb1575ff3df73ef0266cd5f365 (patch) | |
tree | 15999acb21405570eeb89fd497c45b18288d7233 /sbin | |
parent | 41d3373dc158d8a010829f1fb8cd25f2c33aa31c (diff) | |
download | FreeBSD-src-5ff9e24e4e99f0bb1575ff3df73ef0266cd5f365.zip FreeBSD-src-5ff9e24e4e99f0bb1575ff3df73ef0266cd5f365.tar.gz |
MFC r203108:
Large set of CAM improvements:
- 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.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions