Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2009 17:48:20 -0600
From:      Peter Grehan <grehan@freebsd.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        arch@freebsd.org
Subject:   Re: devclass_find_free_unit
Message-ID:  <4A2EF4C4.408@freebsd.org>
In-Reply-To: <20090609.174249.-1435625969.imp@bsdimp.com>
References:  <20090609.174249.-1435625969.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Warner,

> What purpose does devclass_find_free_unit serve?  I think it can safely be
> eliminated from the tree.  The current design is racy.
  ...
> ./powerpc/psim/.svn/text-base/ata_iobus.c

  That would be a cut'n'paste relic from the ATA code that it originated 
from. Going to -1 is fine.

later,

Peter.



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