Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2006 01:03:58 +0900 (JST)
From:      Wada Keiji <keiji@hiemalis.org>
To:        imp@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc:        keiji@hiemalis.org
Subject:   Re: kern/85493: OLDCARD can't probe ed driver
Message-ID:  <20060921.010358.39312857.keiji@hiemalis.org>
In-Reply-To: <200508301820.j7UIK0ee075010@freefall.freebsd.org>
References:  <200508301807.j7UI70gH021119@www.freebsd.org> <200508301820.j7UIK0ee075010@freefall.freebsd.org>

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

Why don't you accept my change request?

Did you read sys/dev/pccard/card_if.m
# Compatibility methods for OLDCARD drivers.  We use these routines to make
# it possible to call the OLDCARD driver's probe routine in the context that
# it expects.  For OLDCARD these are implemented as pass throughs to the
# device_{probe,attach} routines.  For NEWCARD they are implemented such
# such that probe becomes strictly a matching routine and attach does both
# the old probe and old attach.
#
# compat devices should use the following:
#
#       /* Device interface */
#       DEVMETHOD(device_probe),        pccard_compat_probe),
#       DEVMETHOD(device_attach),       pccard_compat_attach),
#       /* Card interface */
#       DEVMETHOD(card_compat_match,    foo_match),     /* newly written */
#       DEVMETHOD(card_compat_probe,    foo_probe),     /* old probe */
#       DEVMETHOD(card_compat_attach,   foo_attach),    /* old attach */

I think that card_compat_probe is used on OLDCARD. And on ed
ed_pccard_probe is used too. So ed_pccard_probe can't use
pccard_product_lookup function.

What do you think?

Thanks.

>>>>> On Tue, 30 Aug 2005 18:20:00 GMT
>>>>> FreeBSD-gnats-submit@FreeBSD.org said:
> 
> Thank you very much for your problem report.
> It has the internal identification `kern/85493'.
> The individual assigned to look at your
> report is: freebsd-bugs. 
> 
> You can access the state of your problem report at any time
> via this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=85493
> 
> >Category:       kern
> >Responsible:    freebsd-bugs
> >Synopsis:       OLDCARD can't probe ed driver
> >Arrival-Date:   Tue Aug 30 18:20:00 GMT 2005



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