aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ps3.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/ps3.h')
-rw-r--r--include/asm-powerpc/ps3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h
index 4ff07dbe8169..001121b3eb1b 100644
--- a/include/asm-powerpc/ps3.h
+++ b/include/asm-powerpc/ps3.h
@@ -317,6 +317,7 @@ enum ps3_match_id {
317 PS3_MATCH_ID_STOR_FLASH = 8, 317 PS3_MATCH_ID_STOR_FLASH = 8,
318 PS3_MATCH_ID_SOUND = 9, 318 PS3_MATCH_ID_SOUND = 9,
319 PS3_MATCH_ID_GRAPHICS = 10, 319 PS3_MATCH_ID_GRAPHICS = 10,
320 PS3_MATCH_ID_LPM = 11,
320}; 321};
321 322
322#define PS3_MODULE_ALIAS_EHCI "ps3:1" 323#define PS3_MODULE_ALIAS_EHCI "ps3:1"
@@ -329,11 +330,13 @@ enum ps3_match_id {
329#define PS3_MODULE_ALIAS_STOR_FLASH "ps3:8" 330#define PS3_MODULE_ALIAS_STOR_FLASH "ps3:8"
330#define PS3_MODULE_ALIAS_SOUND "ps3:9" 331#define PS3_MODULE_ALIAS_SOUND "ps3:9"
331#define PS3_MODULE_ALIAS_GRAPHICS "ps3:10" 332#define PS3_MODULE_ALIAS_GRAPHICS "ps3:10"
333#define PS3_MODULE_ALIAS_LPM "ps3:11"
332 334
333enum ps3_system_bus_device_type { 335enum ps3_system_bus_device_type {
334 PS3_DEVICE_TYPE_IOC0 = 1, 336 PS3_DEVICE_TYPE_IOC0 = 1,
335 PS3_DEVICE_TYPE_SB, 337 PS3_DEVICE_TYPE_SB,
336 PS3_DEVICE_TYPE_VUART, 338 PS3_DEVICE_TYPE_VUART,
339 PS3_DEVICE_TYPE_LPM,
337}; 340};
338 341
339/** 342/**
@@ -350,6 +353,11 @@ struct ps3_system_bus_device {
350 struct ps3_dma_region *d_region; /* SB, IOC0 */ 353 struct ps3_dma_region *d_region; /* SB, IOC0 */
351 struct ps3_mmio_region *m_region; /* SB, IOC0*/ 354 struct ps3_mmio_region *m_region; /* SB, IOC0*/
352 unsigned int port_number; /* VUART */ 355 unsigned int port_number; /* VUART */
356 struct { /* LPM */
357 u64 node_id;
358 u64 pu_id;
359 u64 rights;
360 } lpm;
353 361
354/* struct iommu_table *iommu_table; -- waiting for BenH's cleanups */ 362/* struct iommu_table *iommu_table; -- waiting for BenH's cleanups */
355 struct device core; 363 struct device core;