# UDI driver properties for the CMOS RAM sample driver.

properties_version 0x095
 
##
## Identify ourselves.
##

supplier  1
message 1 Project UDI
contact   2
message 2 http://www.sco.com/udi/participants.html
name      3
message 3 CMOS RAM Sample UDI Driver

shortname udi_cmos
release 2 alpha1.0rc3

##
## Describe supported devices.
##

# Since this is a "System"-bus device, which is not self-identifying,
# we have to specify a default I/O address range with "config_choices".
# For PCI devices, there'd be no "config_choices" and the "device"
# declaration would include attributes like "pci_vendor_id".

device 10 2 bus_type string system
message 10 Motherboard CMOS RAM
config_choices 10 ioaddr1 ubit32 0x70 any iolen1 ubit32 2 only

##
## Declare the driver's module(s) and region types.
## This driver has a single region in a single module.
##

module udi_cmos
region 0

##
## Declare interface dependencies.
##

requires udi        0x095
requires udi_physio 0x095
requires udi_gio    0x095
requires udi_bridge 0x095

##
## Describe metalanguage usage.
##

meta 1 udi_gio      # Generic I/O Metalanguage
meta 2 udi_bridge   # Bus Bridge Metalanguage

child_bind_ops 1 0 1    # GIO meta, primary region, ops_index 1
parent_bind_ops 2 0 2   # Bridge meta, primary region, ops_index 2

##
## Build instructions (UDI drivers don't have makefiles!).
##

compile_option -DCMOS_GIO_META=1 -DCMOS_BRIDGE_META=2
source_files udi_cmos.c
