diff options
author | arr <arr@FreeBSD.org> | 2002-06-14 16:59:38 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-06-14 16:59:38 +0000 |
commit | ddf3317becaf1f927336e43f96f900868c8d0a80 (patch) | |
tree | f5a02eaff404955298bf324f2af9ffc25b5473bc /sys/dev/hea/eni_var.h | |
parent | 1fa61e7038c01fdffbb282d50c1dd03ea22c4622 (diff) | |
download | FreeBSD-src-ddf3317becaf1f927336e43f96f900868c8d0a80.zip FreeBSD-src-ddf3317becaf1f927336e43f96f900868c8d0a80.tar.gz |
- Turn the hea and hfa HARP storage pools into UMA zones and insert
the necesary uma_zcreate() and uma_zdestroy calls into module loading
handler and the device attach handling.
- Change the related HARP netatm code to use UMA zone functions when
dealing with the zones that were formerly the ATM interface (hea, hfa)
storage pools.
- Have atm_physif_freenifs() now get passed an uma_zone_t so that we can
properly free the allocated NIF's back to their zone.
This should be the last commit to remove any code that makes use of the
netatm storage pool api. I will be removing the api code within the near
future.
Reviewed by: mdodd
Diffstat (limited to 'sys/dev/hea/eni_var.h')
-rw-r--r-- | sys/dev/hea/eni_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hea/eni_var.h b/sys/dev/hea/eni_var.h index 248807a..cac3ca7 100644 --- a/sys/dev/hea/eni_var.h +++ b/sys/dev/hea/eni_var.h @@ -79,7 +79,7 @@ int eni_closevcc(Cmn_unit *, Cmn_vcc *); */ extern Eni_unit *eni_units[]; extern struct stack_defn *eni_services; -extern struct sp_info eni_nif_pool; -extern struct sp_info eni_vcc_pool; +extern uma_zone_t eni_nif_zone; +extern uma_zone_t eni_vcc_zone; #endif /* _ENI_ENI_VAR_H */ |