Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 15:42:06 +0100 (BST)
From:      Nick Hibma <n_hibma@calcaphon.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys bus.h bus_private.h src/sys/kern subr_bus.c
Message-ID:  <Pine.BSF.4.20.0007031532370.20885-100000@localhost>
In-Reply-To: <6433.962634479@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
> Bottom line: newbus has a simplistic view of hardware which
> unfortunately doesn't adequatly describe several pieces of attractive
> hardware and features currently on the market.

You are confusing the physical hardware layout with the logical device
layout you want to show up with. newbus only handles the physical layout
(well). Tying the logical device tightly together with the physical
deviceS is a mistake and _will_ make surviving a physical device removal
much harder.

Apart from that you haven't mentioned a reason why resetting the softc
for both functions is a better idea than having a separate softc for
the logical device. Each function surely has some private data (for
example resources allocated to it). Why would you want to stuff that in
some shared softc.

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.0007031532370.20885-100000>