added ISA I/O functions in kerneldriver (for coldstart script exec)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8782 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-09-01 20:10:51 +00:00
parent fc3f2e637d
commit 1056bcb0ca

View File

@ -67,7 +67,9 @@ enum {
NV_DEVICE_NAME,
NV_RUN_INTERRUPTS,
NV_GET_NTH_AGP_INFO,
NV_ENABLE_AGP
NV_ENABLE_AGP,
NV_ISA_OUT,
NV_ISA_IN
};
/* max. number of overlay buffers */
@ -341,6 +343,14 @@ typedef struct {
uint32 cmd; /* actual command to execute */
} nv_cmd_agp;
/* Read or write a value in ISA I/O space */
typedef struct {
uint32 magic; /* magic number to make sure the caller groks us */
uint16 adress; /* Offset to read/write */
uint8 size; /* Number of bytes to transfer */
uint16 data; /* The value read or written */
} nv_in_out_isa;
enum {
_WAIT_FOR_VBLANK = (1 << 0)