Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/bus.h
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | |||||
#define DEV_ATTACH _IOW('D', 1, struct devreq) | #define DEV_ATTACH _IOW('D', 1, struct devreq) | ||||
#define DEV_DETACH _IOW('D', 2, struct devreq) | #define DEV_DETACH _IOW('D', 2, struct devreq) | ||||
#define DEV_ENABLE _IOW('D', 3, struct devreq) | #define DEV_ENABLE _IOW('D', 3, struct devreq) | ||||
#define DEV_DISABLE _IOW('D', 4, struct devreq) | #define DEV_DISABLE _IOW('D', 4, struct devreq) | ||||
#define DEV_SUSPEND _IOW('D', 5, struct devreq) | #define DEV_SUSPEND _IOW('D', 5, struct devreq) | ||||
#define DEV_RESUME _IOW('D', 6, struct devreq) | #define DEV_RESUME _IOW('D', 6, struct devreq) | ||||
#define DEV_SET_DRIVER _IOW('D', 7, struct devreq) | #define DEV_SET_DRIVER _IOW('D', 7, struct devreq) | ||||
#define DEV_RESCAN _IOW('D', 9, struct devreq) | |||||
/* Flags for DEV_DETACH and DEV_DISABLE. */ | /* Flags for DEV_DETACH and DEV_DISABLE. */ | ||||
#define DEVF_FORCE_DETACH 0x0000001 | #define DEVF_FORCE_DETACH 0x0000001 | ||||
/* Flags for DEV_SET_DRIVER. */ | /* Flags for DEV_SET_DRIVER. */ | ||||
#define DEVF_SET_DRIVER_DETACH 0x0000001 /* Detach existing driver. */ | #define DEVF_SET_DRIVER_DETACH 0x0000001 /* Detach existing driver. */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
▲ Show 20 Lines • Show All 749 Lines • Show Last 20 Lines |