svn commit: r185466 - projects/ath_hal

Sam Leffler sam at FreeBSD.org
Sat Nov 29 21:44:58 PST 2008


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"
 
 /*


More information about the svn-src-projects mailing list