Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2007 07:22:27 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/exca exca.c src/sys/dev/pccbb pccbb.c
Message-ID:  <200702150722.l1F7MRxu074019@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2007-02-15 07:22:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/exca         exca.c 
    sys/dev/pccbb        pccbb.c 
  Log:
  It turns out that it is easier to not NULL out pccard and cardbus
  device pointers.  They don't change as the children device drivers
  come and go.  Rather, check to see if the device is attached where we
  would have checked ! NULL.  This solves many asymmetries in the code
  that likely could lead to crashes when loading/unloading cbb without
  one or more of the expected children's driver not present.
  
  Revision  Changes    Path
  1.26      +1 -1      src/sys/dev/exca/exca.c
  1.153     +6 -14     src/sys/dev/pccbb/pccbb.c



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