aboutsummaryrefslogtreecommitdiff
path: root/lib/libcam/camlib.h
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2016-04-16 02:32:12 +0000
committerGlen Barber <gjb@FreeBSD.org>2016-04-16 02:32:12 +0000
commit0edd2576c0e07f525c80e4aa5ff24350b55f18b7 (patch)
treea8871301d693c6d33d43cd3171b1ee4783fec0e4 /lib/libcam/camlib.h
parent010855174aaafbf3c0fee918f12e843089b58b6f (diff)
parentd1ad1a7394330d70efc2f2c58862a02dd8900acf (diff)
downloadsrc-0edd2576c0e07f525c80e4aa5ff24350b55f18b7.tar.gz
src-0edd2576c0e07f525c80e4aa5ff24350b55f18b7.zip
MFH
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-pkg/; revision=298092
Diffstat (limited to 'lib/libcam/camlib.h')
-rw-r--r--lib/libcam/camlib.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcam/camlib.h b/lib/libcam/camlib.h
index e505c77c43af..4fa6a67d8988 100644
--- a/lib/libcam/camlib.h
+++ b/lib/libcam/camlib.h
@@ -83,7 +83,7 @@ extern char cam_errbuf[];
struct cam_device {
char device_path[MAXPATHLEN];/*
- * Pathname of the device
+ * Pathname of the device
* given by the user. This
* may be null if the
* user states the device
@@ -98,15 +98,15 @@ struct cam_device {
* Unit number given by
* the user.
*/
- char device_name[DEV_IDLEN+1];/*
- * Name of the device,
- * e.g. 'pass'
+ char device_name[DEV_IDLEN+1];/*
+ * Name of the device,
+ * e.g. 'pass'
*/
u_int32_t dev_unit_num; /* Unit number of the passthrough
* device associated with this
* particular device.
*/
-
+
char sim_name[SIM_IDLEN+1]; /* Controller name, e.g. 'ahc' */
u_int32_t sim_unit_number; /* Controller unit number */
u_int32_t bus_id; /* Controller bus number */
@@ -142,7 +142,7 @@ int cam_send_ccb(struct cam_device *device, union ccb *ccb);
char * cam_path_string(struct cam_device *dev, char *str,
int len);
struct cam_device * cam_device_dup(struct cam_device *device);
-void cam_device_copy(struct cam_device *src,
+void cam_device_copy(struct cam_device *src,
struct cam_device *dst);
int cam_get_device(const char *path, char *dev_name,
int devnamelen, int *unit);