summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aacvar.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-02-19 23:33:56 +0000
committerscottl <scottl@FreeBSD.org>2003-02-19 23:33:56 +0000
commita707a60ec37959134933a06cd48349d5295e5400 (patch)
treeffcac7c5dc5f66c1d4cdc2a36967d4c2e7ab1c46 /sys/dev/aac/aacvar.h
parent490f7849d94d8ab5baa625e353f57007487bfd5f (diff)
downloadFreeBSD-src-a707a60ec37959134933a06cd48349d5295e5400.zip
FreeBSD-src-a707a60ec37959134933a06cd48349d5295e5400.tar.gz
Fix a 64-bit bogon. The hardware command structure only has one 32 bit
field for holding driver-dependant data. Instead of putting the pointer to the driver command struct in there, take advantage of these structs being a (virtually) contiguous array and just put the array index in the field.
Diffstat (limited to 'sys/dev/aac/aacvar.h')
-rw-r--r--sys/dev/aac/aacvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aac/aacvar.h b/sys/dev/aac/aacvar.h
index 9c5b5a7..da8ad32 100644
--- a/sys/dev/aac/aacvar.h
+++ b/sys/dev/aac/aacvar.h
@@ -179,6 +179,7 @@ struct aac_command
void *cm_private;
time_t cm_timestamp; /* command creation time */
int cm_queue;
+ int cm_index;
};
struct aac_fibmap {
OpenPOWER on IntegriCloud