From owner-svn-src-projects@FreeBSD.ORG Sun Nov 30 05:44:58 2008 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A49991065675; Sun, 30 Nov 2008 05:44:58 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9D0398FC13; Sun, 30 Nov 2008 05:44:58 +0000 (UTC) (envelope-from sam@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 mAU5iwFZ073771; Sun, 30 Nov 2008 05:44:58 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAU5iwsJ073770; Sun, 30 Nov 2008 05:44:58 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200811300544.mAU5iwsJ073770@svn.freebsd.org> From: Sam Leffler Date: Sun, 30 Nov 2008 05:44:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185466 - projects/ath_hal X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2008 05:44:58 -0000 Author: sam Date: Sun Nov 30 05:44:58 2008 New Revision: 185466 URL: http://svn.freebsd.org/changeset/base/185466 Log: move bus+softc typedefs to ah_osdep.h so we can eliminate the opaque write-around; it doesn't work for some platforms (e.g. ia64) and is now pointless Modified: projects/ath_hal/ah.h Modified: projects/ath_hal/ah.h ============================================================================== --- projects/ath_hal/ah.h Sun Nov 30 05:10:14 2008 (r185465) +++ projects/ath_hal/ah.h Sun Nov 30 05:44:58 2008 (r185466) @@ -28,18 +28,6 @@ * reference as the first parameter. */ -/* - * Bus i/o type definitions. We define a platform-independent - * set of types that are mapped to platform-dependent data for - * register read/write operations. We use types that are large - * enough to hold a pointer; smaller data should fit and only - * require type coercion to work. Larger data can be stored - * elsewhere and a reference passed for the bus tag and/or handle. - */ -typedef void* HAL_SOFTC; /* pointer to driver/OS state */ -typedef void* HAL_BUS_TAG; /* opaque bus i/o id tag */ -typedef void* HAL_BUS_HANDLE; /* opaque bus i/o handle */ - #include "ah_osdep.h" /*