Rechercher une page de manuel

Chercher une autre page de manuel:

DEVICE_DETACH.9freebsd

Langue: en

Version: 309620 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

DEVICE_DETACH - detach a device

SYNOPSIS

In sys/param.h In sys/bus.h Ft int Fn DEVICE_DETACH device_t dev

DESCRIPTION

Detach a device. This can be called if the user is replacing the driver software or if a device is about to be physically removed from the system (e.g. for pccard(4) devices).

The method should deallocate any system resources allocated during the DEVICE_ATTACH9 method and reset the hardware to a sane state (i.e., disable interrupts etc.)

RETURN VALUES

Zero is returned on success, otherwise an appropriate error is returned.

SEE ALSO

pccard(4), device(9), DEVICE_ATTACH9, DEVICE_IDENTIFY9, DEVICE_PROBE9, DEVICE_SHUTDOWN9

AUTHORS

This manual page was written by An Doug Rabson .
Les infinis sont des abus de langage et d'écriture, des développements
fiduciaires sans garantie.
-+- Paul Valéry, Cahiers -+-