diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-05-09 02:01:37 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-05-09 02:01:37 +0000 |
commit | d185bf136b0349194d17c2484fe3a1a6dd29482f (patch) | |
tree | 7349c3daf60af42a56f60cbfedd0b51f675b334f /sys/dev/cardbus | |
parent | c52e299dad8bf0576ad0e7eb4f0dac753626c698 (diff) |
PCI_{VENDOR,PRODUCT} -> CARDBUS_{VENDOR,PRODUCT} for correctness.
no functional change.
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r-- | sys/dev/cardbus/cardbus.c | 6 |
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); } |