Hi, On Fri, Apr 24, 2009 at 09:44:06AM -0500, Larry Finger wrote: > Forest Bond wrote: > > > > The following git repository has a vt6655 branch and a vt6656 branch: > > > > http://www.alittletooquiet.net/media/code/vt665x.git > > > > The vt6655 branch contains pretty much all of the work I'll likely be able to do > > for that driver. The vt6656 branch needs more work. I've not gone farther than > > build-testing either, at this point. > > It would be a little easier for looking at the code if both vt6655 and vt6656 > directories were in the same branch of the git repo, but it's not a big deal. > > > As I've mentioned before, some of this kind of work is really a bit outside my > > usual domain, so if you do look at it, I'd appreciate feedback. > > There are a number of warnings when compiling the vt6655 driver on x86_64 > architecture that arise from pointers having 64 bits while integers have 32 > bits. I think the warnings will not cause any problems. I'll have a closer look at the warnings. > There is, however, one error, namely: > > CC [M] drivers/staging/vt6655/device_main.o > drivers/staging/vt6655/device_main.c:347: error: initializer element is not constant > drivers/staging/vt6655/device_main.c:347: error: (near initialization for > ‘device_id_table[0].driver_data’) Hm, didn't see this on my system. Not sure why. Thanks for the patch. > Driver vt6656 also does not build, but that does not seem to be 64-bit related. > If it builds on your system, let me know and I'll send you the error messages. No, I haven't gotten that in a good state yet. > I didn't look that thoroughly at the code, but I did notice one thing. The > constructions like "#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)" are in the > code so that it can build on a number of different kernels. Once it is in > staging, it only has to build on the current kernel and you can trim out those > conditionals. Right, my intention was to look at those once the major build issues were sorted out. Were you able to look over my changes for net device private data accesses in the vt6655 driver? That is what I'm most concerned about. Thanks, Forest -- Forest Bond http://www.alittletooquiet.net http://www.pytagsfs.org
Attachment:
signature.asc
Description: Digital signature