Example of DDS
The following example provides a guide for using DDS format.
/* Device DDS */
struct device_dds {
/* Bus information */
ulong bus_id; /* I/O bus id */
ushort us_type; /* Bus type, i.e. BUS_MICRO_CHANNEL*/
/* Adapter information */
int slot_num; /* Slot number */
ulong io_addr_base; /* Base bus i/o address */
int bus_intr_lvl; /* bus interrupt level */
int intr_priority; /* System interrupt priority */
int dma_lvl; /* DMA arbitration level */
/* Device specific information */
int block_size; /* Size of block in bytes */
int abc_attr; /* The abc attribute */
int xyz_attr; /* The xyz attribute */
char resource_name[16]; /* Device logical name */
};