Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 07:52:41 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/isa atpic.c
Message-ID:  <200405031452.i43Eqf6P036100@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2004/05/03 07:52:41 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/isa         atpic.c 
  Log:
  - Add an IMEN_MASK macro that returns the 8-bit bitmask of an atpic
    interrupt source.
  - Only do an outb() to the PIC to clear a bit in imen if the bit is set.
  - Add a NUM_ISA_IRQS macro to replace uglier
    'sizeof(array) / sizeof(member)' expressions along with a CTASSERT() to
    ensure that the macro is correct.
  
  Revision  Changes    Path
  1.11      +16 -8     src/sys/i386/isa/atpic.c



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