Adjust for changes to config.

This commit is contained in:
thorpej 1998-01-12 10:39:01 +00:00
parent 5419debcb7
commit 0b6e56ec02
53 changed files with 124 additions and 333 deletions

View File

@ -1,73 +1,73 @@
# $NetBSD: files.amiga,v 1.70 1997/10/19 19:20:34 veego Exp $
# $NetBSD: files.amiga,v 1.71 1998/01/12 10:39:01 thorpej Exp $
# maxpartitions must be first item in files.${ARCH}.newconf
maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL!
maxusers 2 8 64
device mainbus {}
device mainbus class dull {}
attach mainbus at root
device cpu
device cpu class cpu
attach cpu at mainbus
# zorro expansion bus.
device zbus {}
device zbus class dull {}
attach zbus at mainbus
file arch/amiga/dev/zbus.c zbus
define event {}
file arch/amiga/dev/event.c event
device clock
device clock class dull
attach clock at mainbus
file arch/amiga/dev/clock.c
file dev/clock_subr.c
# A2000 internal hwc
device a2kbbc
device a2kbbc class dull
attach a2kbbc at mainbus
file arch/amiga/dev/a2kbbc.c a2kbbc
# A3000/4000 internal hwc
device a34kbbc
device a34kbbc class dull
attach a34kbbc at mainbus
file arch/amiga/dev/a34kbbc.c a34kbbc
# keyboard
device kbd: event
device kbd class dull: event
attach kbd at mainbus
file arch/amiga/dev/kbd.c kbd needs-flag
# serial port
device ser: tty
device ser class tty: tty
attach ser at mainbus
file arch/amiga/dev/ser.c ser needs-count
# parallel port
device par
device par class dull
attach par at mainbus
file arch/amiga/dev/par.c par needs-count
# audio
device aucc: audio
device aucc class dull: audio
attach aucc at mainbus
file arch/amiga/dev/aucc.c aucc needs-flag
device melody: audio, tms320av110
device melody class dull: audio, tms320av110
attach melody at zbus
file arch/amiga/dev/melody.c melody
# mouse
device ms: event
device ms class dull: event
attach ms at mainbus
file arch/amiga/dev/ms.c ms needs-flag
# floppy
device fdc { unit = -1 }
device fdc class dull { unit = -1 }
attach fdc at mainbus
device fd
device fd class disk
attach fd at fdc
file arch/amiga/dev/fd.c fd needs-flag
major {fd = 2}
@ -75,11 +75,11 @@ major {fd = 2}
# graphic devices
define grfbus {}
device grf {}
device grf class dull {}
attach grf at grfbus
file arch/amiga/dev/grf.c grf needs-count
device ite
device ite class tty
attach ite at grf
file arch/amiga/dev/ite.c ite needs-flag
file arch/amiga/dev/kbdmap.c ite
@ -88,7 +88,7 @@ file arch/amiga/dev/kf_8x11.c kfont_8x11
file arch/amiga/dev/kf_custom.c kfont_custom
# custom chips grf (ite0 grf0)
device grfcc: grfbus
device grfcc class dull: grfbus
attach grfcc at mainbus
file arch/amiga/dev/grf_cc.c grfcc needs-flag
file arch/amiga/dev/ite_cc.c grfcc & ite
@ -100,44 +100,44 @@ file arch/amiga/dev/grfabs_cc.c grfcc | view
file arch/amiga/dev/grfabs_ccglb.c grfcc | view
# retina ZII grf (ite1 grf1)
device grfrt: grfbus
device grfrt class dull: grfbus
attach grfrt at zbus
file arch/amiga/dev/grf_rt.c grfrt needs-flag
file arch/amiga/dev/ite_rt.c grfrt & ite
# retina ZIII grf (ite2 grf2)
device grfrh: grfbus
device grfrh class dull: grfbus
attach grfrh at zbus
file arch/amiga/dev/grf_rh.c grfrh needs-flag
file arch/amiga/dev/ite_rh.c grfrh & ite
# cirrus grf (ite3 grf3)
device grfcl: grfbus
device grfcl class dull: grfbus
attach grfcl at zbus
file arch/amiga/dev/grf_cl.c grfcl needs-flag
file arch/amiga/dev/ite_cl.c grfcl & ite
# A2410 grf (ite4 grf4)
device grful: grfbus
device grful class dull: grfbus
attach grful at zbus
file arch/amiga/dev/grf_ul.c grful needs-flag
file arch/amiga/dev/ite_ul.c grful & ite
file arch/amiga/dev/grf_ultms.g grful
# CyberVison 64 grf (ite5 grf5)
device grfcv: grfbus
device grfcv class dull: grfbus
attach grfcv at zbus
file arch/amiga/dev/grf_cv.c grfcv needs-flag
file arch/amiga/dev/ite_cv.c grfcv & ite
# Tseng grf (ite6 grf6)
device grfet: grfbus
device grfet class dull: grfbus
attach grfet at zbus
file arch/amiga/dev/grf_et.c grfet needs-flag
file arch/amiga/dev/ite_et.c grfet & ite
# CyberVison 64/3D grf (ite7 grf7)
device grfcv3d: grfbus
device grfcv3d class dull: grfbus
attach grfcv3d at zbus
file arch/amiga/dev/grf_cv3d.c grfcv3d needs-flag
file arch/amiga/dev/ite_cv3d.c grfcv3d & ite
@ -148,37 +148,37 @@ attach le at zbus with le_zbus
file arch/amiga/dev/if_le.c le_zbus needs-flag
# Hydra ethernet card
device ed: ifnet, ether, arp
device ed class ifnet: ifnet, ether, arp
attach ed at zbus with ed_zbus
file arch/amiga/dev/if_ed.c ed_zbus needs-flag
# C=/Ameristar A2060 / 560
device bah: ifnet, arc, arp
device bah class ifnet: ifnet, arc, arp
attach bah at zbus with bah_zbus
file arch/amiga/dev/if_bah.c bah_zbus needs-flag
# CEI A4066 EthernetPLUS
device es: ifnet, ether, arp
device es class ifnet: ifnet, ether, arp
attach es at zbus
file arch/amiga/dev/if_es.c es needs-flag
# Quicknet ethernet card
device qn: ifnet, ether, arp
device qn class ifnet: ifnet, ether, arp
attach qn at zbus
file arch/amiga/dev/if_qn.c qn needs-flag
# A2232 msc serial ports
device msc: tty
device msc class tty: tty
attach msc at zbus
file arch/amiga/dev/msc.c msc needs-count
# bsc/Alf Data MultiFaceCard
device mfc { unit = -1 }
device mfc class dull { unit = -1 }
attach mfc at zbus
device mfcs
device mfcs class tty
attach mfcs at mfc
device mfcp
device mfcp class dull
attach mfcp at mfc
file arch/amiga/dev/mfc.c mfcs | mfcp needs-count
@ -187,12 +187,12 @@ define supio {port = -1}
# DraCo superio chip
device drsupio: supio
device drsupio class dull: supio
attach drsupio at mainbus
file arch/amiga/dev/drsupio.c drsupio
# Hypercom 3/4
device hyper: supio
device hyper class dull: supio
attach hyper at zbus
file arch/amiga/dev/hyper.c hyper
@ -200,11 +200,11 @@ attach com at supio with com_supio
file arch/amiga/dev/com_supio.c com_supio
# handle gvp's odd autoconf info..
device gvpbus {}
device gvpbus class dull {}
attach gvpbus at zbus
file arch/amiga/dev/gvpbus.c gvpbus
device lpt
device lpt class dull
file dev/ic/lpt.c lpt needs-flag
attach lpt at supio with lpt_supio
@ -220,17 +220,17 @@ define sbic
file arch/amiga/dev/sbic.c sbic
# GVP series II
device gtsc: scsi, sbic
device gtsc class dull: scsi, sbic
attach gtsc at gvpbus
file arch/amiga/dev/gtsc.c gtsc needs-flag
# Amiga 3000 internal
device ahsc: scsi, sbic
device ahsc class dull: scsi, sbic
attach ahsc at mainbus
file arch/amiga/dev/ahsc.c ahsc needs-flag
# C= A2091
device atzsc: scsi, sbic
device atzsc class dull: scsi, sbic
attach atzsc at zbus
file arch/amiga/dev/atzsc.c atzsc needs-flag
@ -239,22 +239,22 @@ define sci
file arch/amiga/dev/sci.c sci
# Supra Wordsync II
device wstsc: scsi, sci
device wstsc class dull: scsi, sci
attach wstsc at zbus
file arch/amiga/dev/wstsc.c wstsc needs-flag
# IVS
device ivsc: scsi, sci
device ivsc class dull: scsi, sci
attach ivsc at zbus
file arch/amiga/dev/ivsc.c ivsc needs-flag
# MLH
device mlhsc: scsi, sci
device mlhsc class dull: scsi, sci
attach mlhsc at zbus
file arch/amiga/dev/mlhsc.c mlhsc needs-flag
# CSA twelve gauge.
device otgsc: scsi, sci
device otgsc class dull: scsi, sci
attach otgsc at zbus
file arch/amiga/dev/otgsc.c otgsc needs-flag
@ -263,76 +263,76 @@ define siop
file arch/amiga/dev/siop.c siop
# PPI Zeus
device zssc: scsi, siop
device zssc class dull: scsi, siop
attach zssc at zbus
file arch/amiga/dev/zssc.c zssc needs-flag
# CSA Magnum
device mgnsc: scsi, siop
device mgnsc class dull: scsi, siop
attach mgnsc at zbus
file arch/amiga/dev/mgnsc.c mgnsc needs-flag
# MacroSystems USA Warp Engine
device wesc: scsi, siop
device wesc class dull: scsi, siop
attach wesc at zbus
file arch/amiga/dev/wesc.c wesc needs-flag
# C= A4091 & A4000T
device afsc: scsi, siop
device afsc class dull: scsi, siop
attach afsc at zbus
device aftsc: scsi, siop
device aftsc class dull: scsi, siop
attach aftsc at mainbus
file arch/amiga/dev/afsc.c afsc | aftsc needs-flag
# Emulex ESP216 & FAS216 controllers
# FastlaneZ3
device flsc: scsi, ncr53c9x
device flsc class dull: scsi, ncr53c9x
attach flsc at zbus
file arch/amiga/dev/flsc.c flsc needs-flag
# Blizzard1230-I,II
device bzsc: scsi, ncr53c9x
device bzsc class dull: scsi, ncr53c9x
attach bzsc at zbus
file arch/amiga/dev/bzsc.c bzsc needs-flag
# Blizzard12x0-IV
device bzivsc: scsi, ncr53c9x
device bzivsc class dull: scsi, ncr53c9x
attach bzivsc at zbus
file arch/amiga/dev/bzivsc.c bzivsc needs-flag
# Blizzard2060 scsi
device bztzsc: scsi, ncr53c9x
device bztzsc class dull: scsi, ncr53c9x
attach bztzsc at zbus
file arch/amiga/dev/bztzsc.c bztzsc needs-flag
# CyberSCSI [I] scsi
device cbsc: scsi, ncr53c9x
device cbsc class dull: scsi, ncr53c9x
attach cbsc at zbus
file arch/amiga/dev/cbsc.c cbsc needs-flag
# CyberSCSI MKII scsi
device cbiisc: scsi, ncr53c9x
device cbiisc class dull: scsi, ncr53c9x
attach cbiisc at zbus
file arch/amiga/dev/cbiisc.c cbiisc needs-flag
# EMPLANT
device empsc: scsi, sci
device empsc class dull: scsi, sci
attach empsc at zbus
file arch/amiga/dev/empsc.c empsc needs-flag
# Amiga 4000/1200 IDE masquerading as SCSI
device idesc: scsi
device idesc class dull: scsi
attach idesc at mainbus
file arch/amiga/dev/idesc.c idesc needs-flag
# MacroSystem DraCo internal
device drsc: scsi, siop
device drsc class dull: scsi, siop
attach drsc at mainbus
file arch/amiga/dev/drsc.c drsc needs-flag
# MacroSystem DraCo internal DS2404 hwc
device drbbc
device drbbc class dull
attach drbbc at mainbus
file arch/amiga/dev/drbbc.c drbbc

