summaryrefslogtreecommitdiffstats
path: root/spec/rtems/io/if/unregister-driver.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/io/if/unregister-driver.yml')
-rw-r--r--spec/rtems/io/if/unregister-driver.yml21
1 files changed, 17 insertions, 4 deletions
diff --git a/spec/rtems/io/if/unregister-driver.yml b/spec/rtems/io/if/unregister-driver.yml
index 0f7cf261..6f1b4253 100644
--- a/spec/rtems/io/if/unregister-driver.yml
+++ b/spec/rtems/io/if/unregister-driver.yml
@@ -1,5 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: '%'
+brief: |
+ Removes a device driver specified by the device major number from the Device
+ Driver Table.
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
@@ -19,12 +21,23 @@ links:
- role: interface-ingroup
uid: group
name: rtems_io_unregister_driver
-notes: null
+notes: |
+ Currently no specific checks are made and the driver is not closed.
params:
-- description: '%'
+- description: |
+ is the major number of the device.
dir: null
name: major
return:
return: null
- return-values: []
+ return-values:
+ - description: |
+ The requested operation was successful.
+ value: ${../../status/if/successful:/name}
+ - description: |
+ The device major number was invalid.
+ value: ${../../status/if/unsatisfied:/name}
+ - description: |
+ The directive was called from interrupt context.
+ value: ${../../status/if/called-from-isr:/name}
type: interface