2 * Copyright 2013, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Jérôme Duval, korli@berlios.de
12 #include <device_manager.h>
16 driver_module_info info
;
17 } random_for_controller_interface
;
20 #define RANDOM_FOR_CONTROLLER_MODULE_NAME "bus_managers/random/controller/driver_v1"
22 // Bus manager interface used by Random controller drivers.
23 typedef struct random_module_info
{
24 driver_module_info info
;
26 status_t (*read
)(void* cookie
, void *_buffer
, size_t *_numBytes
);
27 status_t (*write
)(void* cookie
, const void *_buffer
, size_t *_numBytes
);
31 #endif /* _RANDOM_H */