×

Method and device for enumerating input/output devices

  • US 9,280,493 B2
  • Filed: 12/27/2013
  • Issued: 03/08/2016
  • Est. Priority Date: 08/22/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method for enumerating input/output (IO) devices in a computer system, wherein the computer system comprises a plurality of nodes and a system main processor, each of the nodes includes a node main processor and an IO centralized controller connected to an IO device, wherein the system main processor is one of the node main processors, and wherein the method comprises:

  • instructing, by the system main processor, the node main processor in each node to simultaneously enumerate the IO centralized controller and the IO device connected to the IO centralized controller;

    acquiring, by the system main processor, information of IO devices enumerated by the node main processors;

    pre-allocating, by the system main processor, resources to each node;

    establishing, by the system main processor, a resource pre-allocation table in a computer system memory; and

    allocating, by the system main processor, resources to each node according to the resource pre-allocation table, wherein;

    the allocating resources to each node according to the resource pre-allocation table comprises;

    instructing each node main processor to scan the IO centralized controller and the IO device connected to the IO centralized controller in each node, andwhen the IO device is found;

    allocating resources to the IO device according to the resource pre-allocation table,recording resource allocation information in the computer system memory,writing a resource allocation record into a register of the IO device, andsetting a non-resource allocation configuration item of the IO device.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×