Kernel Functions for Drivers ddiremoveminornode(9F)
NAME
ddiremoveminornode - remove a minor node for this
devinfo
SYNOPSIS
void ddiremoveminornode(devinfot *dip, char *name);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
dip A pointer to the device's devinfo structure.
name The name of this minor device. If name is NUL,
then remove all minor data structures from this
devinfo.
DESCRIPTION
ddiremoveminornode() removes a data structure from the
linked list of minor data structures that is pointed to by
the devinfo structure for this driver.
EXAMPLES
Example 1 Removing a minor node
This will remove a data structure describing a minor device
called dev1 which is linked into the devinfo structure
pointed to by dip:
ddiremoveminornode(dip, "dev1");
SEE ALSO
attach(9E), detach(9E), ddicreateminornode(9F)
Writing Device Drivers
SunOS 5.11 Last change: 10 Mar 1992 1
|