DragonFly BSD
DragonFly commits List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern sys_generic.c src/sys/sys mapped_ioctl.h


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Aug 2004 04:59:01 -0700 (PDT)

joerg       2004/08/13 04:59:01 PDT

DragonFly src repository

  Modified files:
    sys/kern             sys_generic.c 
  Added files:
    sys/sys              mapped_ioctl.h 
  Log:
  IOCTL mapping layer Part I/II
  
  This adds a generic framework for mapping IOCTL requests (cmds) and
  attaching special processing functions. Instead of the former adhoc
  code using large switch statements e.g. in emulation/linux/linux_ioctl.c,
  the emulation layer registers a handler with the mappings for the request
  ranges it wants to handle specially. Devices can afterwards add there
  own mappings to support e.g. Linux specific IOCTLs.
  
  The first part adds the infrastructure, the second part converts the Linux
  emulation, dev/drm and dev/raid/aac.
  
  Submitted-by: Simon 'corecode' Schubert <corecode@xxxxxxxxxxxx>
  Some minor changes by myself.
  
  Revision  Changes    Path
  1.17      +118 -26   src/sys/kern/sys_generic.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_generic.c.diff?r1=1.16&r2=1.17&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]