On Wednesday 27 October 2004 16:59, Stephen Hemminger wrote:
> > 
> > ... except when CONFIG_PM!  Better to just move it
> > into "ohci-hub.c" where there's another block of
> > forward declarations guarded by CONFIG_PM.
> 
> Okay, by the way why have a source layout with multiple .c
> files all included together anyway?

It started as just a quick way to get away from
the "one huge file" approach, helping factor the
code of a relatively complex driver.  Some parts
then moved into usbcore, rather than being cloned
(and mutated) between three different PCI based HCDs.

When I did that, I asked on linux-usb-devel whether
anyone had strong opinions, and nobody seemed to
be religious about that.  So it's been working fine
for several years this way.

- Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to