Magellan Linux

Diff of /alx-src/branches/alx-web-050/show.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1627 by niro, Fri Dec 3 14:06:48 2010 UTC revision 1628 by niro, Thu Dec 9 21:44:53 2010 UTC
# Line 29  Line 29 
29   $drop = array();   $drop = array();
30   if($alxos >= '0.5.3')   if($alxos >= '0.5.3')
31   {   {
32   $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mga', 'r128', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'via');   $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng');
33   }   }
34   else   else
35   {   {
# Line 38  Line 38 
38   $drop['resolution'] = array('640x480', '800x600', '1024x768', '1280x960', '1280x1024', '1360x768', '1366x768', '1400x1050', '1440x900', '1600x1200', '1680x1050');   $drop['resolution'] = array('640x480', '800x600', '1024x768', '1280x960', '1280x1024', '1360x768', '1366x768', '1400x1050', '1440x900', '1600x1200', '1680x1050');
39   $drop['depth'] = array('24', '16', '8');   $drop['depth'] = array('24', '16', '8');
40   $drop['mouse'] = array('Auto', 'IMPS/2', 'PS/2');   $drop['mouse'] = array('Auto', 'IMPS/2', 'PS/2');
41     $drop['keyboard'] = array('PC105');
42   $drop['cfg_network_module'] = array('3c59x', '8139too', '8139cp', 'e100', 'ne2k-pci', 'pcnet32', 'sis900', 'via-rhine', 'zd1211', 'b44', 'bnx2', 'dl2k', 'e1000', 'r8169', 'sk98lin', 'tg3', 'via-velocity');   $drop['cfg_network_module'] = array('3c59x', '8139too', '8139cp', 'e100', 'ne2k-pci', 'pcnet32', 'sis900', 'via-rhine', 'zd1211', 'b44', 'bnx2', 'dl2k', 'e1000', 'r8169', 'sk98lin', 'tg3', 'via-velocity');
43   $drop['networking'] = array('dhcp', 'static');   $drop['networking'] = array('dhcp', 'static');
44   $drop['port'] = array('lpt1', 'usb1', 'usb2', 'com1', 'com2', 'lpd', 'socket', 'ipp');   $drop['port'] = array('lpt1', 'usb1', 'usb2', 'com1', 'com2', 'lpd', 'socket', 'ipp');
# Line 197  Line 198 
198   $k = str_replace('wireless_', '', $k);   $k = str_replace('wireless_', '', $k);
199   $k2 = $k;   $k2 = $k;
200    
201   //replace i810 with intel on 0.5.3 or higher   //replace some drivers on 0.5.3 or higher
202   if($alxos >= '0.5.3' && $v == 'i810')   if($alxos >= '0.5.3')
203   {   {
204   echo '<br><font color="#FF0000">Replaced "i810" with "intel" - Please press SAVE!</font><br>';   if($v == 'i810')
205   $v='intel';   {
206     echo '<br><font color="#FF0000">Replaced "i810" with "intel" - Please press SAVE!</font><br>';
207     $v='intel';
208     }
209     if($v == 'r128')
210     {
211     echo '<br><font color="#FF0000">Replaced "r128" with "vesa" - Please press SAVE!</font><br>';
212     $v='vesa';
213     }
214    
215     if($v == 'via')
216     {
217     echo '<br><font color="#FF0000">Replaced "via" with "openchrome" - Please press SAVE!</font><br>';
218     $v='openchrome';
219     }
220   }   }
221    
222     # tell something about vesa
223     if ($v == 'vesa') echo '<br><font color="#FF0000">Warning: "vesa" graphic module doesn\'t support any resolutions higher than 1020x786x16@60hz!</font><br>';
224    
225    
226   if(is_array($d))   if(is_array($d))
227   {   {

Legend:
Removed from v.1627  
changed lines
  Added in v.1628