commit | 30af691066dccba9d5e44c6656030faec25458be | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Fri Sep 14 17:30:44 2012 +0100 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Wed Aug 21 16:35:22 2013 +0100 |
tree | 297ddc493e9fc3133bc2c71c0bd5c77516e90efd | |
parent | 59cfc479b2c8ba344c8497d5c913b6cba2ce3755 [diff] |
sfc: Rationalise MCDI buffer accessors Add _MCDI_DWORD() which yields an lvalue for the given dword field and change MCDI_DWORD(), MCDI_SET_DWORD() and MCDI_QWORD() to use it. Fold the rather trivial MCDI_PTR2() into MCDI_PTR() and _MCDI_DWORD(). Remove MCDI_SET_DWORD2() and MCDI_QWORD2(). MCDI_DWORD2() should also go, but it still has one user which we'll get rid of later. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>