cvs commit: src/sys/dev/exca exca.c src/sys/dev/pccbb pccbb.c

Warner Losh imp at FreeBSD.org
Thu Feb 15 07:22:28 UTC 2007


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


More information about the cvs-all mailing list