Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 15:26:57 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        arch@freebsd.org
Cc:        dfr@freebsd.org
Subject:   Re: newbus flaw
Message-ID:  <xzphdulepy6.fsf@dwp.des.no>
In-Reply-To: <20040512010240.GD601@funkthat.com> (John-Mark Gurney's message of "Tue, 11 May 2004 18:02:40 -0700")
References:  <xzp4qqn6n9v.fsf@dwp.des.no> <20040512010240.GD601@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John-Mark Gurney <gurney_j@efn.org> writes:
> You are incorrect in assuming you can't find out if another child already
> exists.. Usually this is a problem of properly allocating resources so
> that you know the other child exists.  Since you are using identify, you
> already don't have a "self describing" bus, which means that you have
> to either use hints, or another method to make sure that your device
> doesn't already exist.

It's not quite that simple.  See the block comment at the top of
src/sys/dev/ichwd/ichwd.c for an explanation.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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