* init_driver() now behaves better in low memory situations.

* Some preparations to support more than one chipset, added i855G (device ID 0x3582)
  to test with - the accelerant_device_info is now filled with that additional data
  as well.
* Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16982 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-04-03 13:21:31 +00:00
parent 224a6b047f
commit 020c1aa823
6 changed files with 105 additions and 73 deletions
@@ -139,6 +139,17 @@ intel_extreme_init(intel_info &info)
info.shared_info->pll_info.max_frequency = 350000; // 350 MHz RAM DAC speed
info.shared_info->pll_info.divisor_register = INTEL_DISPLAY_PLL_DIVISOR_0;
info.shared_info->device_type = info.device_type;
#ifdef __HAIKU__
strlcpy(info.shared_info->device_identifier, info.device_identifier,
sizeof(info.shared_info->device_identifier));
#else
strcpy(info.shared_info->device_identifier, info.device_identifier);
#endif
info.cookie_magic = INTEL_COOKIE_MAGIC;
// this makes the cookie valid to be used
dprintf(DEVICE_NAME "intel_extreme_init() completed successfully!\n");
return B_OK;