PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

Standard Properties

Some standard Name Registry properties names are specified for device entries. These names should not be used for other purposes. Standard reserved property names used by PCI expansion cards are listed in Table 10-1. Property names beginning with APPL are reserved for Apple use.

Table 10-1 Reserved Name Registry property names 

Name

Description

Open Firmware standard properties

address Defines large virtual address regions
compatible Defines alternate name property values 1
device_type The implemented interface
fcode-rom-offset Location of node's FCode in the expansion ROM
interrupts Defines the interrupts used
model Defines a manufacturer's model
name Name of the name entry ( nameString ); see FindDriverCandidates
reg The package's physical address space request
status Indicates the device's operations status

Properties defined by PCI binding to Open Firmware

alternate-reg Alternate access paths for addressable regions
assigned-addresses Assigned physical addresses
class-code Value from corresponding PCI configuration register
device-id Value from corresponding PCI configuration register
devsel-speed Value from corresponding PCI configuration register
driver,xxx,yyy,zzz Driver code for xxx,yyy,zzz platform
driver-reg,xxx,yyy,zzz Descriptor of location for driver code for xxx,yyy,zzz platform (not supported by Mac OS)
fast-back-to-back Value from corresponding PCI configuration register
max-latency Value from corresponding PCI configuration register
min-grant Value from corresponding PCI configuration register
power-consumption Function's power requirements
revision-id Value from corresponding PCI configuration register
vendor-id Value from corresponding PCI configuration register

Properties specific to the Power Macintosh platform

AAPL,address Vector to logical address pointers 2
AAPL,interrupts Internal interrupt number
AAPL,slot-name Physical slot identifier
depth Color depth of each pixel (for display device node only)
driver,AAPL,MacOS,PowerPC Driver code for Mac OS
driver-descriptor Property that contains the driver description structure
driver-ist IST member and set value, used to install interrupts 3
driver-ptr Memory address of driver code
driver-ref Reference to driver controlling a specific name entry
height Height in pixels (for display device node only)
linebytes Number of bytes in each line (for display device node only)
width Width in pixels (for display device node only)

Normally, the device tree shows several properties attached to each device. Most of these properties are created and used by Open Firmware and are described fully in IEEE Standard 1275. Some properties are Apple specific and are required only by Power Macintosh computers or Mac OS. Following are some notes on the properties listed in Table 10-1 :


1. See Matching Drivers With Devices.
2. See Fast I/O Space Cycle Generation.
3. See Interrupts and the Name Registry.

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)