Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 13:00:49 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/ndis kern_ndis.c subr_ntoskrnl.c
Message-ID:  <200401122100.i0CL0nCF075065@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2004/01/12 13:00:49 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      kern_ndis.c subr_ntoskrnl.c 
  Log:
  In if_ndis.c:ndis_intr(), be a bit more intelligent about squelching
  unexpected interrupts. If an interrupt is triggered and we're not
  finished initializing yet, bail. If we have finished initializing,
  but IFF_UP isn't set yet, drain the interrupt with ndis_intr() or
  ndis_disable_intr() as appropriate, then return _without_ scheduling
  ndis_intrtask().
  
  In kern_ndis.c:ndis_load_driver() only relocate/dynalink a given driver
  image once. Trying to relocate an image that's already been relocated
  will trash the image. We poison a part of the image header that we
  don't otherwise need with a magic value to indicate it's already been
  fixed up. This fixes the case where there are multiple units of the
  same kind of device.
  
  Revision  Changes    Path
  1.27      +31 -15    src/sys/compat/ndis/kern_ndis.c
  1.12      +68 -2     src/sys/compat/ndis/subr_ntoskrnl.c



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