On Tue, Jun 03, 2003 at 01:01:22PM -0400, David T Hollis wrote: > I've started looking into what it will take to port the ax8817x driver > to 2.5 and the largest issue appears to be with subtle API changes that > are easily resolved. However, is there any preferred manner to write it > in 'portable' manner so that maintaining a 2.4 version and 2.5 version > isn't a big ordeal? For example, I see that usb_submit_urb now takes an > additional parameter. Am I better off writing a wrapper macro that > handles a 2.5 build vs. a 2.4 build? > > Any suggestions are greatly welcomed.
You're better off just keeping two different driver versions with no wrappers. But if you _really_ want to only keep one version, make the 2.5 version the "clean" one, and put the wrappers on the 2.4 version. Good luck, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel