summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-10-31 10:43:38 +0000
committermav <mav@FreeBSD.org>2009-10-31 10:43:38 +0000
commit924c32a1e2de2cc7dfafa407c8af49d2b496a67b (patch)
treeafe2bf9beb5bf8430164a807b56424ff9b9192fb /sys/cam/cam.h
parent9ade11517cead4cc052d6f18b7cc626962a03fc0 (diff)
downloadFreeBSD-src-924c32a1e2de2cc7dfafa407c8af49d2b496a67b.zip
FreeBSD-src-924c32a1e2de2cc7dfafa407c8af49d2b496a67b.tar.gz
MFp4:
- Reduce code duplication in ATA XPT and PMP driver. - Move PIO size setting from ada driver to ATA XPT. It is XPT business to negotiate transfer details. ada driver is now stateless. - Report PIO size to SIM. It is required for correct PATA SIM operation. - Tune PMP scan timings. It workarounds some problems with SiI. - If reset hapens during PMP initialization - restart it. - Introduce early-initialized periph drivers, which are used during initial scan process. Use it for xpt, probe, aprobe and pmp. It gives pmp chance to finish scan before mountroot and numerate devices in right order.
Diffstat (limited to 'sys/cam/cam.h')
-rw-r--r--sys/cam/cam.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/cam.h b/sys/cam/cam.h
index 46a5e07..c26afb4 100644
--- a/sys/cam/cam.h
+++ b/sys/cam/cam.h
@@ -66,6 +66,7 @@ struct cam_periph;
*/
typedef struct {
u_int32_t priority;
+#define CAM_PRIORITY_BUS 0
#define CAM_PRIORITY_DEV 0
#define CAM_PRIORITY_NORMAL 1
#define CAM_PRIORITY_NONE (u_int32_t)-1
OpenPOWER on IntegriCloud