kobj multiple inheritance

From: Doug Rabson (dfr_at_nlsystems.com)
Date: 09/22/03

  • Next message: Harti Brandt: "Re: interrupt latency and driver locking"
    To: arch@freebsd.org
    Date: 22 Sep 2003 10:10:37 +0100
    
    

    I believe that I have the kobj multiple inheritance changes about ready
    for committing now. I have locked up the class handling in kobj and I've
    re-done the method dispatch so that it is MP-safe without needing locks
    (I would appreciate a close look at that part by another pair of eyes).
    You can get the current state of this patch at
    http://people.freebsd.org/~dfr/kobj-mi-22092003.diff.

    I've included in this patch a couple of uses of the two main new
    features. I have changed the cardbus driver so that it derives from the
    pci driver. This allows many pci methods to be removed from the cardbus
    method table and should allow many of those methods to be staticised in
    the pci driver again.

    I have also edited a bunch of pci drivers with explicit cardbus
    attachments so that they just list as pci drivers (where the cardbus
    attachment is identical to the pci attachment). This demonstrates the
    other inheritance feature which searches for drivers in both the bus
    devclass and the bus devclass' parent. This effectively allows all pci
    drivers to get into the cardbus probe. If a particular driver needs to
    treat its cardbus attachment specially, it can still do this by adding a
    special cardbus driver (e.g. with a cardbus specific probe or attach
    method) to the cardbus devclass (exactly as it does now).

    _______________________________________________
    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"

    Relevant Pages

    • kernel 2.6.0-test5 on Gericom 8500MT problems
      ... it is enabled in BIOS and listed in the PNP configuration. ... Advanced Linux Sound Architecture Driver Version 0.9.6 ... Orinoco 11b wavelan cardbus card are compiled into the kernel. ...
      (Linux-Kernel)
    • Re: Install solaris 10 on IBM t21 notebook
      ... commercial driver from Lynnesoft seems to be available. ... if the experimental Sun Cardbus driver works with your machine. ... Solaris Express snv_34 and the Sun Cardbus driver, ... fine with Windows XP for the wifi card and other Cardbus/PCMCIA cards ...
      (comp.unix.solaris)
    • Re: kobj multiple inheritance
      ... drivers to get into the cardbus probe. ... If a particular driver needs to ... > on pci bus, but none of the derived buses"? ... version of the hardware). ...
      (freebsd-arch)
    • ApSoft sspcic.sys socket services.
      ... Does anyone have any experience with the above socket services driver? ... Below is the information from the pci sniffer. ... PCI Class Bridge, type PCI to Cardbus ... Memory Range 0: None ...
      (comp.os.os2.misc)
    • Re: [PATCH 2.4.28-pre4-bk6] delkin_cb: new driver for Cardbus IDE CF adaptor
      ... This is a driver for the Delkin/ASKA/Workbit cardbus CF adapter. ... (hdparm keeper & the original "Linux IDE Guy") ... Support for Delkin/ASKA/Workbit cardbus CompactFlash Adapters. ... * but is NOT an IDE PCI driver -- the IDE layer does not directly ...
      (Linux-Kernel)