svn commit: r190835 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/hptiop

Xin LI delphij at FreeBSD.org
Tue Apr 7 19:04:08 PDT 2009


Author: delphij
Date: Wed Apr  8 02:04:07 2009
New Revision: 190835
URL: http://svn.freebsd.org/changeset/base/190835

Log:
  MFC 190398 + 190405:
  
  Use __packed for ioctl structure to make High Point management tool work.
  
  Approved by:	re (kensmith)

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/dev/hptiop/hptiop.h

Modified: stable/7/sys/dev/hptiop/hptiop.h
==============================================================================
--- stable/7/sys/dev/hptiop/hptiop.h	Wed Apr  8 00:14:06 2009	(r190834)
+++ stable/7/sys/dev/hptiop/hptiop.h	Wed Apr  8 02:04:07 2009	(r190835)
@@ -260,7 +260,7 @@ struct hpt_iop_ioctl_param {
 	unsigned long    lpOutBuffer;           /* output data buffer */
 	u_int32_t        nOutBufferSize;        /* size of output data buffer */
 	unsigned long    lpBytesReturned;       /* count of HPT_U8s returned */
-};
+} __packed;
 
 #define HPT_IOCTL_FLAG_OPEN 1
 #define HPT_CTL_CODE_BSD_TO_IOP(x) ((x)-0xff00)


More information about the svn-src-stable-7 mailing list