3 Rudolf Cornelissen 7/2004-11/2004
6 #define MODULE_BIT 0x04000000
10 /* Get some info about the device */
11 status_t
GET_ACCELERANT_DEVICE_INFO(accelerant_device_info
* adi
)
13 LOG(4,("GET_ACCELERANT_DEVICE_INFO: returning info\n"));
15 /* no info on version is provided, so presumably this is for my info */
18 sprintf(adi
->name
, "nVidia chipset");
19 switch (si
->ps
.card_type
)
22 sprintf(adi
->chipset
, "NV04");
25 sprintf(adi
->chipset
, "NV05");
28 sprintf(adi
->chipset
, "NV05 model 64");
31 sprintf(adi
->chipset
, "NV06");
34 sprintf(adi
->chipset
, "NV10");
38 sprintf(adi
->chipset
, "NV11");
41 sprintf(adi
->chipset
, "NV15");
45 sprintf(adi
->chipset
, "NV17");
49 sprintf(adi
->chipset
, "NV18");
52 sprintf(adi
->chipset
, "NV20");
55 sprintf(adi
->chipset
, "NV25");
58 sprintf(adi
->chipset
, "NV28");
61 sprintf(adi
->chipset
, "NV30");
64 sprintf(adi
->chipset
, "NV31");
67 sprintf(adi
->chipset
, "NV34");
70 sprintf(adi
->chipset
, "NV35");
73 sprintf(adi
->chipset
, "NV36");
76 sprintf(adi
->chipset
, "NV38");
79 sprintf(adi
->chipset
, "NV40");
82 sprintf(adi
->chipset
, "NV41");
85 sprintf(adi
->chipset
, "NV43");
88 sprintf(adi
->chipset
, "NV45");
91 sprintf(adi
->chipset
, "unknown");
94 sprintf(adi
->serial_no
, "unknown");
95 adi
->memory
= si
->ps
.memory_size
;
96 adi
->dac_speed
= si
->ps
.max_dac1_clock
;