Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 21:33:28 +0100 (BST)
From:      Nick Hibma <n_hibma@calcaphon.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        John Baldwin <jhb@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys bus.h bus_private.h src/sys/kern sub 
Message-ID:  <Pine.BSF.4.20.0007032050070.21857-100000@localhost>
In-Reply-To: <8362.962653369@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

> >We are capable of setting some policy.
> 
> I still don't see an example really.  The only time I would say
> that we set policy is when we say things like "BSD always had
> /bin/csh as roots shell, and that's they way it's gonna stay!"

Not confusing coders with something unnecessary is not policy, it is
common sense. 'softc size in driver and a device_set_softc? Is that the
same softc we are talking about?'.

> I think Nick and I agree that it is a shortcoming in new-bus that
> it can not handle this particular (but not that uncommon) device
> architecture better, but until somebody enhances new-bus to do
> that, I have the freedom to chose the best possible workaround.

We agree that there is a shortcoming in newbus. You fail to explain
however how adding device_set_softc in any way relates to that.

I have given you an option that works and indicates more clearly what
you are trying to do. There is no need to change the newbus interface to
accomodate for what you want to do, and certainly no need to confuse
other people.

Your comment that the softc should not be allocated by newbus is a
separate issue completely.

You have the freedom to choose a workaround that is acceptable to your
peers.

Nick
--
n_hibma@webweaving.org
n_hibma@freebsd.org                                          USB project
http://www.etla.net/~n_hibma/





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0007032050070.21857-100000>