sdi_acfree(D3I) sdi_acfree(D3I)
NAME
sdi_acfree - free idata memory and detach interrupts
SYNOPSIS
#include <sys/sdi.h>
void sdi_acfree(HBA_IDATA_STRUCT *idata, int cntls);
Arguments
idata Pointer to idata structure array (allocated by
sdi_hba_autoconf()).
cntls Number of controllers associated with driver (should
represent the size of the idata structure array).
DESCRIPTION
sdi_acfree frees memory associated with the given idata
structure array. The idata structure array should have been
initially allocated by sdi_hba_autoconf(D3I). sdi_acfree will
also detach interrupts associated with any of the idata
array's structures.
Return Values
None.
USAGE
sdi_acfree is called when a target device driver is being
unloaded to free memory and detach interrupts.
Level
Initialization or Base.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
sdi_hba_autoconf(D3I)
NOTICES
Applicability
sdi: 2
Copyright 1994 Novell, Inc. Page 1