cvs commit: src/sys/dev/pccard pccard.c pccardvar.h

Warner Losh imp at FreeBSD.org
Tue Apr 12 08:25:32 PDT 2005


imp         2005-04-12 15:25:31 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pccard       pccard.c pccardvar.h 
  Log:
  Big cleanup of resource code for pccard.  Once coventry noticed
  problems here, it became clear we were being too complex.
  
  o Don't keep track of resources in two places
  o Use resource_list_purge instead of rolling our own
  o Just reassign the ownership of the resource, rather than freeing it
    and reallocating it.
  o Fix compile problems when sizeof(u_long) != sizeof(int)
  
  Revision  Changes    Path
  1.104     +30 -101   src/sys/dev/pccard/pccard.c
  1.50      +0 -3      src/sys/dev/pccard/pccardvar.h


More information about the cvs-src mailing list