Revision 28b3cba8
Added by Brett Keller over 8 years ago
src/etc/inc/system.inc | ||
---|---|---|
2241 | 2241 |
case 'SYS-5018D-FN4T': |
2242 | 2242 |
return (array('name' => 'XG-1540', 'descr' => 'Super Micro XG-1540')); |
2243 | 2243 |
break; |
2244 |
case 'apu2': |
|
2245 |
return (array('name' => 'apu2', 'descr' => 'PC Engines APU2')); |
|
2246 |
break; |
|
2244 | 2247 |
case 'Virtual Machine': |
2245 | 2248 |
if ($maker[0] == "Microsoft Corporation") { |
2246 | 2249 |
return (array('name' => 'Hyper-V', 'descr' => 'Hyper-V Virtual Machine')); |
Also available in: Unified diff
Add specific platform detection for PC Engines APU2
Based detection on $product rather than $hw_model, because $hw_model
returns the name of the AMD SoC, which might be used on other boards.
(cherry picked from commit ffda0181a4c0989085a201e1a9b6bb0b1d691889)