Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 10:10:20 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pccard pccard.c pccard_beep.c
Message-ID:  <200103201810.f2KIAKp84729@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103201810.f2KIAKp84729>