BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / accelerants / neomagic / GetDeviceInfo.c
blob5d4ee47aa824417dd753079626a780ff50129094
1 /*
2 Author:
3 Rudolf Cornelissen 1/2006
4 */
6 #define MODULE_BIT 0x04000000
8 #include "acc_std.h"
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 */
16 adi->version = 1;
18 sprintf(adi->name, si->adi.name);
19 sprintf(adi->chipset, si->adi.chipset);
20 sprintf(adi->serial_no, "unknown");
21 adi->memory = (si->ps.memory_size * 1024);
22 adi->dac_speed = si->ps.max_dac1_clock;
24 return B_OK;