Addition of VME bus code.

This commit is contained in:
leo 1997-03-03 12:26:20 +00:00
parent 485c62188c
commit 301f6163bb
4 changed files with 19 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.17 1997/02/16 12:59:56 leo Exp $ */ /* $NetBSD: autoconf.c,v 1.18 1997/03/03 12:26:20 leo Exp $ */
/* /*
* Copyright (c) 1995 Leo Weppelman * Copyright (c) 1995 Leo Weppelman
@ -276,6 +276,7 @@ mbattach(pdp, dp, auxp)
config_found(dp, "clock" , simple_devprint); config_found(dp, "clock" , simple_devprint);
config_found(dp, "grfbus" , simple_devprint); config_found(dp, "grfbus" , simple_devprint);
config_found(dp, "pcibus" , simple_devprint); config_found(dp, "pcibus" , simple_devprint);
config_found(dp, "vmebus" , simple_devprint);
config_found(dp, "kbd" , simple_devprint); config_found(dp, "kbd" , simple_devprint);
config_found(dp, "fdc" , simple_devprint); config_found(dp, "fdc" , simple_devprint);
config_found(dp, "zs" , simple_devprint); config_found(dp, "zs" , simple_devprint);

View File

@ -1,5 +1,5 @@
# #
# $NetBSD: GENERIC,v 1.25 1997/01/31 05:50:04 thorpej Exp $ # $NetBSD: GENERIC,v 1.26 1997/03/03 12:26:32 leo Exp $
# #
# Generic atari # Generic atari
# #
@ -125,6 +125,9 @@ pseudo-device md 1 # Boot memory disk
# #
#The following sections describe various hardware options. #The following sections describe various hardware options.
# #
vmebus0 at mainbus0 # VME bus
vme0 at vmebus0
fd0 at fdc0 unit 0 # builtin floppy drive fd0 at fdc0 unit 0 # builtin floppy drive
fd1 at fdc0 unit 1 # external floppy drive fd1 at fdc0 unit 1 # external floppy drive
zs0 at mainbus0 # Serial support through 8530 zs0 at mainbus0 # Serial support through 8530

View File

@ -1,5 +1,5 @@
# #
# $NetBSD: HADES,v 1.6 1997/01/31 05:50:04 thorpej Exp $ # $NetBSD: HADES,v 1.7 1997/03/03 12:26:33 leo Exp $
# #
# Medusa-Hades # Medusa-Hades
# #
@ -109,3 +109,5 @@ grfet2 at grfbus0
ite* at grfet2 ite* at grfet2
pcibus0 at mainbus0 # PCI-bus pcibus0 at mainbus0 # PCI-bus
pci0 at pcibus0 pci0 at pcibus0
vmebus0 at mainbus0 # VME bus
vme0 at vmebus0

View File

@ -1,5 +1,5 @@
# #
# $NetBSD: files.atari,v 1.30 1997/02/26 12:26:36 leo Exp $ # $NetBSD: files.atari,v 1.31 1997/03/03 12:26:34 leo Exp $
# #
maxpartitions 16 maxpartitions 16
@ -60,6 +60,15 @@ file arch/atari/dev/hdfd.c hdfd needs-flag
file arch/atari/dev/hdfd_intr.s hdfd file arch/atari/dev/hdfd_intr.s hdfd
major {hdfd = 2} major {hdfd = 2}
# The generic VME-bus driver
device vmebus {}
attach vmebus at mainbus
device vme {[ioport = -1], [iosize = 0], [mem = -1], [memsiz = 0], [irq = -1] }
attach vme at vmebus
file arch/atari/vme/vme.c vme
file arch/atari/vme/vme_machdep.c vme
# graphic devices # graphic devices
define grfb {} define grfb {}