Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Aug 2003 17:52:57 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ticso@cicely.de, ticso@cicely12.cicely.de
Cc:        phk@phk.freebsd.dk
Subject:   Re: How to get a device_t
Message-ID:  <20030806.175257.106532450.imp@bsdimp.com>
In-Reply-To: <20030806110013.GE32228@cicely12.cicely.de>
References:  <20030806104001.GD32228@cicely12.cicely.de> <40470.1060166743@critter.freebsd.dk> <20030806110013.GE32228@cicely12.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20030806110013.GE32228@cicely12.cicely.de>
            Bernd Walter <ticso@cicely12.cicely.de> writes:
: Back to the original question:
: How do I get the device_t from nexus?

You don't.  You are assigned one.

: Is there a get_nexus() function somewhere?

No.  You don't need it.

Chances are you could create an identify routine that would attach the
bus to.  The identify routine should be all you need.

Warner



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