OSDN Git Service

Associate master file pointer with command list buffer.
authorIan Romanick <idr@us.ibm.com>
Thu, 9 Aug 2007 22:23:13 +0000 (15:23 -0700)
committerIan Romanick <idr@us.ibm.com>
Thu, 9 Aug 2007 22:23:13 +0000 (15:23 -0700)
commit25cb876f8513d02d4d189371eaa8b7b9a88e860d
tree6de640d6a211af99fd990f6a7455bd49d0bb7659
parentf7ba02b7458823627097a2320bf9befa84fc9c76
Associate master file pointer with command list buffer.

Pass the master's file pointer, as supplied to xgi_bootstrap, to
xgi_cmdlist_initialize.  Associate that pointer with the memory
allocated for the command list buffer.  By doing this the memory will
be automatically cleaned up when the master closes the device.  This
allows the removal of some clean up code.
linux-core/xgi_cmdlist.c
linux-core/xgi_cmdlist.h
linux-core/xgi_drv.c
linux-core/xgi_drv.h