Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 20:21:55 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc:        Warner Losh <imp@village.org>, wpaul@FreeBSD.ORG (Bill Paul), freebsd-current@FreeBSD.ORG
Subject:   Re: Getting at cardbus CIS data from inside drivers 
Message-ID:  <200011220421.eAM4LtF00755@mass.osd.bsdi.com>
In-Reply-To: Your message of "Tue, 21 Nov 2000 13:28:46 MST." <200011212028.eALKSk465978@aslan.scsiguy.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >That's what I mean.  You call this, and it will remap the CIS (if it
> >has been unmapped), walk it for you and pass you a pointer to each CIS
> >entry one at a time to the function you specify.
> >
> >Warner
> 
> I'd rather have a seek/read interface than have a callback.

Let's be realistic; the right way to do this is going to be to use the 
ivar interface; cardbus_get_cistuple(dev, index) just like all the other 
PCI bus accessor functions.  PCI will just need to pass the request 
through to its parent, assuming its parent is a cardbus bridge, or veto 
it otherwise.


-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




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




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