Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 1997 00:28:41 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        gurney_j@resnet.uoregon.edu
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: how to provide bus specific probe routine
Message-ID:  <199710130028.RAA03087@usr05.primenet.com>
In-Reply-To: <19971012145509.41987@hydrogen.nike.efn.org> from "John-Mark Gurney" at Oct 12, 97 02:55:09 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710130028.RAA03087>