summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_periph.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_periph.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_periph.h')
-rw-r--r--sys/cam/cam_periph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cam/cam_periph.h b/sys/cam/cam_periph.h
index f95a94f..258055f 100644
--- a/sys/cam/cam_periph.h
+++ b/sys/cam/cam_periph.h
@@ -79,6 +79,8 @@ struct periph_driver {
char *driver_name;
TAILQ_HEAD(,cam_periph) units;
u_int generation;
+ u_int flags;
+#define CAM_PERIPH_DRV_EARLY 0x01
};
typedef enum {
OpenPOWER on IntegriCloud