Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2020 03:33:47 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360002 - head/usr.sbin/mpsutil
Message-ID:  <202004160333.03G3XlTl068482@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: scottl
Date: Thu Apr 16 03:33:46 2020
New Revision: 360002
URL: https://svnweb.freebsd.org/changeset/base/360002

Log:
  Don't keep a private copy of mpr_ioctl.h and mps_ioctl.h, since they
  easily get out of sync with the real files from the driver.

Deleted:
  head/usr.sbin/mpsutil/mpr_ioctl.h
  head/usr.sbin/mpsutil/mps_ioctl.h
Modified:
  head/usr.sbin/mpsutil/mps_cmd.c

Modified: head/usr.sbin/mpsutil/mps_cmd.c
==============================================================================
--- head/usr.sbin/mpsutil/mps_cmd.c	Thu Apr 16 03:28:28 2020	(r360001)
+++ head/usr.sbin/mpsutil/mps_cmd.c	Thu Apr 16 03:33:46 2020	(r360002)
@@ -39,12 +39,6 @@ __RCSID("$FreeBSD$");
 #include <sys/param.h>
 #include <sys/errno.h>
 #include <sys/ioctl.h>
-#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>
 
@@ -56,6 +50,8 @@ __RCSID("$FreeBSD$");
 #include <unistd.h>
 
 #include "mpsutil.h"
+#include <dev/mps/mps_ioctl.h>
+#include <dev/mpr/mpr_ioctl.h>
 
 #ifndef USE_MPT_IOCTLS
 #define USE_MPT_IOCTLS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004160333.03G3XlTl068482>