diff options
author | imp <imp@FreeBSD.org> | 2005-04-12 15:25:31 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-04-12 15:25:31 +0000 |
commit | 899856ecd8075d9011f75188548ea2b56eb32da4 (patch) | |
tree | dd9ac2471c8e7c0a8a8373ce832e933c62e53695 /sys/dev/pccard/pccardvar.h | |
parent | 9e1c558a88394d9d6fa06642b00549bee0418544 (diff) | |
download | FreeBSD-src-899856ecd8075d9011f75188548ea2b56eb32da4.zip FreeBSD-src-899856ecd8075d9011f75188548ea2b56eb32da4.tar.gz |
Big cleanup of resource code for pccard. Once coventry noticed
problems here, it became clear we were being too complex.
o Don't keep track of resources in two places
o Use resource_list_purge instead of rolling our own
o Just reassign the ownership of the resource, rather than freeing it
and reallocating it.
o Fix compile problems when sizeof(u_long) != sizeof(int)
Diffstat (limited to 'sys/dev/pccard/pccardvar.h')
-rw-r--r-- | sys/dev/pccard/pccardvar.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/pccard/pccardvar.h b/sys/dev/pccard/pccardvar.h index 68c4c95..11efa01 100644 --- a/sys/dev/pccard/pccardvar.h +++ b/sys/dev/pccard/pccardvar.h @@ -98,9 +98,6 @@ struct pccard_config_entry { u_long hostaddr; } memspace[2]; /* XXX this could be as high as 8 */ int maxtwins; - struct resource *iores[4]; - struct resource *irqres; - struct resource *memres[2]; STAILQ_ENTRY(pccard_config_entry) cfe_list; }; |