7.2. Example Two
Dependent functions can be used to express relationships between resources that are interdependent. For example, consider a card that may be configured to use I/O Port 0x0300 and IRQ 5 or I/O Port 0x0310 and IRQ 7, this device has the following resource data structure:
TAG Plug and Play Version Number
TAG Identifier String
TAG Logical Device ID
TAG Start DF (Length 0)
TAG I/O Format (Length 4, Min Base 0x0300, Max Base 0x0300)
TAG IRQ Format (MASK IRQ 5)
TAG Start DF (Length 0)
TAG I/O Format (Length 4, Min Base 0x0310, Max Base 0x0310)
TAG IRQ Format (MASK IRQ 7)
TAG End DF
TAG END Tag