updated settings for no cursor and memory fixed to 2Mb; tested and working on a VIA graphics card.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9946 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -95,10 +95,10 @@ static device_hooks graphics_device_hooks = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
#define VENDOR_ID_NVIDIA 0x10de /* Nvidia */
|
#define VENDOR_ID_NVIDIA 0x1106 /* Via */
|
||||||
|
|
||||||
static uint16 nvidia_device_list[] = {
|
static uint16 nvidia_device_list[] = {
|
||||||
// 0x0020, /* Nvidia TNT1 */
|
0x3122, /* */
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -340,8 +340,8 @@ static status_t map_device(device_info *di)
|
|||||||
area_id rom_area;
|
area_id rom_area;
|
||||||
|
|
||||||
/* Nvidia cards have registers in [0] and framebuffer in [1] */
|
/* Nvidia cards have registers in [0] and framebuffer in [1] */
|
||||||
int registers = 0;
|
int registers = 1;
|
||||||
int frame_buffer = 1;
|
int frame_buffer = 0;
|
||||||
// int pseudo_dma = 2;
|
// int pseudo_dma = 2;
|
||||||
|
|
||||||
/* enable memory mapped IO, disable VGA I/O - this is defined in the PCI standard */
|
/* enable memory mapped IO, disable VGA I/O - this is defined in the PCI standard */
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
# nv.accelerant parameters
|
# nv.accelerant parameters
|
||||||
usebios true # if true rely on bios to coldstart the card
|
usebios true # if true rely on bios to coldstart the card
|
||||||
#memory 2 # in MB, override builtin memory size detection
|
memory 2 # in MB, override builtin memory size detection
|
||||||
hardcursor true # if true use on-chip cursor capabilities
|
hardcursor false # if true use on-chip cursor capabilities
|
||||||
#logmask 0x00000000 # nothing logged, is default
|
#logmask 0x00000000 # nothing logged, is default
|
||||||
#logmask 0x08000604 # log overlay use in full
|
#logmask 0x08000604 # log overlay use in full
|
||||||
#logmask 0xffffffff # log everything
|
#logmask 0xffffffff # log everything
|
||||||
|
|||||||
Reference in New Issue
Block a user