View File

@ -1,4 +1,4 @@
/* $NetBSD: a2kbbc.c,v 1.4 1997/10/19 21:22:19 is Exp $ */
/* $NetBSD: a2kbbc.c,v 1.5 1998/01/12 10:39:04 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -63,10 +63,6 @@ struct cfattach a2kbbc_ca = {
sizeof(struct device), a2kbbc_match, a2kbbc_attach
};
struct cfdriver a2kbbc_cd = {
NULL, "a2kbbc", DV_DULL, NULL, 0
};
void *a2kclockaddr;
time_t a2gettod __P((void));
int a2settod __P((time_t));

View File

@ -1,4 +1,4 @@
/* $NetBSD: a34kbbc.c,v 1.1 1997/07/19 00:01:42 is Exp $ */
/* $NetBSD: a34kbbc.c,v 1.2 1998/01/12 10:39:05 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -63,11 +63,6 @@ struct cfattach a34kbbc_ca = {
sizeof(struct device), a34kbbc_match, a34kbbc_attach
};
struct cfdriver a34kbbc_cd = {
NULL, "a34kbbc", DV_DULL, NULL, 0
};
void *a34kclockaddr;
time_t a3gettod __P((void));
int a3settod __P((time_t));

View File

@ -1,4 +1,4 @@
/* $NetBSD: afsc.c,v 1.21 1997/08/27 11:23:02 bouyer Exp $ */
/* $NetBSD: afsc.c,v 1.22 1998/01/12 10:39:06 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -81,18 +81,10 @@ struct cfattach afsc_ca = {
sizeof(struct siop_softc), afscmatch, afscattach
};
struct cfdriver afsc_cd = {
NULL, "afsc", DV_DULL, NULL, 0
};
struct cfattach aftsc_ca = {
sizeof(struct siop_softc), afscmatch, afscattach
};
struct cfdriver aftsc_cd = {
NULL, "aftsc", DV_DULL, NULL, 0
};
/*
* if we are a Commodore Amiga A4091 or possibly an A4000T
*/
@ -205,6 +197,7 @@ afsc_dmaintr(arg)
void
afsc_dump()
{
extern struct cfdriver afsc_cd;
int i;
for (i = 0; i < afsc_cd.cd_ndevs; ++i)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ahsc.c,v 1.19 1997/08/27 11:23:03 bouyer Exp $ */
/* $NetBSD: ahsc.c,v 1.20 1998/01/12 10:39:08 thorpej Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -88,10 +88,6 @@ struct cfattach ahsc_ca = {
sizeof(struct sbic_softc), ahscmatch, ahscattach
};
struct cfdriver ahsc_cd = {
NULL, "ahsc", DV_DULL, NULL, 0
};
/*
* if we are an A3000 we are here.
*/
@ -317,6 +313,7 @@ ahsc_dmanext(dev)
void
ahsc_dump()
{
extern struct cfdriver ahsc_cd;
int i;
for (i = 0; i < ahsc_cd.cd_ndevs; ++i)

View File

@ -1,4 +1,4 @@
/* $NetBSD: atzsc.c,v 1.23 1997/08/27 11:23:03 bouyer Exp $ */
/* $NetBSD: atzsc.c,v 1.24 1998/01/12 10:39:09 thorpej Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -88,10 +88,6 @@ struct cfattach atzsc_ca = {
sizeof(struct sbic_softc), atzscmatch, atzscattach
};
struct cfdriver atzsc_cd = {
NULL, "atzsc", DV_DULL, NULL, 0
};
/*
* if we are an A3000 we are here.
*/
@ -341,6 +337,7 @@ atzsc_dmanext(dev)
void
atzsc_dump()
{
extern struct cfdriver atzsc_cd;
int i;
for (i = 0; i < atzsc_cd.cd_ndevs; ++i)

View File

@ -1,4 +1,4 @@
/* $NetBSD: aucc.c,v 1.21 1997/11/24 21:00:50 is Exp $ */
/* $NetBSD: aucc.c,v 1.22 1998/01/12 10:39:10 thorpej Exp $ */
/*
* Copyright (c) 1997 Stephan Thesing
@ -114,10 +114,6 @@ struct cfattach aucc_ca = {
auccattach
};
struct cfdriver aucc_cd = {
NULL, "aucc", DV_DULL, NULL, 0
};
struct audio_device aucc_device = {
"Amiga-audio",
"x",

View File

@ -1,4 +1,4 @@
/* $NetBSD: bzivsc.c,v 1.1 1997/10/10 04:53:32 mhitch Exp $ */
/* $NetBSD: bzivsc.c,v 1.2 1998/01/12 10:39:11 thorpej Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -70,10 +70,6 @@ struct cfattach bzivsc_ca = {
sizeof(struct bzivsc_softc), bzivscmatch, bzivscattach
};
struct cfdriver bzivsc_cd = {
NULL, "bzivsc", DV_DULL
};
struct scsipi_adapter bzivsc_switch = {
ncr53c9x_scsi_cmd,
minphys, /* no max at this level; handled by DMA code */

View File

@ -1,4 +1,4 @@
/* $NetBSD: bzsc.c,v 1.19 1997/10/12 19:32:12 mhitch Exp $ */
/* $NetBSD: bzsc.c,v 1.20 1998/01/12 10:39:12 thorpej Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -76,10 +76,6 @@ struct cfattach bzsc_ca = {
sizeof(struct bzsc_softc), bzscmatch, bzscattach
};
struct cfdriver bzsc_cd = {
NULL, "bzsc", DV_DULL
};
struct scsipi_adapter bzsc_switch = {
ncr53c9x_scsi_cmd,
minphys, /* no max at this level; handled by DMA code */

View File

@ -1,4 +1,4 @@
/* $NetBSD: bztzsc.c,v 1.6 1997/10/24 01:43:49 mhitch Exp $ */
/* $NetBSD: bztzsc.c,v 1.7 1998/01/12 10:39:13 thorpej Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -76,10 +76,6 @@ struct cfattach bztzsc_ca = {
sizeof(struct bztzsc_softc), bztzscmatch, bztzscattach
};
struct cfdriver bztzsc_cd = {
NULL, "bztzsc", DV_DULL
};
struct scsipi_adapter bztzsc_switch = {
ncr53c9x_scsi_cmd,
minphys, /* no max at this level; handled by DMA code */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cbiisc.c,v 1.2 1997/10/24 01:43:53 mhitch Exp $ */
/* $NetBSD: cbiisc.c,v 1.3 1998/01/12 10:39:15 thorpej Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -70,10 +70,6 @@ struct cfattach cbiisc_ca = {
sizeof(struct cbiisc_softc), cbiiscmatch, cbiiscattach
};
struct cfdriver cbiisc_cd = {
NULL, "cbiisc", DV_DULL
};
struct scsipi_adapter cbiisc_switch = {
ncr53c9x_scsi_cmd,
minphys, /* no max at this level; handled by DMA code */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cbsc.c,v 1.2 1997/10/24 01:43:57 mhitch Exp $ */
/* $NetBSD: cbsc.c,v 1.3 1998/01/12 10:39:16 thorpej Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -70,10 +70,6 @@ struct cfattach cbsc_ca = {
sizeof(struct cbsc_softc), cbscmatch, cbscattach
};
struct cfdriver cbsc_cd = {
NULL, "cbsc", DV_DULL
};
struct scsipi_adapter cbsc_switch = {
ncr53c9x_scsi_cmd,
minphys, /* no max at this level; handled by DMA code */

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.31 1997/09/15 22:17:55 is Exp $ */
/* $NetBSD: clock.c,v 1.32 1998/01/12 10:39:18 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -95,9 +95,6 @@ struct cfattach clock_ca = {
sizeof(struct device), clockmatch, clockattach
};
struct cfdriver clock_cd = {
NULL, "clock", DV_DULL, NULL, 0 };
int
clockmatch(pdp, cfp, auxp)
struct device *pdp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: drbbc.c,v 1.1 1997/07/17 23:29:30 is Exp $ */
/* $NetBSD: drbbc.c,v 1.2 1998/01/12 10:39:19 thorpej Exp $ */
/*
* Copyright (c) 1997 Ignatios Souvatzis.
@ -73,10 +73,6 @@ struct cfattach drbbc_ca = {
drbbc_attach
};
struct cfdriver drbbc_cd = {
NULL, "drbbc", DV_DULL, NULL, 0
};
struct drbbc_softc *drbbc_sc;
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: drsc.c,v 1.10 1997/08/27 11:23:06 bouyer Exp $ */
/* $NetBSD: drsc.c,v 1.11 1998/01/12 10:39:20 thorpej Exp $ */
/*
* Copyright (c) 1996 Ignatios Souvatzis
@ -83,10 +83,6 @@ struct cfattach drsc_ca = {
drscattach
};
struct cfdriver drsc_cd = {
NULL, "drsc", DV_DULL, NULL, 0
};
static struct siop_softc *drsc_softc;
/*
@ -212,6 +208,7 @@ drsc_handler()
void
drsc_dump()
{
extern struct cfdriver drsc_cd;
int i;
for (i = 0; i < drsc_cd.cd_ndevs; ++i)

View File

@ -1,4 +1,4 @@
/* $NetBSD: drsupio.c,v 1.3 1997/09/27 22:44:20 is Exp $ */
/* $NetBSD: drsupio.c,v 1.4 1998/01/12 10:39:22 thorpej Exp $ */
/*
* Copyright (c) 1997 Ignatios Souvatzis
@ -66,10 +66,6 @@ struct cfattach drsupio_ca = {
sizeof(struct drsupio_softc), drsupiomatch, drsupioattach
};
struct cfdriver drsupio_cd = {
NULL, "drsupio", DV_DULL
};
int
drsupiomatch(parent, cfp, auxp)
struct device *parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: empsc.c,v 1.14 1997/08/27 11:23:07 bouyer Exp $ */
/* $NetBSD: empsc.c,v 1.15 1998/01/12 10:39:24 thorpej Exp $ */
/*
@ -78,10 +78,6 @@ struct cfattach empsc_ca = {
sizeof(struct sci_softc), empscmatch, empscattach
};
struct cfdriver empsc_cd = {
NULL, "empsc", DV_DULL, NULL, 0
};
/*
* if this is an EMPLANT board
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.39 1997/10/11 16:13:19 mhitch Exp $ */
/* $NetBSD: fd.c,v 1.40 1998/01/12 10:39:26 thorpej Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -241,18 +241,12 @@ struct cfattach fd_ca = {
sizeof(struct fd_softc), fdmatch, fdattach
};
struct cfdriver fd_cd = {
NULL, "fd", DV_DISK, NULL, 0
};
extern struct cfdriver fd_cd;
struct cfattach fdc_ca = {
sizeof(struct device), fdcmatch, fdcattach
};
struct cfdriver fdc_cd = {
NULL, "fdc", DV_DULL, NULL, 0
};
/*
* all hw access through macros, this helps to hide the active low
* properties

View File

@ -1,4 +1,4 @@
/* $NetBSD: flsc.c,v 1.17 1997/10/24 01:50:03 mhitch Exp $ */
/* $NetBSD: flsc.c,v 1.18 1998/01/12 10:39:27 thorpej Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -76,10 +76,6 @@ struct cfattach flsc_ca = {
sizeof(struct flsc_softc), flscmatch, flscattach
};
struct cfdriver flsc_cd = {
NULL, "flsc", DV_DULL
};
struct scsipi_adapter flsc_switch = {
ncr53c9x_scsi_cmd,
minphys, /* no max at this level; handled by DMA code */

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf.c,v 1.32 1996/12/23 09:10:01 veego Exp $ */
/* $NetBSD: grf.c,v 1.33 1998/01/12 10:39:29 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -106,10 +106,6 @@ struct cfattach grf_ca = {
sizeof(struct device), grfmatch, grfattach
};
struct cfdriver grf_cd = {
NULL, "grf", DV_DULL, NULL, 0
};
/*
* only used in console init.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_cc.c,v 1.23 1996/12/23 09:10:02 veego Exp $ */
/* $NetBSD: grf_cc.c,v 1.24 1998/01/12 10:39:30 thorpej Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -69,10 +69,6 @@ struct cfattach grfcc_ca = {
sizeof(struct grf_softc), grfccmatch, grfccattach
};
struct cfdriver grfcc_cd = {
NULL, "grfcc", DV_DULL, NULL, 0
};
/*
* only used in console init
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_cl.c,v 1.20 1997/07/29 17:46:24 veego Exp $ */
/* $NetBSD: grf_cl.c,v 1.21 1998/01/12 10:39:31 thorpej Exp $ */
/*
* Copyright (c) 1997 Klaus Burkert
@ -187,9 +187,6 @@ struct cfattach grfcl_ca = {
sizeof(struct grf_softc), grfclmatch, grfclattach
};
struct cfdriver grfcl_cd = {
NULL, "grfcl", DV_DULL, NULL, 0
};
static struct cfdata *cfdata;
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_cv.c,v 1.24 1997/07/30 11:05:55 veego Exp $ */
/* $NetBSD: grf_cv.c,v 1.25 1998/01/12 10:39:33 thorpej Exp $ */
/*
* Copyright (c) 1995 Michael Teske
@ -256,9 +256,6 @@ struct cfattach grfcv_ca = {
sizeof(struct grf_cv_softc), grfcvmatch, grfcvattach
};
struct cfdriver grfcv_cd = {
NULL, "grfcv", DV_DULL, NULL, 0
};
static struct cfdata *cfdata;
#define CV_INT_NUM 6 /* CV interrupt Level: #2 or #6 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_cv3d.c,v 1.5 1997/12/20 21:13:13 perry Exp $ */
/* $NetBSD: grf_cv3d.c,v 1.6 1998/01/12 10:39:34 thorpej Exp $ */
/*
* Copyright (c) 1995 Michael Teske
@ -263,9 +263,6 @@ struct cfattach grfcv3d_ca = {
sizeof(struct grf_softc), grfcv3dmatch, grfcv3dattach
};
struct cfdriver grfcv3d_cd = {
NULL, "grfcv3d", DV_DULL, NULL, 0
};
static struct cfdata *cfdata;
#define CV3D_ULCURSOR 1 /* Underlined Cursor in textmode */

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_et.c,v 1.10 1997/07/29 17:46:31 veego Exp $ */
/* $NetBSD: grf_et.c,v 1.11 1998/01/12 10:39:36 thorpej Exp $ */
/*
* Copyright (c) 1997 Klaus Burkert
@ -181,10 +181,6 @@ struct cfattach grfet_ca = {
sizeof(struct grf_softc), grfetmatch, grfetattach
};
struct cfdriver grfet_cd = {
NULL, "grfet", DV_DULL, NULL, 0
};
static struct cfdata *cfdata;
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_rh.c,v 1.27 1997/07/29 17:52:05 veego Exp $ */
/* $NetBSD: grf_rh.c,v 1.28 1998/01/12 10:39:37 thorpej Exp $ */
/*
* Copyright (c) 1994 Markus Wild
@ -1535,10 +1535,6 @@ struct cfattach grfrh_ca = {
sizeof(struct grf_softc), grfrhmatch, grfrhattach
};
struct cfdriver grfrh_cd = {
NULL, "grfrh", DV_DULL, NULL, 0
};
static struct cfdata *cfdata;
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_rt.c,v 1.35 1997/07/29 17:52:09 veego Exp $ */
/* $NetBSD: grf_rt.c,v 1.36 1998/01/12 10:39:39 thorpej Exp $ */
/*
* Copyright (c) 1993 Markus Wild
@ -784,10 +784,6 @@ struct cfattach grfrt_ca = {
sizeof(struct grf_softc), grfrtmatch, grfrtattach
};
struct cfdriver grfrt_cd = {
NULL, "grfrt", DV_DULL, NULL, 0
};
/*
* only used in console init
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_ul.c,v 1.24 1997/07/29 17:50:01 veego Exp $ */
/* $NetBSD: grf_ul.c,v 1.25 1998/01/12 10:39:40 thorpej Exp $ */
#define UL_DEBUG
/*
@ -438,10 +438,6 @@ struct cfattach grful_ca = {
sizeof(struct grf_ul_softc), grfulmatch, grfulattach
};
struct cfdriver grful_cd = {
NULL, "grful", DV_DULL, NULL, 0
};
/*
* only used in console init
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: gtsc.c,v 1.22 1997/08/27 11:23:09 bouyer Exp $ */
/* $NetBSD: gtsc.c,v 1.23 1998/01/12 10:39:42 thorpej Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -93,10 +93,6 @@ struct cfattach gtsc_ca = {
sizeof(struct sbic_softc), gtscmatch, gtscattach
};
struct cfdriver gtsc_cd = {
NULL, "gtsc", DV_DULL, NULL, 0
};
int
gtscmatch(pdp, cfp, auxp)
struct device *pdp;
@ -360,6 +356,7 @@ gtsc_dmanext(dev)
void
gtsc_dump()
{
extern struct cfdriver gtsc_cd;
int i;
for (i = 0; i < gtsc_cd.cd_ndevs; ++i)

View File

@ -1,4 +1,4 @@
/* $NetBSD: gvpbus.c,v 1.15 1996/12/23 09:10:12 veego Exp $ */
/* $NetBSD: gvpbus.c,v 1.16 1998/01/12 10:39:43 thorpej Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -46,10 +46,6 @@ struct cfattach gvpbus_ca = {
sizeof(struct device), gvpbusmatch, gvpbusattach
};
struct cfdriver gvpbus_cd = {
NULL, "gvpbus", DV_DULL, NULL, 0
};
int
gvpbusmatch(pdp, cfp, auxp)
struct device *pdp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: gvpio.c,v 1.1 1997/10/19 21:22:23 is Exp $ */
/* $NetBSD: gvpio.c,v 1.2 1998/01/12 10:39:44 thorpej Exp $ */
/*
* Copyright (c) 1997 Ignatios Souvatzis
@ -73,10 +73,6 @@ struct cfattach gvpio_ca = {
sizeof(struct gvpio_softc), gvpiomatch, gvpioattach
};
struct cfdriver gvpio_cd = {
NULL, "gvpio", DV_DULL
};
int
gvpiomatch(parent, cfp, auxp)
struct device *parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: hyper.c,v 1.1 1997/10/18 23:31:40 is Exp $ */
/* $NetBSD: hyper.c,v 1.2 1998/01/12 10:39:45 thorpej Exp $ */
/*
* Copyright (c) 1997 Ignatios Souvatzis
@ -67,10 +67,6 @@ struct cfattach hyper_ca = {
sizeof(struct hyper_softc), hypermatch, hyperattach
};
struct cfdriver hyper_cd = {
NULL, "hyper", DV_DULL
};
int
hypermatch(parent, cfp, auxp)
struct device *parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: idesc.c,v 1.30 1997/08/27 11:23:10 bouyer Exp $ */
/* $NetBSD: idesc.c,v 1.31 1998/01/12 10:39:46 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -271,10 +271,6 @@ struct cfattach idesc_ca = {
sizeof(struct idec_softc), idescmatch, idescattach
};
struct cfdriver idesc_cd = {
NULL, "idesc", DV_DULL, NULL, 0
};
struct {
short ide_err;
char scsi_sense_key;
@ -1076,10 +1072,6 @@ idesc_intr(arg)
short *bf;
int i;
#if 0
if (idesc_cd.cd_ndevs == 0 || (dev = idesc_cd.cd_devs[0]) == NULL)
return (0);
#endif
regs = dev->sc_cregs;
if (dev->sc_flags & IDECF_A1200) {
if (*dev->sc_a1200 & 0x80) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_bah.c,v 1.30 1997/04/04 06:27:32 is Exp $ */
/* $NetBSD: if_bah.c,v 1.31 1998/01/12 10:39:47 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Ignatios Souvatzis
@ -196,10 +196,6 @@ struct cfattach bah_zbus_ca = {
sizeof(struct bah_softc), bah_zbus_match, bah_zbus_attach
};
struct cfdriver bah_cd = {
NULL, "bah", DV_IFNET
};
int
bah_zbus_match(parent, cfp, aux)
struct device *parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ed.c,v 1.26 1997/03/17 17:51:42 is Exp $ */
/* $NetBSD: if_ed.c,v 1.27 1998/01/12 10:39:49 thorpej Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@ -124,10 +124,6 @@ struct cfattach ed_zbus_ca = {
sizeof(struct ed_softc), ed_zbus_match, ed_zbus_attach
};
struct cfdriver ed_cd = {
NULL, "ed", DV_IFNET
};
#define ETHER_MIN_LEN 64
#define ETHER_MAX_LEN 1518
#define ETHER_ADDR_LEN 6

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_es.c,v 1.18 1997/03/17 17:55:54 is Exp $ */
/* $NetBSD: if_es.c,v 1.19 1998/01/12 10:39:51 thorpej Exp $ */
/*
* Copyright (c) 1995 Michael L. Hitch
@ -129,10 +129,6 @@ struct cfattach es_ca = {
sizeof(struct es_softc), esmatch, esattach
};
struct cfdriver es_cd = {
NULL, "es", DV_IFNET
};
int
esmatch(parent, cfp, aux)
struct device *parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_qn.c,v 1.12 1997/03/17 18:04:40 is Exp $ */
/* $NetBSD: if_qn.c,v 1.13 1998/01/12 10:39:53 thorpej Exp $ */
/*
* Copyright (c) 1995 Mika Kortelainen
@ -179,11 +179,6 @@ struct cfattach qn_ca = {
sizeof(struct qn_softc), qnmatch, qnattach
};
struct cfdriver qn_cd = {
NULL, "qn", DV_IFNET
};
int
qnmatch(parent, cfp, aux)
struct device *parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ite.c,v 1.47 1996/12/23 09:10:20 veego Exp $ */
/* $NetBSD: ite.c,v 1.48 1998/01/12 10:39:55 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -152,9 +152,7 @@ struct cfattach ite_ca = {
sizeof(struct ite_softc), itematch, iteattach
};
struct cfdriver ite_cd = {
NULL, "ite", DV_DULL, NULL, 0
};
extern struct cfdriver ite_cd;
int
itematch(pdp, cfp, auxp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ivsc.c,v 1.22 1997/08/27 11:23:11 bouyer Exp $ */
/* $NetBSD: ivsc.c,v 1.23 1998/01/12 10:39:56 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -88,10 +88,6 @@ struct cfattach ivsc_ca = {
sizeof(struct sci_softc), ivscmatch, ivscattach
};
struct cfdriver ivsc_cd = {
NULL, "ivsc", DV_DULL, NULL, 0
};
/*
* if this is an IVS board
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: kbd.c,v 1.28 1996/12/23 09:10:22 veego Exp $ */
/* $NetBSD: kbd.c,v 1.29 1998/01/12 10:39:57 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@ -80,10 +80,6 @@ struct cfattach kbd_ca = {
sizeof(struct device), kbdmatch, kbdattach
};
struct cfdriver kbd_cd = {
NULL, "kbd", DV_DULL, NULL, 0
};
/*ARGSUSED*/
int
kbdmatch(pdp, cfp, auxp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: melody.c,v 1.1 1997/10/16 23:58:31 is Exp $ */
/* $NetBSD: melody.c,v 1.2 1998/01/12 10:39:58 thorpej Exp $ */
/*-
* Copyright (c) 1997 Ignatios Souvatzis. All rights reserved.
@ -64,10 +64,6 @@ struct cfattach melody_ca = {
sizeof(struct melody_softc), melody_match, melody_attach
};
struct cfdriver melody_cd = {
NULL, "melody", DV_DULL
};
int
melody_match(parent, cfp, aux)
struct device *parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mfc.c,v 1.18 1996/12/23 09:10:23 veego Exp $ */
/* $NetBSD: mfc.c,v 1.19 1998/01/12 10:39:59 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -205,28 +205,18 @@ struct cfattach mfc_ca = {
sizeof(struct mfc_softc), mfcmatch, mfcattach
};
struct cfdriver mfc_cd = {
NULL, "mfc", DV_DULL, NULL, 0
};
#if NMFCS > 0
struct cfattach mfcs_ca = {
sizeof(struct mfcs_softc), mfcsmatch, mfcsattach
};
struct cfdriver mfcs_cd = {
NULL, "mfcs", DV_TTY, NULL, 0
};
extern struct cfdriver mfcs_cd;
#endif
#if NMFCP > 0
struct cfattach mfcp_ca = {
sizeof(struct mfcp_softc, mfcpmatch, mfcpattach
};
struct cfdriver mfcp_cd = {
NULL, "mfcp", DV_DULL, NULL, 0
};
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: mgnsc.c,v 1.25 1997/08/27 11:23:12 bouyer Exp $ */
/* $NetBSD: mgnsc.c,v 1.26 1998/01/12 10:40:01 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -80,10 +80,6 @@ struct cfattach mgnsc_ca = {
sizeof(struct siop_softc), mgnscmatch, mgnscattach
};
struct cfdriver mgnsc_cd = {
NULL, "mgnsc", DV_DULL, NULL, 0
};
/*
* if we are a CSA Magnum 40 SCSI
*/
@ -191,6 +187,7 @@ mgnsc_dmaintr(arg)
void
mgnsc_dump()
{
extern struct cfdriver mgnsc_cd;
int i;
for (i = 0; i < mgnsc_cd.cd_ndevs; ++i)

View File

@ -1,4 +1,4 @@
/* $NetBSD: mlhsc.c,v 1.17 1997/08/27 11:23:13 bouyer Exp $ */
/* $NetBSD: mlhsc.c,v 1.18 1998/01/12 10:40:02 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -83,10 +83,6 @@ struct cfattach mlhsc_ca = {
sizeof(struct sci_softc), mlhscmatch, mlhscattach
};
struct cfdriver mlhsc_cd = {
NULL, "mlhsc", DV_DULL, NULL, 0
};
/*
* if we are my Hacker's SCSI board we are here.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: ms.c,v 1.14 1996/12/23 09:10:25 veego Exp $ */
/* $NetBSD: ms.c,v 1.15 1998/01/12 10:40:04 thorpej Exp $ */
/*
* based on:
@ -96,9 +96,7 @@ struct cfattach ms_ca = {
sizeof(struct ms_softc), msmatch, msattach
};
struct cfdriver ms_cd = {
NULL, "ms", DV_DULL, NULL, 0
};
extern struct cfdriver ms_cd;
int
msmatch(pdp, cfp, auxp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: msc.c,v 1.13 1996/12/23 09:10:26 veego Exp $ */
/* $NetBSD: msc.c,v 1.14 1998/01/12 10:40:06 thorpej Exp $ */
/*
* Copyright (c) 1993 Zik.
@ -175,11 +175,6 @@ struct cfattach msc_ca = {
sizeof(struct device), mscmatch, mscattach
};
struct cfdriver msc_cd = {
NULL, "msc",DV_TTY, NULL, 0
};
int
mscmatch(pdp, cfp, auxp)
struct device *pdp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: otgsc.c,v 1.18 1997/08/27 11:23:13 bouyer Exp $ */
/* $NetBSD: otgsc.c,v 1.19 1998/01/12 10:40:08 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -85,10 +85,6 @@ struct cfattach otgsc_ca = {
sizeof(struct sci_softc), otgscmatch, otgscattach
};
struct cfdriver otgsc_cd = {
NULL, "otgsc", DV_DULL, NULL, 0
};
/*
* if we are my Hacker's SCSI board we are here.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: par.c,v 1.16 1996/12/23 09:10:28 veego Exp $ */
/* $NetBSD: par.c,v 1.17 1998/01/12 10:40:09 thorpej Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -105,10 +105,6 @@ struct cfattach par_ca = {
sizeof(struct device), parmatch, parattach
};
struct cfdriver par_cd = {
NULL, "par", DV_DULL, NULL, 0
};
/*ARGSUSED*/
int
parmatch(pdp, cfp, auxp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ser.c,v 1.42 1997/10/04 03:59:59 mhitch Exp $ */
/* $NetBSD: ser.c,v 1.43 1998/01/12 10:40:11 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@ -78,9 +78,7 @@ struct cfattach ser_ca = {
sizeof(struct ser_softc), sermatch, serattach
};
struct cfdriver ser_cd = {
NULL, "ser", DV_TTY, NULL, 0
};
extern struct cfdriver ser_cd;
#ifndef SEROBUF_SIZE
#define SEROBUF_SIZE 32

View File

@ -1,4 +1,4 @@
/* $NetBSD: wesc.c,v 1.20 1997/08/27 11:23:23 bouyer Exp $ */
/* $NetBSD: wesc.c,v 1.21 1998/01/12 10:40:13 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -80,10 +80,6 @@ struct cfattach wesc_ca = {
sizeof(struct siop_softc), wescmatch, wescattach
};
struct cfdriver wesc_cd = {
NULL, "wesc", DV_DULL, NULL, 0
};
/*
* if we are an MacroSystemsUS Warp Engine
*/
@ -175,6 +171,7 @@ wesc_dmaintr(arg)
void
wesc_dump()
{
extern struct cfdriver wesc_cd;
int i;
for (i = 0; i < wesc_cd.cd_ndevs; ++i)

View File

@ -1,4 +1,4 @@
/* $NetBSD: wstsc.c,v 1.19 1997/08/27 11:23:24 bouyer Exp $ */
/* $NetBSD: wstsc.c,v 1.20 1998/01/12 10:40:14 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -90,10 +90,6 @@ struct cfattach wstsc_ca = {
sizeof(struct sci_softc), wstscmatch, wstscattach
};
struct cfdriver wstsc_cd = {
NULL, "wstsc", DV_DULL, NULL, 0
};
/*
* if this a Supra WordSync board
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: zbus.c,v 1.36 1997/10/19 21:22:28 is Exp $ */
/* $NetBSD: zbus.c,v 1.37 1998/01/12 10:40:15 thorpej Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -229,10 +229,6 @@ struct cfattach zbus_ca = {
sizeof(struct device), zbusmatch, zbusattach
};
struct cfdriver zbus_cd = {
NULL, "zbus", DV_DULL, NULL, 0
};
static struct cfdata *early_cfdata;
/*ARGSUSED*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: zssc.c,v 1.23 1997/08/27 11:23:24 bouyer Exp $ */
/* $NetBSD: zssc.c,v 1.24 1998/01/12 10:40:17 thorpej Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -80,10 +80,6 @@ struct cfattach zssc_ca = {
sizeof(struct siop_softc), zsscmatch, zsscattach
};
struct cfdriver zssc_cd = {
NULL, "zssc", DV_DULL, NULL, 0
};
/*
* if we are an PPI Zeus
*/
@ -192,6 +188,7 @@ zssc_dmaintr(arg)
void
zssc_dump()
{
extern struct cfdriver zssc_cd;
int i;
for (i = 0; i < zssc_cd.cd_ndevs; ++i)