VI *do_match(HW_BASE *dev)
{
-#if 0
- if (dev->ref_count())
- printf("WARNING: device '%s' already assigned to another virtual bus.\n",
- dev->name());
-#endif
-
VI *d = 0;
if (HW* h = dynamic_cast<HW*>(dev))
d = new VI(h);
-// dev->inc_ref_count();
return d;
}