From 76aa5cf82a4b3cda75608c578c9d3e32e867b9bd Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Mon, 7 Feb 2011 22:53:56 +0000 Subject: [PATCH] added a better list of pci Radeon HD cards to the radeon_hd driver skel; fixed misplaced spaces git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40377 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../drivers/graphics/radeon_hd/driver.cpp | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/add-ons/kernel/drivers/graphics/radeon_hd/driver.cpp b/src/add-ons/kernel/drivers/graphics/radeon_hd/driver.cpp index 2c70549b0d..bd7c706871 100644 --- a/src/add-ons/kernel/drivers/graphics/radeon_hd/driver.cpp +++ b/src/add-ons/kernel/drivers/graphics/radeon_hd/driver.cpp @@ -35,7 +35,19 @@ const struct supported_device { int32 type; const char* name; } kSupportedDevices[] = { - {0x9612, 0, "HD 3200"} + {0x9540, 0, "Radeon HD 4550"}, /*RV710*/ + {0x954f, 0, "Radeon HD 4350"}, /*RV710*/ + {0x9610, 0, "Radeon HD 3200"}, /*RS780, IGP*/ + {0x9611, 0, "Radeon 3100"}, /*RS780, IGP*/ + {0x9612, 0, "Radeon HD 3200"}, /*RS780, IGP*/ + {0x9613, 0, "Radeon 3100"}, /*RS780, IGP*/ + {0x9614, 0, "Radeon 3300"}, /*RS780, IGP*/ + {0x9615, 0, "Radeon 3200"}, /*RS780, IGP*/ + {0x9616, 0, "Radeon 3000"}, /*RS780, IGP*/ + {0x9710, 0, "Radeon HD 4200"}, /*RS880, IGP*/ + {0x9711, 0, "Radeon 4100"}, /*RS880, IGP*/ + {0x9714, 0, "Radeon HD 4290"}, /*RS880, IGP*/ + {0x9715, 0, "Radeon HD 4250"} /*RS880, IGP*/ }; @@ -142,8 +154,8 @@ init_driver(void) char name[64]; sprintf(name, "graphics/radeon_hd_%02x%02x%02x", - info->bus, info->device, - info->function); + info->bus, info->device, + info->function); gDeviceNames[found] = strdup(name); if (gDeviceNames[found] == NULL)