summaryrefslogtreecommitdiff
path: root/linux-core/xgi_cmdlist.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-20 11:29:16 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-20 11:29:16 -0700
commit659209cb2d59c7b25df58d130d0649f8f899b693 (patch)
tree6770e224249daf9f4c7b06e8a92f32b15fcac803 /linux-core/xgi_cmdlist.h
parent6bd848307485f678915913f282e2ea59ae3ca1a8 (diff)
Clean up generation of begin commands in xgi_submit_cmdlist
Generate the begin command once in a temporary buffer. Then, depending on whether the command is to be written directly to the hardware or to a secondary buffer, copy to command to the correct place.
Diffstat (limited to 'linux-core/xgi_cmdlist.h')
-rw-r--r--linux-core/xgi_cmdlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/xgi_cmdlist.h b/linux-core/xgi_cmdlist.h
index 4bc56ec1..08029386 100644
--- a/linux-core/xgi_cmdlist.h
+++ b/linux-core/xgi_cmdlist.h
@@ -40,6 +40,7 @@
#define M2REG_PCI_TRIGGER_MODE_MASK (ONE_BIT_MASK<<1)
#define BEGIN_VALID_MASK (ONE_BIT_MASK<<20)
#define BEGIN_LINK_ENABLE_MASK (ONE_BIT_MASK<<31)
+#define BEGIN_BEGIN_IDENTIFICATION_MASK (TWENTY_BIT_MASK<<0)
#define M2REG_PCI_TRIGGER_REGISTER_ADDRESS 0x14
typedef enum {