home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / bmd-1.0beta.tar.Z / bmd-1.0beta.tar / bmd-1.0beta / sundev / dbx_bmd.c < prev    next >
C/C++ Source or Header  |  1991-08-20  |  1KB  |  37 lines

  1. /*
  2.  * Copyright (c) 1990 Regents of the University of California.
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms are permitted
  6.  * provided that the above copyright notice and this paragraph are
  7.  * duplicated in all such forms and that any documentation,
  8.  * advertising materials, and other materials related to such
  9.  * distribution and use acknowledge that the software was developed
  10.  * by the University of California, Lawrence Berkeley Laboratory,
  11.  * Berkeley, CA.  The name of the University may not be used to
  12.  * endorse or promote products derived from this software without
  13.  * specific prior written permission.
  14.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  15.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  16.  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  17.  */
  18. #include <sys/types.h>
  19. #include <sys/errno.h>
  20. #include <sys/fcntl.h>
  21. #include <sys/uio.h>
  22. #include <sys/ioctl.h>
  23. #include <sys/param.h>
  24. #include <sys/systm.h>
  25. #include <sys/time.h>
  26. #include <sys/kernel.h>
  27. #include <sys/signal.h>
  28. #include <sys/user.h>
  29. #include <sys/proc.h>
  30.  
  31. #include <sundev/midi.h>
  32. #include <sundev/bmdvar.h>
  33.  
  34. extern struct mda *mdafree;
  35. extern struct midi_softc midi_softc[];
  36. struct midid midid[];
  37.