From owner-freebsd-hackers Sun Oct 12 17:28:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA01092 for hackers-outgoing; Sun, 12 Oct 1997 17:28:45 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from usr05.primenet.com (tlambert@usr05.primenet.com [206.165.6.205]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA01087 for ; Sun, 12 Oct 1997 17:28:43 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id RAA03087; Sun, 12 Oct 1997 17:28:41 -0700 (MST) From: Terry Lambert Message-Id: <199710130028.RAA03087@usr05.primenet.com> Subject: Re: how to provide bus specific probe routine To: gurney_j@resnet.uoregon.edu Date: Mon, 13 Oct 1997 00:28:41 +0000 (GMT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <19971012145509.41987@hydrogen.nike.efn.org> from "John-Mark Gurney" at Oct 12, 97 02:55:09 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > b) provide a way to specify which bus a set of probe/attach/detach > functions belong to.. possibly taking NULL to mean try all.. > this would work nicely, but end up duplicating strings (unless > gcc will combine similar strings) [ ... ] > personally I'm leaning to b as then we would be able to have one large > listing of all supported devices along with their routines... > > comments? suggestions? Reference the strings by pointers so they are shared. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.