summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-02-05 07:23:56 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-02-05 07:23:56 +0000
commit19637884760f10a072bc4b653d0ec555cd896e38 (patch)
tree52184fc2813dbfbc68d6e8d6f5adbca63e0924c8 /sys
parentd649be870ed0fd3c7ad6995747708788c50812d7 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pci.c2
-rw-r--r--sys/pci/pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index a1b295b6c64c..399cfe6de652 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -957,7 +957,7 @@ int pci_register_lkm (struct pci_device *dvp, int if_revision)
{
struct pci_lkm *lkm;
- if (if_version != 0) {
+ if (if_revision != 0) {
return -1;
}
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index a1b295b6c64c..399cfe6de652 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -957,7 +957,7 @@ int pci_register_lkm (struct pci_device *dvp, int if_revision)
{
struct pci_lkm *lkm;
- if (if_version != 0) {
+ if (if_revision != 0) {
return -1;
}