On Wed, 14 Aug 2013, Alan Stern wrote:

> On Tue, 13 Aug 2013, Sarah Sharp wrote:

> > Alan, if you have any other small tasks for OPW interns, please let me
> > know.
> 
> Good idea.  I'll keep it in mind.

Sarah:

Here's a proposal for a project that might be suitable for one of the
OPW interns:  Split hub.c into multiple source files.  It's too big and
does too much.

A simple reorganization could split up the file into pieces based on
overall function:

        One file for the hub driver itself, i.e., the routines
        listed in the hub_driver structure and things related to
        them.

        One file for handling device connects and disconnects,
        including initialization, enumeration, and registration.

        One file for handling device resets.

        One file for downstream port power management.

Technically this wouldn't be very demanding, but it does involve a 
certain amount of work.  While it's not high priority, it might make a 
good OPW project.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to