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