Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2004 02:34:35 +0000 (UTC)
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_xl.c
Message-ID:  <200407050234.i652YZLq068558@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bms         2004-07-05 02:34:35 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_xl.c 
  Log:
  Reintroduce and clean up locking in xl(4).
  
   - Eliminate the use of a recursive mutex.
   - Mark the driver as INTR_MPSAFE.
   - Split the default media choice code out into xl_choose_media() to
     avoid making poor assumptions about the state of the lock during attach.
   - The miibus upcall/downcall paths may still be racy.
     Change to commented-out locking assertions there for now.
   - Tested with nfsclient, routed, ssh, ntp, dhclient and quagga bgpd.
   - This needs SMP test coverage. I do not have such resources.
  
  Tested on:      UP, !debug.mpsafenet && debug.mpsafenet
  Hardware:       3C905B-TX (0x905510b7)
  
  Revision  Changes    Path
  1.177     +178 -88   src/sys/pci/if_xl.c



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