igt/intel_iosf: rename IOSF sideband opcodes according to the spec

These opcodes are not specific for an endpoint, but are the same for all
endpoints. So rename them accordingly, using the name the VLV2 sideband
HAS uses. Also move the macros to the .c file, since they aren't used
anywhere else.

Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
Imre Deak
2014-05-19 13:26:35 +03:00
parent 3005ac3ee8
commit ad08999794
2 changed files with 16 additions and 13 deletions
-5
View File
@@ -3576,9 +3576,4 @@ typedef enum {
#define VLV_IOSF_DATA (VLV_DISPLAY_BASE + 0x2104)
#define VLV_IOSF_ADDR (VLV_DISPLAY_BASE + 0x2108)
#define DPIO_OPCODE_REG_READ 0
#define DPIO_OPCODE_REG_WRITE 1
#define PUNIT_OPCODE_REG_READ 6
#define PUNIT_OPCODE_REG_WRITE 7
#endif /* _I810_REG_H */