cvs commit: src/sys/dev/ppbus lpt.c pcfclock.c ppi.c pps.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 20 22:51:04 PDT 2003


dillon      2003/07/20 22:50:34 PDT

  Modified files:
    sys/dev/ppbus        lpt.c pcfclock.c ppi.c pps.c 
  Log:
  DEV messaging stage 1/4: Rearrange struct cdevsw and add a message port
  and auto-queueing mask.  The mask will tell us which message functions
  can be safely queued to another thread and which still need to run in the
  context of the caller.   Primary configuration fields (name, cmaj, flags,
  port, autoq mask) are now at the head of the structure.  Function vectors,
  which may eventually go away, are at the end.  The port and autoq fields
  are non-functional in this stage.
  
  The old BDEV device major number support has also been removed from cdevsw,
  and code has been added to translate the bootdev passed from the boot code
  (the boot code has always passed the now defunct block device major numbers
  and we obviously need to keep that compatibility intact).
  
  Revision  Changes    Path
  1.5       +7 -5      src/sys/dev/ppbus/lpt.c
  1.3       +8 -6      src/sys/dev/ppbus/pcfclock.c
  1.5       +7 -5      src/sys/dev/ppbus/ppi.c
  1.3       +8 -6      src/sys/dev/ppbus/pps.c






More information about the Commits mailing list