DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_target_hotregister(D3sdi)


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);

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(D2sdi) function with SDI. This function must be called by a target driver if it is to support hot insertion/removal.

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.

Return values

None

Usage

This function is typically called after the target driver calls sdi_doconfig(D3sdi). The ownerp argument is normally the return value of sdi_doconfig.

Context and synchronization

Initialization context.

Applicable hardware

x86/Pentium compatible architectures

Version applicability

sdi: 2, 3, 4 target drivers.

References

owner(D4sdi), rm_dev(D2sdi), sdi_doconfig(D3sdi)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005