aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/eisa/eisadevs.c
blob: 0b7087f0a61ac072feae012d6e98fdc657733a0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * Written by Billie Alsup (balsup@tfs.com)
 * for TRW Financial Systems for use under the MACH(2.5)and OSF/1 operating
 * systems.
 *
 * TRW Financial Systems, in accordance with their agreement with Carnegie
 * Mellon University, makes this software available to CMU to distribute
 * or use in any manner that they see fit as long as this message is kept with
 * the software. For this reason TFS also grants any other persons or
 * organisations permission to use or modify this software.
 *
 * TFS supplies this software to be publicly redistributed
 * on the understanding that TFS is not responsible for the correct
 * functioning of this software in any circumstances.
 *
 * $Id: eisadevs.c,v 1.1 1995/04/23 08:55:43 julian Exp $
 */

/*
 * Ported to run under FreeBSD by Julian Elischer (julian@tfs.com) Sept 1992
 */
/* This needs to be automatically generated.. */

#include <sys/param.h>
#include <sys/systm.h>          /* isn't it a joy */
#include <sys/kernel.h>         /* to have three of these */
#include <sys/conf.h>

#include "i386/isa/isa_device.h"
#include "eisaconf.h"
#include "bt.h"
#if NBT > 0
extern struct isa_driver btdriver;
int btintr();
#endif
#if NSI > 0
extern struct isa_driver sidriver;
int siintr();
#endif

struct eisa_dev eisa_dev[] = {
#if NBT > 0
  { "BUS",0x420,0,&bio_imask,{-1,&btdriver,0,0,-1,0,0,btintr,0,0,0,0,0}},
  { "BUS",0x470,0,&bio_imask,{-1,&btdriver,0,0,-1,0,0,btintr,0,0,0,0,0}},
#endif  /* NBT > 0 */
/* add your devices here */
#if NSI > 0
  { "SLX",0x411,0,&tty_imask,{-1,&sidriver,0,0,-1,0,0,siintr,0,0,0,0,0}},
#endif  /* NSI > 0 */

  {0,0,0}
};