From owner-svn-src-stable-7@FreeBSD.ORG Wed Apr 8 02:04:07 2009 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 865BF1065672; Wed, 8 Apr 2009 02:04:07 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 73A998FC16; Wed, 8 Apr 2009 02:04:07 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n38247ku039693; Wed, 8 Apr 2009 02:04:07 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n38247cE039692; Wed, 8 Apr 2009 02:04:07 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <200904080204.n38247cE039692@svn.freebsd.org> From: Xin LI Date: Wed, 8 Apr 2009 02:04:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190835 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/hptiop X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 02:04:08 -0000 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)