Page MenuHomeFreeBSD

bus.h: remove unused devop_t typedef
ClosedPublic

Authored by mhorne on Jan 16 2025, 5:22 PM.
Tags
None
Referenced Files
F115912179: D48488.diff
Wed, Apr 30, 8:05 AM
Unknown Object (File)
Mar 15 2025, 3:47 PM
Unknown Object (File)
Mar 13 2025, 2:36 PM
Unknown Object (File)
Mar 4 2025, 10:07 PM
Unknown Object (File)
Mar 3 2025, 2:00 PM
Unknown Object (File)
Mar 1 2025, 3:17 PM
Unknown Object (File)
Mar 1 2025, 12:04 PM
Unknown Object (File)
Feb 26 2025, 11:41 AM
Subscribers
None

Details

Summary

Passes tinderbox.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61770
Build 58654: arc lint + arc unit

Event Timeline

This has been unused since

commit f7b776917236d24a4ac7aaa19b3595abdd8411f9
Author: Doug Rabson <dfr@FreeBSD.org>
Date:   Sat Apr 8 14:17:18 2000 +0000

    * Factor out the object system from new-bus so that it can be used by
      non-device code.
    * Re-implement the method dispatch to improve efficiency. The new system
      takes about 40ns for a method dispatch on a 300Mhz PII which is only
      10ns slower than a direct function call on the same hardware.

    This changes the new-bus ABI slightly so make sure you re-compile any
    driver modules which you use.

I don't think we're being too hasty removing it. It used to be used a pointer to the compiled ops (method) table.

This revision is now accepted and ready to land.Jan 16 2025, 5:30 PM
In D48488#1106326, @imp wrote:

This has been unused since

commit f7b776917236d24a4ac7aaa19b3595abdd8411f9
Author: Doug Rabson <dfr@FreeBSD.org>
Date:   Sat Apr 8 14:17:18 2000 +0000

    * Factor out the object system from new-bus so that it can be used by
      non-device code.
    * Re-implement the method dispatch to improve efficiency. The new system
      takes about 40ns for a method dispatch on a 300Mhz PII which is only
      10ns slower than a direct function call on the same hardware.

    This changes the new-bus ABI slightly so make sure you re-compile any
    driver modules which you use.

I don't think we're being too hasty removing it. It used to be used a pointer to the compiled ops (method) table.

Thanks, I will include this info in the commit message.

This revision was automatically updated to reflect the committed changes.