From owner-cvs-all Tue Mar 20 10:13:33 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F05B737B719; Tue, 20 Mar 2001 10:13:25 -0800 (PST) (envelope-from iedowse@FreeBSD.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2KIAKp84729; Tue, 20 Mar 2001 10:10:20 -0800 (PST) (envelope-from iedowse) Message-Id: <200103201810.f2KIAKp84729@freefall.freebsd.org> From: Ian Dowse Date: Tue, 20 Mar 2001 10:10:20 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard pccard.c pccard_beep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG iedowse 2001/03/20 10:10:20 PST Modified files: sys/pccard pccard.c pccard_beep.c Log: Place the call to pccard_insert_beep() in the inserted() timeout routine instead of pccard_event(). This avoids spurious extra calls to pccard_insert_beep() at insert or remove time which could occur due to noise on the card-present lines. Clean up some code in pccard_beep.c; we were depending on the order of evaluation of function arguments, which is undefined in C. Also, use `0' rather than `NULL' for integer values. Reviewed by: sanpei, imp Revision Changes Path 1.117 +2 -2 src/sys/pccard/pccard.c 1.7 +13 -13 src/sys/pccard/pccard_beep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message