summaryrefslogtreecommitdiffstats
path: root/lib/libcam/cam.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcam/cam.3')
-rw-r--r--lib/libcam/cam.320
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libcam/cam.3 b/lib/libcam/cam.3
index c11d8fd..4f918d2 100644
--- a/lib/libcam/cam.3
+++ b/lib/libcam/cam.3
@@ -145,7 +145,7 @@ struct cam_device {
* Device name given by
* the user.
*/
- u_int32_t given_unit_number; /*
+ uint32_t given_unit_number; /*
* Unit number given by
* the user.
*/
@@ -153,7 +153,7 @@ struct cam_device {
* Name of the device,
* e.g. 'pass'
*/
- u_int32_t dev_unit_num; /* Unit number of the passthrough
+ uint32_t dev_unit_num; /* Unit number of the passthrough
* device associated with this
* particular device.
*/
@@ -161,18 +161,18 @@ struct cam_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 */
+ uint32_t sim_unit_number; /* Controller unit number */
+ uint32_t bus_id; /* Controller bus number */
lun_id_t target_lun; /* Logical Unit Number */
target_id_t target_id; /* Target ID */
path_id_t path_id; /* System SCSI bus number */
- u_int16_t pd_type; /* type of peripheral device */
+ uint16_t pd_type; /* type of peripheral device */
struct scsi_inquiry_data inq_data; /* SCSI Inquiry data */
- u_int8_t serial_num[252]; /* device serial number */
- u_int8_t serial_num_len; /* length of the serial number */
- u_int8_t sync_period; /* Negotiated sync period */
- u_int8_t sync_offset; /* Negotiated sync offset */
- u_int8_t bus_width; /* Negotiated bus width */
+ uint8_t serial_num[252]; /* device serial number */
+ uint8_t serial_num_len; /* length of the serial number */
+ uint8_t sync_period; /* Negotiated sync period */
+ uint8_t sync_offset; /* Negotiated sync offset */
+ uint8_t bus_width; /* Negotiated bus width */
int fd; /* file descriptor for device */
};
.Ed
OpenPOWER on IntegriCloud