sdi_target_hotregister(D3I) sdi_target_hotregister(D3I)
NAME
sdi_target_hotregister - register hot insertion/removal
support with SDI
SYNOPSIS
#include <sys/sdi.h>
#include <sys/ddi.h>
void sdi_target_hotregister(int *(rm_dev_f)(), struct owner *ownerp);
Arguments
rm_dev_f
Pointer to the target driver's hot remove function.
Must not be NULL.
ownerp
The linked list of owner structures that are claimed by
this target driver. The structures should be linked
together with the target_links elements of owner and
NULL terminated.
DESCRIPTION
sdi_target_hotregister is used to register a target driver's
support of hot insertion/removal. It also registers the
target driver's rm_dev(D2I) function with SDI. This function
must be called by a target driver if it is to support hot
insertion/removal.
Return Values
None.
USAGE
This function is typically called after the target driver
calls sdi_doconfig(D3I). The ownerp argument is normally the
return value of sdi_doconfig.
Level
Initialization or Base.
REFERENCES
owner(D4I), rm_dev(D2I), sdi_doconfig(D3I)
NOTICES
Applicability
sdi: 2
Copyright 1994 Novell, Inc. Page 1