summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mpsutil
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-10-16 09:37:15 +0000
committerbapt <bapt@FreeBSD.org>2015-10-16 09:37:15 +0000
commite713e0e4be96c25b8680b6e3ca8350c5507b7425 (patch)
tree60fc72019260103793fa3d15c52c0bc615865770 /usr.sbin/mpsutil
parenta2bbcc06f3f85c6cd1788e3efdf77dbd555fb961 (diff)
downloadFreeBSD-src-e713e0e4be96c25b8680b6e3ca8350c5507b7425.zip
FreeBSD-src-e713e0e4be96c25b8680b6e3ca8350c5507b7425.tar.gz
Remove the now not needed diff used to switch the tool from mps to mpr
Sponsored by: Gandi.net
Diffstat (limited to 'usr.sbin/mpsutil')
-rw-r--r--usr.sbin/mpsutil/mps_mpr.diff68
1 files changed, 0 insertions, 68 deletions
diff --git a/usr.sbin/mpsutil/mps_mpr.diff b/usr.sbin/mpsutil/mps_mpr.diff
deleted file mode 100644
index 328efa1..0000000
--- a/usr.sbin/mpsutil/mps_mpr.diff
+++ /dev/null
@@ -1,68 +0,0 @@
---- //depot/projects/lsimultiq/head/usr.sbin/mpsutil/mps_cmd.c 2015-02-16 06:22:37.000000000 -0700
-+++ /home/scottl/p4/projects/lsimultiq/head/usr.sbin/mpsutil/mps_cmd.c 2015-02-16 06:22:37.000000000 -0700
-@@ -37,7 +37,7 @@
- #if 0
- #include <sys/mps_ioctl.h>
- #else
--#include "mps_ioctl.h"
-+#include "mpr_ioctl.h"
- #endif
- #include <sys/sysctl.h>
- #include <sys/uio.h>
-@@ -237,7 +237,7 @@
- mps_map_btdh(int fd, uint16_t *devhandle, uint16_t *bus, uint16_t *target)
- {
- int error;
-- struct mps_btdh_mapping map;
-+ struct mpr_btdh_mapping map;
-
- bzero(&map, sizeof(map));
- map.Bus = *bus;
-@@ -629,9 +629,9 @@
- mps_user_command(int fd, void *req, uint32_t req_len, void *reply,
- uint32_t reply_len, void *buffer, int len, uint32_t flags)
- {
-- struct mps_usr_command cmd;
-+ struct mpr_usr_command cmd;
-
-- bzero(&cmd, sizeof(struct mps_usr_command));
-+ bzero(&cmd, sizeof(struct mpr_usr_command));
- cmd.req = req;
- cmd.req_len = req_len;
- cmd.rpl = reply;
-@@ -640,7 +640,7 @@
- cmd.len = len;
- cmd.flags = flags;
-
-- if (ioctl(fd, MPSIO_MPS_COMMAND, &cmd) < 0)
-+ if (ioctl(fd, MPRIO_MPR_COMMAND, &cmd) < 0)
- return (errno);
- return (0);
- }
-@@ -650,7 +650,7 @@
- uint32_t reply_len, void *data_in, uint32_t datain_len, void *data_out,
- uint32_t dataout_len, uint32_t timeout)
- {
-- struct mps_pass_thru pass;
-+ struct mpr_pass_thru pass;
-
- pass.PtrRequest = (uint64_t)(uintptr_t)req;
- pass.PtrReply = (uint64_t)(uintptr_t)reply;
-@@ -661,13 +661,13 @@
- pass.DataSize = datain_len;
- pass.DataOutSize = dataout_len;
- if (datain_len && dataout_len)
-- pass.DataDirection = MPS_PASS_THRU_DIRECTION_BOTH;
-+ pass.DataDirection = MPR_PASS_THRU_DIRECTION_BOTH;
- else if (datain_len)
-- pass.DataDirection = MPS_PASS_THRU_DIRECTION_READ;
-+ pass.DataDirection = MPR_PASS_THRU_DIRECTION_READ;
- else if (dataout_len)
-- pass.DataDirection = MPS_PASS_THRU_DIRECTION_WRITE;
-+ pass.DataDirection = MPR_PASS_THRU_DIRECTION_WRITE;
- else
-- pass.DataDirection = MPS_PASS_THRU_DIRECTION_NONE;
-+ pass.DataDirection = MPR_PASS_THRU_DIRECTION_NONE;
- pass.Timeout = timeout;
-
- if (ioctl(fd, MPTIOCTL_PASS_THRU, &pass) < 0)
OpenPOWER on IntegriCloud