summaryrefslogtreecommitdiffstats
path: root/spec/rtems/io/if/unregister-driver.yml
blob: 4070d207f014543d74293c089b22e48ffbde70f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Removes a device driver specified by the device major number from the Device
  Driver Table.
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
definition:
  default:
    attributes: null
    body: null
    params:
    - ${device-major-number:/name} ${.:/params[0]/name}
    return: ${../../status/if/code:/name}
  variants: []
description: null
enabled-by: true
index-entries:
- unregister a device driver
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/directive-not-pre-qualified
name: rtems_io_unregister_driver
notes: |
  Currently no specific checks are made and the driver is not closed.
params:
- description: |
    is the major number of the device.
  dir: null
  name: major
return:
  return: null
  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