Ticket #5872: nvidia02e2.diff
File nvidia02e2.diff, 2.4 KB (added by , 14 years ago) |
---|
-
kernel/drivers/graphics/nvidia/driver.c
265 265 0x02a0, /* Nvidia GeForce3 Integrated GPU */ 266 266 0x02e0, /* Nvidia GeForce 7600 GT */ 267 267 0x02e1, /* Nvidia GeForce 7600 GS */ 268 0x02e2, /* Nvidia GeForce 7300 GT */ 268 269 0x0301, /* Nvidia GeForce FX 5800 Ultra */ 269 270 0x0302, /* Nvidia GeForce FX 5800 */ 270 271 0x0308, /* Nvidia Quadro FX 2000 */ … … 527 528 int registers = 0; 528 529 int frame_buffer = 1; 529 530 531 /* syslog */ 532 dprintf(DRIVER_PREFIX ": map device\n"); 533 530 534 /* enable memory mapped IO, disable VGA I/O - this is defined in the PCI standard */ 531 535 tmpUlong = get_pci(PCI_command, 2); 532 536 /* enable PCI access */ … … 778 782 pd->count = count; 779 783 /* terminate list of device names with a null pointer */ 780 784 pd->device_names[pd->count] = NULL; 785 /* syslog */ 786 dprintf(DRIVER_PREFIX ": %d devices found\n", count); 781 787 } 782 788 783 789 … … 1162 1168 /* the only PUBLIC ioctl */ 1163 1169 case B_GET_ACCELERANT_SIGNATURE: 1164 1170 { 1171 dprintf(DRIVER_PREFIX ": acc: %s\n", sSettings.accelerant); /* syslog */ 1165 1172 strcpy((char* )buf, sSettings.accelerant); 1166 1173 result = B_OK; 1167 1174 break; … … 1401 1408 char *end; 1402 1409 uint32 value; 1403 1410 1411 /* syslog */ 1412 dprintf(DRIVER_PREFIX ": settings loaded\n"); 1413 1404 1414 // for driver 1405 1415 item = get_driver_parameter(settings, "accelerant", "", ""); 1406 1416 if (item[0] && strlen(item) < sizeof(sSettings.accelerant) - 1) … … 1465 1475 1466 1476 unload_driver_settings(settings); 1467 1477 } 1478 else dprintf(DRIVER_PREFIX ": default settings\n"); /* syslog */ 1468 1479 1469 1480 /* get a handle for the pci bus */ 1470 1481 if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK) -
accelerants/nvidia/engine/nv_general.c
947 947 sprintf(si->adi.chipset, "G73"); 948 948 status = nvxx_general_powerup(); 949 949 break; 950 case 0x02e210de: /* Nvidia GeForce 7300 GT */ 951 si->ps.card_type = G73; 952 si->ps.card_arch = NV40A; 953 sprintf(si->adi.name, "Nvidia GeForce 7300 GT"); 954 sprintf(si->adi.chipset, "G73"); 955 status = nvxx_general_powerup(); 956 break; 950 957 case 0x030110de: /* Nvidia GeForce FX 5800 Ultra */ 951 958 case 0x030210de: /* Nvidia GeForce FX 5800 */ 952 959 si->ps.card_type = NV30;