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
This commit is contained in:
Sam Leffler 2008-11-30 05:44:58 +00:00
parent 82bf290a5a
commit 9f213138eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/ath_hal/; revision=185466

12
ah.h
View File

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