Change handling of begin types slightly.
authorIan Romanick <idr@us.ibm.com>
Fri, 20 Jul 2007 17:57:40 +0000 (10:57 -0700)
committerIan Romanick <idr@us.ibm.com>
Fri, 20 Jul 2007 17:57:40 +0000 (10:57 -0700)
commit6bd848307485f678915913f282e2ea59ae3ca1a8
tree599091ec37bfd2be36d5af81ac30a5ff9b216d47
parent56665a42f470d5cf8cb4865558cb658dff15a9dd
Change handling of begin types slightly.

Moved the getCurBatchBeginPort before its only caller.  Modified
function to return the command ID instead of the port offset.
Function also now assumes input begin type is value.

Added code to ioctl handler to validate begin type.
linux-core/xgi_cmdlist.c