From d5daf6c02ecd3117959b8f2bdf41613606757a56 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 11 Sep 2004 04:28:46 +0000 Subject: 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. --- sys/sys/rman.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/rman.h b/sys/sys/rman.h index e4b0442d62c2f..18a9e6177e4cb 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 -- cgit v1.3