summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/cardbus.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-05-09 02:01:37 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-05-09 02:01:37 +0000
commitd185bf136b0349194d17c2484fe3a1a6dd29482f (patch)
tree7349c3daf60af42a56f60cbfedd0b51f675b334f /sys/dev/cardbus/cardbus.c
parentc52e299dad8bf0576ad0e7eb4f0dac753626c698 (diff)
PCI_{VENDOR,PRODUCT} -> CARDBUS_{VENDOR,PRODUCT} for correctness.
no functional change.
Diffstat (limited to 'sys/dev/cardbus/cardbus.c')
-rw-r--r--sys/dev/cardbus/cardbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index 89c60f454ce..5d86cec2326 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cardbus.c,v 1.16 2005/05/09 00:38:57 brad Exp $ */
+/* $OpenBSD: cardbus.c,v 1.17 2005/05/09 02:01:36 brad Exp $ */
/* $NetBSD: cardbus.c,v 1.24 2000/04/02 19:11:37 mycroft Exp $ */
/*
@@ -854,8 +854,8 @@ cardbus_matchbyid(struct cardbus_attach_args *ca, const struct cardbus_matchid *
int i;
for (i = 0, cm = ids; i < nent; i++, cm++)
- if (PCI_VENDOR(ca->ca_id) == cm->cm_vid &&
- PCI_PRODUCT(ca->ca_id) == cm->cm_pid)
+ if (CARDBUS_VENDOR(ca->ca_id) == cm->cm_vid &&
+ CARDBUS_PRODUCT(ca->ca_id) == cm->cm_pid)
return (1);
return (0);
}