Add a helper function to determine the number of enabled CPUs
[coreboot.git] / src / lib / ne2k.c
index abc97082be3abb78610bb3e9b83ebd2d614441dd..09925f698cba49e43f4e2bc06c23c2d96dfeb4c5 100644 (file)
@@ -444,8 +444,7 @@ static void read_resources(struct device *dev)
        return;
 }
 
-
-static struct device_operations si_sata_ops  = {
+static struct device_operations ne2k_ops  = {
        .read_resources   = read_resources,
        .set_resources    = pci_dev_set_resources,
        .enable_resources = pci_dev_enable_resources,
@@ -453,8 +452,8 @@ static struct device_operations si_sata_ops  = {
        .scan_bus         = 0,
 };
 
-static const struct pci_driver si_sata_driver __pci_driver = {
-        .ops    = &si_sata_ops,
+static const struct pci_driver ne2k_driver __pci_driver = {
+        .ops    = &ne2k_ops,
         .vendor = 0x10ec,
         .device = 0x8029,
 };