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

Warner Losh imp at FreeBSD.org
Mon Apr 11 21:30:35 PDT 2005


imp         2005-04-12 04:30:35 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pccard       pccard.c 
  Log:
  Use return value of resource_list_add to avoid a second
  resource_list_find.  Check to make sure that rle is not NULL and panic
  if it is (but it appears that resource_list_add already panics, so I'm
  not entirely sure it is necessary now).
  
  Add a test to make sure we have a interrupt resource when we're
  disabling it.  This is also a cannot happen, but the extra care
  shoudln't hurt.
  
  Found by: Coventry tool via sam@
  
  Revision  Changes    Path
  1.102     +11 -7     src/sys/dev/pccard/pccard.c


More information about the cvs-src mailing list