From owner-freebsd-new-bus Thu Oct 14 12:29:30 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 468821508F for ; Thu, 14 Oct 1999 12:29:27 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA31136 for ; Thu, 14 Oct 1999 13:29:26 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA54711 for ; Thu, 14 Oct 1999 13:30:37 -0600 (MDT) Message-Id: <199910141930.NAA54711@harmony.village.org> To: new-bus@freebsd.org Subject: Asking the musical question... Date: Thu, 14 Oct 1999 13:30:37 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there some way for a bus to ask "Is there a driver named foo that can that has a barbus attachment?" Taking a step back, I'm trying to add a child to an instance of the pccard bus (there may be several in a system). I know that it is named fdc or sio or whatever. Do I just add a child with device_add_child(dev, NULL, -1, cisinfo) and let probing somehow magically take care of it (this was cribbed from pci.c)? Or is there some other approved way of coping? If it makes more sense to answer this question, please do so and ignore the first one :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message