Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 12:46:01 +0000 (UTC)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_dc.c
Message-ID:  <200509221246.j8MCk1Jl064504@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
keramida    2005-09-22 12:46:01 UTC

  FreeBSD src repository (doc committer)

  Modified files:        (Branch: RELENG_6)
    sys/pci              if_dc.c 
  Log:
  MFC 1.167: panic on attach failure...
  % When bus_alloc_resource_any() fails, dc_detach() is called and it
  % attempts to deallocate busdma tags and resources that haven't been
  % allocated yet, causing a panic every time a dc interface fails to
  % attach.  Fix by checking that we really have something to dealloc
  % before calling bus_dma*() functions.
  %
  % Approved by:    jhb
  % MFC after:      1 week
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.160.2.4  +11 -5     src/sys/pci/if_dc.c



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