Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2000 01:33:01 -0800 (PST)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_bus.c src/sys/sys bus_private.h
Message-ID:  <200003160933.BAA77803@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
n_hibma     2000/03/16 01:33:01 PST

  Modified files:
    sys/kern             subr_bus.c 
    sys/sys              bus_private.h 
  Log:
  Instead of using the next unit available, use the first unit available.
  This avoids the unit number from going up indefinitely when
  diconnecting and connecting 2 devices alternately.
  
  Noticed by: nsayer (quite a while ago)
  
  And stop calling DEVICE_NOMATCH at probe repeatedly. This stops the
  message on the PCI VGA board from being printed when loading a PCI driver.
  
  Revision  Changes    Path
  1.55      +21 -14    src/sys/kern/subr_bus.c
  1.12      +2 -2      src/sys/sys/bus_private.h



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?200003160933.BAA77803>