* 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
@@ -97,12 +97,6 @@ device_open(const char *name, uint32 flags, void **_cookie)
if (info->open_count++ == 0) {
// this device has been opened for the first time, so
// we allocate needed resources and initialize the structure
info->cookie_magic = INTEL_COOKIE_MAGIC;
info->id = id;
info->pci = gPCIInfo[id];
info->registers = (uint8 *)gPCIInfo[id]->u.h0.base_registers[0];
status = intel_extreme_init(*info);
}