From e70e14e424062a7dda7e8b87833652c3b5b33f68 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 10 Aug 2014 04:10:21 +1000 Subject: client: add method to retrieve device list Signed-off-by: Ben Skeggs --- nvif/class.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'nvif') diff --git a/nvif/class.h b/nvif/class.h index 36ecc3e6a..3013656bd 100644 --- a/nvif/class.h +++ b/nvif/class.h @@ -9,6 +9,20 @@ #define NV_DEVICE 0x00000080 +/******************************************************************************* + * client + ******************************************************************************/ + +#define NV_CLIENT_DEVLIST 0x00 + +struct nv_client_devlist_v0 { + __u8 version; + __u8 count; + __u8 pad02[6]; + __u64 device[]; +}; + + /******************************************************************************* * device ******************************************************************************/ -- cgit v1.2.1