* 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
@@ -14,8 +14,13 @@
#include <PCI.h>
#define VENDOR_ID_INTEL 0x8086
#define DEVICE_ID_i865 0x2572
#define VENDOR_ID_INTEL 0x8086
enum {
INTEL_TYPE_7xx,
INTEL_TYPE_8xx,
INTEL_TYPE_9xx,
};
#define DEVICE_NAME "intel_extreme"
#define INTEL_ACCELERANT_NAME "intel_extreme.accelerant"
@@ -46,6 +51,9 @@ struct intel_shared_info {
uint8 *physical_frame_buffer;
uint32 graphics_memory_size;
uint32 device_type;
char device_identifier[32];
struct pll_info pll_info;
};
@@ -60,6 +68,9 @@ struct intel_info {
area_id shared_area;
uint8 *frame_buffer;
area_id frame_buffer_area;
const char *device_identifier;
uint32 device_type;
};
//----------------- ioctl() interface ----------------