On Mon, 27 Sep 2010 10:47:37 -0700 Inaky Perez-Gonzalez <inaky at linux.intel.com> wrote: > Hi Stephen > > > > The driver is a mess, I have a long list of changes that need to be done, > > the biggest is that the user space and API model are a mess. It really needs > > to be completely rewritten. > > Could you do a write up of what is the API model? Additions will be > needed to the minimal stack that there is now and I'd like to start > thinking about them. > > Thanks! > The existing code uses a single character device. Read/write are control packets, and it has a long list of ioctl's to do things like check link status etc. They also have a binary format configuration file that is read in like firmware at the startup. Much of the configuration can probably be eliminated and the rest can either be done as module parameters or config fs.