int res; unsigned long flags; u32 data = 0; if (PCI_##size##_BAD) return PCIBIOS_BAD_REGISTER_NUMBER; spin_lock_irqsave(&pci_lock, flags); res = bus->ops->read(bus, devfn, pos, len, &data); *value = (type)data; spin_unlock_irqrestore(&pci_lock, flags); return res;
Game | Time | WPM | Accuracy |
---|---|---|---|
12 | 2011-08-12 21:32:04 | 26.99 | 77% |
10 | 2011-08-12 21:25:20 | 28.53 | 83% |