summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_xpt.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2011-04-26 17:01:49 +0000
committermav <mav@FreeBSD.org>2011-04-26 17:01:49 +0000
commit519a30551e314539bf947c982c6407ccfa2a1fc7 (patch)
treec2addcf01914b57db809b818c842c9fb3345fe25 /sys/cam/cam_xpt.h
parente19591c5077914564e9818802d634404fc9e3808 (diff)
downloadFreeBSD-src-519a30551e314539bf947c982c6407ccfa2a1fc7.zip
FreeBSD-src-519a30551e314539bf947c982c6407ccfa2a1fc7.tar.gz
- Add shim to simplify migration to the CAM-based ATA. For each new adaX
device in /dev/ create symbolic link with adY name, trying to mimic old ATA numbering. Imitation is not complete, but should be enough in most cases to mount file systems without touching /etc/fstab. - To know what behavior to mimic, restore ATA_STATIC_ID option in cases where it was present before. - Add some more details to UPDATING.
Diffstat (limited to 'sys/cam/cam_xpt.h')
-rw-r--r--sys/cam/cam_xpt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/cam_xpt.h b/sys/cam/cam_xpt.h
index 61a7f3f..9355be4 100644
--- a/sys/cam/cam_xpt.h
+++ b/sys/cam/cam_xpt.h
@@ -113,6 +113,7 @@ int xpt_path_string(struct cam_path *path, char *str,
path_id_t xpt_path_path_id(struct cam_path *path);
target_id_t xpt_path_target_id(struct cam_path *path);
lun_id_t xpt_path_lun_id(struct cam_path *path);
+int xpt_path_legacy_ata_id(struct cam_path *path);
struct cam_sim *xpt_path_sim(struct cam_path *path);
struct cam_periph *xpt_path_periph(struct cam_path *path);
void xpt_async(u_int32_t async_code, struct cam_path *path,
OpenPOWER on IntegriCloud