• Kevin Brosius's avatar
    [PATCH] ohci/ehci debug updates for 2.5.56 · 023c5be4
    Kevin Brosius authored
      These two files needed to be touched after the recent changes to
    DRIVER_ATTR/driver_attribute structure members in 2.5.56.  Personally,
    it doesn't look to me like the size parameter should be removed, as now
    users will need to hardcode PAGE_SIZE into their functions, rather than
    it being passed from the place of allocation.  But I'm not familiar with
    the driverfs changes, so can't really say.
    
    These changes, or something similar, are needed to make ohci-dbg and
    ehci-dbg work at all in 2.5.56.  ehci is untested, but compiles here.
    I've tested the ohci changes and they appear to work.
    023c5be4
ohci-dbg.c 13.9 KB