devclass_find_free_unit

Peter Grehan grehan at freebsd.org
Wed Jun 10 00:03:52 UTC 2009


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.


More information about the freebsd-arch mailing list