summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2011-04-18 02:26:56 +0000
committerStefan Reinauer <stepan@openbios.org>2011-04-18 02:26:56 +0000
commit261f842c1c3ce5e4ee151889f692a16856c400f3 (patch)
treed502a2978dea87f37d21569c8326f55ea2d5b424 /src
parentebc93def5be132006c373d883c4b1b498b262a21 (diff)
downloadcoreboot-261f842c1c3ce5e4ee151889f692a16856c400f3.tar.xz
fix copy and paste errors in ne2k.c
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/lib/ne2k.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/ne2k.c b/src/lib/ne2k.c
index abc97082be..180ac2114b 100644
--- a/src/lib/ne2k.c
+++ b/src/lib/ne2k.c
@@ -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,7 +452,7 @@ static struct device_operations si_sata_ops = {
.scan_bus = 0,
};
-static const struct pci_driver si_sata_driver __pci_driver = {
+static const struct pci_driver ne2k_driver __pci_driver = {
.ops = &si_sata_ops,
.vendor = 0x10ec,
.device = 0x8029,