Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2000 14:44:01 -0700 (PDT)
From:      Mitsuru IWASAKI <iwasaki@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pccard pcic.c
Message-ID:  <200007242144.OAA11274@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iwasaki     2000/07/24 14:44:01 PDT

  Modified files:
    sys/pccard           pcic.c 
  Log:
  Fix a bug so that we have correct number of pccard instances in pcic_attach().
  
  pcic_attach() got a wrong pointer to pcic_slots since device haven't
  set correct unit number yet, so always accessed elements of pcic_slots
  which belong to pcic0 (unit number 0).
  
  Now we set unit number to pcic device first, then access to pcic_slots
  based on the unit number we've just set.
  
  Revision  Changes    Path
  1.94      +2 -2      src/sys/pccard/pcic.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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