From d185bf136b0349194d17c2484fe3a1a6dd29482f Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Mon, 9 May 2005 02:01:37 +0000 Subject: PCI_{VENDOR,PRODUCT} -> CARDBUS_{VENDOR,PRODUCT} for correctness. no functional change. --- sys/dev/cardbus/cardbus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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); } -- cgit v1.2.3