* Moved the intel_info structure and prototypes from intel_extreme.cpp from the shared

headers into intel_extreme_private.h.
* Removed non-memory-mapped definitions from driver.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17452 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-05-14 13:58:52 +00:00
parent cccc4c8383
commit 4955c11be9
3 changed files with 55 additions and 50 deletions
@@ -93,31 +93,6 @@ struct intel_shared_info {
struct pll_info pll_info;
};
struct intel_info {
uint32 cookie_magic;
int32 open_count;
int32 id;
pci_info *pci;
uint8 *registers;
area_id registers_area;
struct intel_shared_info *shared_info;
area_id shared_area;
struct overlay_registers *overlay_registers;
// update buffer, shares an area with shared_info
uint8 *graphics_memory;
area_id graphics_memory_area;
area_id additional_memory_area;
// allocated memory beyond the "stolen" amount
mem_info *memory_manager;
bool fake_interrupts;
const char *device_identifier;
uint32 device_type;
};
//----------------- ioctl() interface ----------------
// magic code for ioctls
@@ -487,9 +462,4 @@ struct hardware_status {
uint32 store[1008];
};
//----------------------------------------------------------
extern status_t intel_extreme_init(intel_info &info);
extern void intel_extreme_uninit(intel_info &info);
#endif /* INTEL_EXTREME_H */