2 * Copyright 2005, Oscar Lesta. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _POKE_DRIVER_H_
6 #define _POKE_DRIVER_H_
13 #define POKE_DEVICE_NAME "poke"
14 #define POKE_DEVICE_FULLNAME "/dev/misc/poke"
15 #define POKE_SIGNATURE 'wltp' // "We Like To Poke"
19 POKE_PORT_READ
= B_DEVICE_OP_CODES_END
+ 1,
21 POKE_PORT_INDEXED_READ
,
22 POKE_PORT_INDEXED_WRITE
,
24 POKE_PCI_WRITE_CONFIG
,
25 POKE_GET_NTH_PCI_INFO
,
26 POKE_GET_PHYSICAL_ADDRESS
,
43 uint8 size
; // == index for POKE_PORT_INDEXED_*
63 void* physical_address
;
70 #endif // _POKE_DRIVER_H_