Don't depend on <sys/conf.h> declaring isa device structs or isa

interrupt handlers.  pcm is not in LINT, so it is hard to test.
This commit is contained in:
Bruce Evans 1998-06-17 16:54:22 +00:00
parent 64c4ba0748
commit e9b998f0be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37043
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa_device.h 7.1 (Berkeley) 5/9/91
* $Id: isa_device.h,v 1.48 1998/06/17 14:58:01 bde Exp $
* $Id: isa_device.h,v 1.49 1998/06/17 16:32:23 kato Exp $
*/
#ifndef _I386_ISA_ISA_DEVICE_H_
@ -154,6 +154,7 @@ inthand2_t mseintr;
inthand2_t ncaintr;
inthand2_t npxintr;
inthand2_t pasintr;
inthand2_t pcmintr;
inthand2_t pcrint;
inthand2_t ppcintr;
inthand2_t psmintr;

View File

@ -57,8 +57,9 @@
#include <sys/devfsext.h>
#endif /* DEVFS */
#if NPCM > 0 /* from "pcm.h" via disgusting #include in snd/sound.h */
#if NPCM > 0 /* from "snd.h" */
extern struct isa_driver pcmdriver;
#define SNDSTAT_BUF_SIZE 4000
static char status_buf[SNDSTAT_BUF_SIZE] ;