Mosa.HardwareSystem.DeviceDriverRegistry.GetPCIDeviceDrivers C# (CSharp) Method

GetPCIDeviceDrivers() public method

Gets the PCI device drivers.
public GetPCIDeviceDrivers ( ) : LinkedList
return LinkedList
        public LinkedList<DeviceDriver> GetPCIDeviceDrivers()
        {
            var pciDeviceDrivers = new LinkedList<DeviceDriver>();

            foreach (var deviceDriver in deviceDrivers)
            {
                if (deviceDriver.Attribute is PCIDeviceDriverAttribute)
                {
                    pciDeviceDrivers.AddLast(deviceDriver);
                }
            }

            return pciDeviceDrivers;
        }