3 Rudolf Cornelissen 7/2004-1/2016
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
, "VIA chipset");
19 switch (si
->ps
.card_type
)
22 sprintf(adi
->chipset
, "CLE266 Unichrome Pro (VT3022)");
25 sprintf(adi
->chipset
, "K8M800 Unichrome Pro (VT3108)");
28 sprintf(adi
->chipset
, "CLE266 Unichrome Pro (VT3122)");
31 sprintf(adi
->chipset
, "KM400 Unichrome (VT3205)");
34 sprintf(adi
->chipset
, "KM400 Unichrome (VT7205)");
37 sprintf(adi
->chipset
, "unknown");
40 sprintf(adi
->serial_no
, "unknown");
41 adi
->memory
= si
->ps
.memory_size
;
42 adi
->dac_speed
= si
->ps
.max_dac1_clock
;