summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-08-04 19:42:31 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-08-04 19:42:31 +0000
commitbe5fc6b92638d3f19237a70eb73de6d13a2807b7 (patch)
tree03aeb8e34057b35fb2a958a578c9a79fa9103e3f /sys/dev/cardbus
parent9e49c584301794b434b9708a3051d1bec2ee79ad (diff)
interrupt coalescing on post 82557 chips; from freebsd via Dmitry Bogdan <dsb@poi.dvo.ru>
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/if_fxp_cardbus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/cardbus/if_fxp_cardbus.c b/sys/dev/cardbus/if_fxp_cardbus.c
index 0adbcbd3d8f..c429d9a9fba 100644
--- a/sys/dev/cardbus/if_fxp_cardbus.c
+++ b/sys/dev/cardbus/if_fxp_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fxp_cardbus.c,v 1.7 2004/06/27 02:38:37 brad Exp $ */
+/* $OpenBSD: if_fxp_cardbus.c,v 1.8 2004/08/04 19:42:30 mickey Exp $ */
/* $NetBSD: if_fxp_cardbus.c,v 1.12 2000/05/08 18:23:36 thorpej Exp $ */
/*
@@ -196,6 +196,8 @@ fxp_cardbus_attach(parent, self, aux)
return;
}
snprintf(intrstr, sizeof(intrstr), "irq %d", ca->ca_intrline);
+
+ sc->sc_revision = PCI_REVISION(ca->ca_class);
fxp_attach_common(sc, intrstr);
}