1ddi_remove_minor_node(9F)Kernel Functions for Driversddi_remove_minor_node(9F)
2
3
4
6 ddi_remove_minor_node - remove a minor node for this dev_info
7
9 void ddi_remove_minor_node(dev_info_t *dip, char *name);
10
11
13 Solaris DDI specific (Solaris DDI).
14
16 dip A pointer to the device's dev_info structure.
17
18
19 name The name of this minor device. If name is NULL, then remove
20 all minor data structures from this dev_info.
21
22
24 ddi_remove_minor_node() removes a data structure from the linked list
25 of minor data structures that is pointed to by the dev_info structure
26 for this driver.
27
29 Example 1 Removing a minor node
30
31
32 This will remove a data structure describing a minor device called dev1
33 which is linked into the dev_info structure pointed to by dip:
34
35
36 ddi_remove_minor_node(dip, "dev1");
37
38
40 attach(9E), detach(9E), ddi_create_minor_node(9F)
41
42
43 Writing Device Drivers
44
45
46
47SunOS 5.11 10 Mar 1992 ddi_remove_minor_node(9F)