摘要 |
<p>A device tree (10) indicating devices coupled to a computer system (120) is available from an operating system (30). Within the device tree (10) are device nodes which specify a particular device's name and a property which indicates compatible device names to the device. For a particular device, the system constructs a candidate list of drivers by comparing the device name and the compatible names from the device tree (10) against all the driver names of data fields of all known drivers. The candidate list is sorted so that matches by device name and proper version number are higher priority. The system then sequentially attempts installation of the drivers from the candidate list based on priority to determine the appropriate driver. Drivers that cause an error are skipped, as are those that do not properly configure the device. The process is operable on boot up and upon any system change that allows more drivers to be recognized.</p> |