diff options
author | bapt <bapt@FreeBSD.org> | 2015-10-15 15:51:40 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-10-15 15:51:40 +0000 |
commit | 6df759e1d943760b9bc0ad2d03c22258ba44106e (patch) | |
tree | 6a7f41ce9cbcecb43b3015998492c064bfc8ee4b /usr.sbin/mpsutil/mpr_ioctl.h | |
parent | 90d77eb60be7325c763918720ca6a6f98b07c2f4 (diff) | |
download | FreeBSD-src-6df759e1d943760b9bc0ad2d03c22258ba44106e.zip FreeBSD-src-6df759e1d943760b9bc0ad2d03c22258ba44106e.tar.gz |
Add generic storage structure for both mpr and mps to simplify code
Use correct ioctl on mpr
Prevent duplication in headers between mps_ioctl.h and mpr_ioctl.h
Sponsored by: Gandi.net
Diffstat (limited to 'usr.sbin/mpsutil/mpr_ioctl.h')
-rw-r--r-- | usr.sbin/mpsutil/mpr_ioctl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/mpsutil/mpr_ioctl.h b/usr.sbin/mpsutil/mpr_ioctl.h index 5ec482f..82627b9 100644 --- a/usr.sbin/mpsutil/mpr_ioctl.h +++ b/usr.sbin/mpsutil/mpr_ioctl.h @@ -360,6 +360,7 @@ typedef struct mpr_btdh_mapping #define MPRIO_RAID_ACTION _IOWR('M', 205, struct mpr_raid_action) #define MPRIO_MPR_COMMAND _IOWR('M', 210, struct mpr_usr_command) +#ifndef MPTIOCTL #define MPTIOCTL ('I') #define MPTIOCTL_GET_ADAPTER_DATA _IOWR(MPTIOCTL, 1,\ struct mpr_adapter_data) @@ -382,5 +383,6 @@ typedef struct mpr_btdh_mapping struct mpr_reg_access) #define MPTIOCTL_BTDH_MAPPING _IOWR(MPTIOCTL, 11,\ struct mpr_btdh_mapping) +#endif #endif /* !_MPR_IOCTL_H_ */ |