diff options
author | bapt <bapt@FreeBSD.org> | 2015-10-28 11:28:46 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-10-28 11:28:46 +0000 |
commit | 29a75bb3b5b1063047dab0367ba9d8244fff1b14 (patch) | |
tree | a65356bf35dc7b3d01ffb748f858c5119813689b /usr.sbin/mpsutil/mpsutil.h | |
parent | 9c5528f5f040ad644c1307040dff943075c6becf (diff) | |
download | FreeBSD-src-29a75bb3b5b1063047dab0367ba9d8244fff1b14.zip FreeBSD-src-29a75bb3b5b1063047dab0367ba9d8244fff1b14.tar.gz |
Remove more of the mptutil unused code
Sponsored by: Gandi.net
Diffstat (limited to 'usr.sbin/mpsutil/mpsutil.h')
-rw-r--r-- | usr.sbin/mpsutil/mpsutil.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/usr.sbin/mpsutil/mpsutil.h b/usr.sbin/mpsutil/mpsutil.h index 1842384..0c1a941 100644 --- a/usr.sbin/mpsutil/mpsutil.h +++ b/usr.sbin/mpsutil/mpsutil.h @@ -141,37 +141,4 @@ mps_read_ioc_page(int fd, U8 PageNumber, U16 *IOCStatus) MPI2_IOC_FACTS_REPLY * mps_get_iocfacts(int fd); -#if 0 -static __inline U32 -mpt_vol_pageaddr(U8 VolumeBus, U8 VolumeID) -{ - - return (VolumeBus << 8 | VolumeID); -} - -static __inline CONFIG_PAGE_RAID_VOL_0 * -mpt_vol_info(int fd, U8 VolumeBus, U8 VolumeID, U16 *IOCStatus) -{ - - return (mpt_read_config_page(fd, MPI_CONFIG_PAGETYPE_RAID_VOLUME, 0, - mpt_vol_pageaddr(VolumeBus, VolumeID), IOCStatus)); -} - -static __inline CONFIG_PAGE_RAID_VOL_1 * -mpt_vol_names(int fd, U8 VolumeBus, U8 VolumeID, U16 *IOCStatus) -{ - - return (mpt_read_config_page(fd, MPI_CONFIG_PAGETYPE_RAID_VOLUME, 1, - mpt_vol_pageaddr(VolumeBus, VolumeID), IOCStatus)); -} - -static __inline CONFIG_PAGE_RAID_PHYS_DISK_0 * -mpt_pd_info(int fd, U8 PhysDiskNum, U16 *IOCStatus) -{ - - return (mpt_read_config_page(fd, MPI_CONFIG_PAGETYPE_RAID_PHYSDISK, 0, - PhysDiskNum, IOCStatus)); -} -#endif - #endif /* !__MPTUTIL_H__ */ |