Subversion Repositories Kolibri OS

Rev

Rev 4363 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4363 Rev 5068
Line 158... Line 158...
158
#define PCI_CHIP_VALLEYVIEW_PO		0x0f30 /* VLV PO board */
158
#define PCI_CHIP_VALLEYVIEW_PO		0x0f30 /* VLV PO board */
159
#define PCI_CHIP_VALLEYVIEW_1		0x0f31
159
#define PCI_CHIP_VALLEYVIEW_1		0x0f31
160
#define PCI_CHIP_VALLEYVIEW_2		0x0f32
160
#define PCI_CHIP_VALLEYVIEW_2		0x0f32
161
#define PCI_CHIP_VALLEYVIEW_3		0x0f33
161
#define PCI_CHIP_VALLEYVIEW_3		0x0f33
Line -... Line 162...
-
 
162
 
-
 
163
#define PCI_CHIP_CHERRYVIEW_0		0x22b0
-
 
164
#define PCI_CHIP_CHERRYVIEW_1		0x22b1
-
 
165
#define PCI_CHIP_CHERRYVIEW_2		0x22b2
-
 
166
#define PCI_CHIP_CHERRYVIEW_3		0x22b3
162
 
167
 
163
#define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
168
#define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
164
				 (devid) == PCI_CHIP_I915_GM || \
169
				 (devid) == PCI_CHIP_I915_GM || \
165
				 (devid) == PCI_CHIP_I945_GM || \
170
				 (devid) == PCI_CHIP_I945_GM || \
166
				 (devid) == PCI_CHIP_I945_GME || \
171
				 (devid) == PCI_CHIP_I945_GME || \
Line 309... Line 314...
309
				((devid & 0x000f) == BDW_IRIS) ? 1 : \
314
				((devid & 0x000f) == BDW_IRIS) ? 1 : \
310
				((devid & 0x000f) == BDW_SERVER) ? 1 : \
315
				((devid & 0x000f) == BDW_SERVER) ? 1 : \
311
				((devid & 0x000f) == BDW_WORKSTATION) ? 1 : \
316
				((devid & 0x000f) == BDW_WORKSTATION) ? 1 : \
312
				((devid & 0x000f) == BDW_ULX) ? 1 : 0)
317
				((devid & 0x000f) == BDW_ULX) ? 1 : 0)
Line -... Line 318...
-
 
318
 
-
 
319
#define IS_CHERRYVIEW(devid)	((devid) == PCI_CHIP_CHERRYVIEW_0 || \
-
 
320
				 (devid) == PCI_CHIP_CHERRYVIEW_1 || \
-
 
321
				 (devid) == PCI_CHIP_CHERRYVIEW_2 || \
Line 313... Line 322...
313
 
322
				 (devid) == PCI_CHIP_CHERRYVIEW_3)
-
 
323
 
Line 314... Line 324...
314
 
324
#define IS_GEN8(devid)		(IS_BROADWELL(devid) || \
315
#define IS_GEN8(devid)		IS_BROADWELL(devid)
325
				 IS_CHERRYVIEW(devid))
316
 
326
 
317
#define IS_9XX(dev)		(IS_GEN3(dev) || \
327
#define IS_9XX(dev)		(IS_GEN3(dev) || \