Re: kobj multiple inheritance

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 09/23/03

  • Next message: Harti Brandt: "Re: interrupt latency and driver locking"
    Date: Mon, 22 Sep 2003 19:02:08 -0600 (MDT)
    To: dfr@nlsystems.com
    
    

    In message: <1064266269.68463.42.camel@herring.nlsystems.com>
                Doug Rabson <dfr@nlsystems.com> writes:
    : > The goal was to be able to do things like, using cardbus as an example,
    : > inheret all of the interfaces of PCI adding in the CIS parsing interface
    : > shared with pccard. CIS parsing is just a list of methods that doesn't
    : > make sense to be a "driver class" on its own.
    :
    : I think that you can do exactly this with what I've proposed.

    I think so too. However, from a practical point of view, I'm not so
    sure that sharing the CIS parsing code is a good idea. I'm not sure
    they are similar enough that it would be a significant win. The nuts
    and bolts of parsing the containers of the CIS entries is the same,
    but the details of digging out the information and doing resource
    stuff is rather different. The pccard parsing is rather fragile right
    now and would require a big re-write to make this a viable option.

    It does make a good example, however, if we were doing things
    completely from scratch. However, there are a number of other
    problems in newcard right now that I'd strong recommend against such a
    re-write for a while yet...

    Warner
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Harti Brandt: "Re: interrupt latency and driver locking"