On Thu, Jul 03, 2008 at 07:29:03PM -0700, Matt Thomas wrote: > > On Jul 3, 2008, at 7:11 PM, Paul Goyette wrote: > >> I'm working on a driver that needs to attach multiple child devices. >> >> The catch is, there are two classes of child devices and each needs to be >> attached at different points in time. >> >> I can find all the config data using config_found_ia (there are no >> locators), but I can't quite fathom how I can control which ones get >> attached from the caller. >> >> Any and all clues will be appreciated. > > That's what the attach args (aux) are for. Have the parent enough That and the interface attribute (the ia in the API). If there are two classes of child devices, that begs for different interface attributes. Please don't abuse the attach args for that. -- Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost "See the look on my face from staying too long in one place [...] every time the morning breaks I know I'm closer to falling" KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
Description: PGP signature