Documentation Archive Developer
Search

ADC Home > Reference Library > Technical Q&As > Hardware & Drivers > Apple Hardware >

How does Open Firmware generate the name property?


Q: How does Open Firmware generate the name property?

A: It first looks to see if the device has an expansion ROM. If not, it uses the subsystem ID and the system vendor ID from the device configuration header space to construct the name, given these values are non-zero. If these values are zero, it uses the device-id and vendor-id from the device configuration header space. If the device has an expansion ROM, the ROM FCode is executed. This code must include at a minimum the name and reg properties.

[Jul 15 1995]