Page MenuHomeFreeBSD

Make gpio driver able to work with many controllers
ClosedPublic

Authored by mkm_semihalf.com on Mar 19 2018, 6:12 PM.
Tags
Referenced Files
Unknown Object (File)
Fri, Oct 10, 2:37 AM
Unknown Object (File)
Sat, Oct 4, 4:01 PM
Unknown Object (File)
Fri, Sep 26, 10:23 PM
Unknown Object (File)
Fri, Sep 19, 11:58 PM
Unknown Object (File)
Fri, Sep 19, 9:01 AM
Unknown Object (File)
Sep 10 2025, 9:00 PM
Unknown Object (File)
Sep 7 2025, 12:54 AM
Unknown Object (File)
Sep 3 2025, 11:31 PM
Subscribers

Details

Summary

This patch moves all global data structures into mv_gpio_softc,
and puts device_t parameter to functions calls everywhere where needed.
As a result, we can create multiple driver instances.

Removed names in function declaration to keep style

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 4 2018, 1:20 PM
This revision was automatically updated to reflect the committed changes.