diff options
author | imp <imp@FreeBSD.org> | 2004-09-11 04:28:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-09-11 04:28:46 +0000 |
commit | 29be2a1aa0d810520df0d9e102f6710acd027193 (patch) | |
tree | 47b7c8056ae274d13735f8064c1b939a35e95094 | |
parent | 136dd28a2e31cb12983cb49e4360be09330cfc86 (diff) | |
download | FreeBSD-src-29be2a1aa0d810520df0d9e102f6710acd027193.zip FreeBSD-src-29be2a1aa0d810520df0d9e102f6710acd027193.tar.gz |
Add two spare fields to struct resource for some planned enhacenments
to make it possible to merge them w/o changing the size of struct resource
which some drivers unfortunately still need to know.
-rw-r--r-- | sys/sys/rman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/rman.h b/sys/sys/rman.h index e4b0442..18a9e61 100644 --- a/sys/sys/rman.h +++ b/sys/sys/rman.h @@ -107,6 +107,8 @@ struct resource { bus_space_handle_t r_bushandle; /* bus_space handle */ struct device *r_dev; /* device which has allocated this resource */ struct rman *r_rm; /* resource manager from whence this came */ + void *r_spare1; /* Spare pointer 1 */ + void *r_spare2; /* Spare pointer 2 */ int r_rid; /* optional rid for this resource. */ }; #else |