Update for changes to config.

This commit is contained in:
thorpej 1998-01-13 02:09:58 +00:00
parent a8dda8092d
commit 687449a900
36 changed files with 88 additions and 225 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arm32,v 1.33 1998/01/05 20:51:32 perry Exp $
# $NetBSD: files.arm32,v 1.34 1998/01/13 02:09:58 thorpej Exp $
#
# First try for arm-specific configuration info
#
@ -6,27 +6,27 @@
maxpartitions 8
maxusers 2 8 64
device mainbus { [base = -1], [dack = -1], [irq = -1] }
device mainbus class dull { [base = -1], [dack = -1], [irq = -1] }
attach mainbus at root
file arch/arm32/mainbus/mainbus.c mainbus
file arch/arm32/mainbus/mainbus_io.c mainbus
file arch/arm32/mainbus/mainbus_io_asm.S mainbus
device cpu
device cpu class cpu
attach cpu at mainbus
file arch/arm32/mainbus/cpu.c cpu needs-flag
major {cpu = 38}
# PIOC (Peripheral IO Controller) device
# parent to wdc, fdc, com lpt
device pioc { [offset = -1], [dack = -1], [irq = -1] }
device pioc class dull { [offset = -1], [dack = -1], [irq = -1] }
attach pioc at mainbus
file arch/arm32/mainbus/pioc.c pioc
# Standard NetBSD wd driver
define ata {drive=-1}
device wdc: atapi, ata
device wd: disk
device wdc class dull: atapi, ata
device wd class disk: disk
attach wd at ata
file arch/arm32/dev/wdc.c wdc needs-flag
file arch/arm32/dev/wd.c wd needs-flag
@ -36,15 +36,15 @@ attach wdc at pioc with wdc_pioc
file arch/arm32/mainbus/wdc_pioc.c wdc_pioc
# Standard NetBSD fd driver
device fdc {drive = -1}
device fdc class dull {drive = -1}
attach fdc at pioc
device fd: disk
device fd class disk: disk
attach fd at fdc
file arch/arm32/mainbus/fd.c fdc needs-flag
major {fd = 17}
# Standard parallel driver
device lpt
device lpt class dull
file dev/ic/lpt.c lpt needs-flag
major {lpt = 8}
@ -64,7 +64,7 @@ major {md = 18}
# IOMD device
# parent to kbd, qms, pms, iic
# also provides irq and timer services
device iomd {}
device iomd class dull {}
attach iomd at mainbus
file arch/arm32/iomd/iomd.c iomd needs-flag
file arch/arm32/iomd/iomd_io.c iomd
@ -76,12 +76,12 @@ file arch/arm32/iomd/iomd_dma.c iomd
# IOMD mouse devices
# clock device
device clock
device clock class dull
attach clock at iomd
file arch/arm32/iomd/iomd_clock.c iomd
# quadmouse device
device qms: tty
device qms class dull: tty
file arch/arm32/dev/qms.c qms needs-flag
major {qms = 9}
@ -89,7 +89,7 @@ attach qms at iomd with qms_iomd
file arch/arm32/iomd/qms_iomd.c qms_iomd
# PS/2 mouse device
device pms: tty
device pms class dull: tty
file arch/arm32/dev/pms.c pms needs-flag
major {pms = 40}
@ -97,7 +97,7 @@ attach pms at iomd with pms_iomd
file arch/arm32/iomd/pms_iomd.c pms_iomd
# Standard keyboard driver
device kbd
device kbd class dull
file arch/arm32/dev/kbd.c kbd needs-flag
major {kbd = 11}
@ -105,7 +105,7 @@ attach kbd at iomd with kbd_iomd
file arch/arm32/iomd/kbd_iomd.c kbd_iomd
# IIC device
device iic { addr = -1 }
device iic class dull { addr = -1 }
file arch/arm32/dev/iic.c iic needs-flag
attach iic at iomd with iic_iomd
@ -113,38 +113,38 @@ file arch/arm32/iomd/iic_iomd.c iic_iomd
file arch/arm32/iomd/iomd_iic.S iic_iomd
# IIC based RTC
device rtc {}
device rtc class dull {}
attach rtc at iic
file arch/arm32/dev/rtc.c rtc needs-flag
device todclock
device todclock class dull
attach todclock at rtc
file arch/arm32/dev/todclock.c todclock needs-count
# VIDC device
# parent to vidcvideo, vidcaudio, beep
device vidc { [base = -1], [dack = -1], [irq = -1] }
device vidc class dull { [base = -1], [dack = -1], [irq = -1] }
attach vidc at mainbus
file arch/arm32/vidc/vidc20.c vidc needs-count
# Audio devices
device beep
device beep class dull
attach beep at vidc
file arch/arm32/vidc/beep.c beep needs-flag
major {beep = 10}
device vidcaudio: audio
device vidcaudio class dull: audio
attach vidcaudio at vidc
file arch/arm32/vidc/vidcaudio.c vidcaudio needs-flag
major {vidcaudio = 36}
device lmcaudio: audio
device lmcaudio class dull: audio
attach lmcaudio at vidc
file arch/arm32/vidc/lmcaudio.c lmcaudio needs-flag
file arch/arm32/vidc/lmc1982.S lmcaudio
# Podule bus device
device podulebus { [slot = -1] }
device podulebus class dull { [slot = -1] }
attach podulebus at root
file arch/arm32/podulebus/podulebus.c podulebus needs-flag
file arch/arm32/podulebus/podulebus_io.c podulebus
@ -156,27 +156,27 @@ define dp8390pio
file arch/arm32/dev/dp8390_pio.c dp8390pio
file arch/arm32/dev/dp8390.c dp8390pio
device em: ether, ifnet, dp8390pio, arp
device em class ifnet: ether, ifnet, dp8390pio, arp
attach em at podulebus
file arch/arm32/podulebus/if_em.c em
device ea: ether, ifnet, arp
device ea class ifnet: ether, ifnet, arp
attach ea at podulebus
file arch/arm32/podulebus/if_ea.c ea
device eb: ether, ifnet, arp
device eb class ifnet: ether, ifnet, arp
attach eb at podulebus
file arch/arm32/podulebus/if_eb.c eb
device eh: ether, ifnet, arp
device eh class ifnet: ether, ifnet, arp
attach eh at podulebus
file arch/arm32/podulebus/if_eh.c eh
device ie: ether, ifnet, arp
device ie class ifnet: ether, ifnet, arp
attach ie at podulebus
file arch/arm32/podulebus/if_ie.c ie
device es: ether, ifnet, arp
device es class ifnet: ether, ifnet, arp
attach es at mainbus
file arch/arm32/rc7500/if_es.c es & rc7500
@ -206,7 +206,7 @@ define sbic
file arch/arm32/podulebus/sbic.c sbic
# Acorn SCSI I specific layer for sbic
device asc: scsi, sbic
device asc class dull: scsi, sbic
attach asc at podulebus
file arch/arm32/podulebus/asc.c asc needs-flag
@ -215,7 +215,7 @@ define esc
file arch/arm32/podulebus/esc.c esc
# Connect32 specific layer for esc
device cosc: scsi, esc
device cosc class dull: scsi, esc
attach cosc at podulebus
file arch/arm32/podulebus/cosc.c cosc
@ -223,7 +223,7 @@ file arch/arm32/podulebus/cosc.c cosc
define sfas
file arch/arm32/podulebus/sfas.c sfas
device ptsc: scsi, sfas
device ptsc class dull: scsi, sfas
attach ptsc at podulebus
file arch/arm32/podulebus/ptsc.c ptsc
@ -232,12 +232,12 @@ define ncr
file arch/arm32/dev/ncr5380sbc.c ncr
# Oak specific layer for ncr
device oak: scsi, ncr
device oak class dull: scsi, ncr
attach oak at podulebus
file arch/arm32/podulebus/oak.c oak
# ICS IDE driver
device icside {}
device icside class dull {}
attach icside at podulebus
file arch/arm32/podulebus/icside.c icside
file arch/arm32/podulebus/icside_io.c icside
@ -246,7 +246,7 @@ file arch/arm32/podulebus/icside_io_asm.S icside
attach wdc at icside with wdc_ics
# Yellowstone RapIDE driver
device rapide {}
device rapide class dull {}
attach rapide at podulebus
file arch/arm32/podulebus/rapide.c rapide
file arch/arm32/podulebus/rapide_io_asm.S rapide
@ -254,7 +254,7 @@ file arch/arm32/podulebus/rapide_io_asm.S rapide
attach wdc at rapide with wdc_rapide
# Simtec IDE driver
device simide {}
device simide class dull {}
attach simide at podulebus
file arch/arm32/podulebus/simide.c simide
file arch/arm32/podulebus/simide_io_asm.S simide
@ -262,16 +262,16 @@ file arch/arm32/podulebus/simide_io_asm.S simide
attach wdc at simide with wdc_sim
# Atomwide Multi-Port Serial driver
device amps {}
device amps class dull {}
attach amps at podulebus
attach com at amps with com_amps
file arch/arm32/podulebus/amps.c amps
device vidcvideo
device vidcvideo class dull
attach vidcvideo at vidc
file arch/arm32/vidc/console/vidcvideo.c vidcvideo needs-count
major {vidcvideo = 37}
device vt: tty
device vt class tty: tty
attach vt at vidc
file arch/arm32/vidc/console/console.c vt needs-count

View File

@ -1,4 +1,4 @@
/* $NetBSD: iic.c,v 1.10 1997/10/14 19:35:40 mark Exp $ */
/* $NetBSD: iic.c,v 1.11 1998/01/13 02:10:01 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -78,6 +78,7 @@ extern void iic_set_state_and_ack __P((int, int));
extern void iic_set_state __P((int, int));
extern void iic_delay __P((int));
extern struct cfdriver iic_cd;
/*
* Main entry to IIC driver.
@ -224,10 +225,6 @@ iic_stop_bit()
/* driver structures */
struct cfdriver iic_cd = {
NULL, "iic", DV_DULL, 0
};
/*
* int iicprint(void *aux, const char *name)
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: kbd.c,v 1.19 1997/10/14 19:35:38 mark Exp $ */
/* $NetBSD: kbd.c,v 1.20 1998/01/13 02:10:03 thorpej Exp $ */
/*
* Copyright (c) 1994-1997 Mark Brinicombe.
@ -146,9 +146,7 @@ extern int console_scrollforward __P((void));
extern void pmap_debug __P((int level));
#endif
struct cfdriver kbd_cd = {
NULL, "kbd", DV_TTY
};
extern struct cfdriver kbd_cd;
/* keyboard commands */
@ -194,7 +192,6 @@ struct cfdriver kbd_cd = {
#define KBD_ST_KDATAI 0x02
#define KBD_ST_KCLKI 0x01
int
kbdopen(dev, flag, mode, p)
dev_t dev;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pms.c,v 1.12 1997/10/14 19:35:34 mark Exp $ */
/* $NetBSD: pms.c,v 1.13 1998/01/13 02:10:05 thorpej Exp $ */
/*-
* Copyright (c) 1996 D.C. Tsen
@ -79,11 +79,9 @@ void pmswatchdog __P((void *));
void pmsputbuffer __P((struct pms_softc *sc, struct mousebufrec *buf));
static __inline void pms_flush __P((struct pms_softc *sc));
/* pms device driver structure */
extern struct cfdriver pms_cd;
struct cfdriver pms_cd = {
NULL, "pms", DV_DULL
};
/* pms device driver structure */
#define PMS_DATA 0
#define PMS_CR 1

View File

@ -1,4 +1,4 @@
/* $NetBSD: qms.c,v 1.15 1997/10/14 19:35:36 mark Exp $ */
/* $NetBSD: qms.c,v 1.16 1998/01/13 02:10:07 thorpej Exp $ */
/*
* Copyright (c) Scott Stevens 1995 All rights reserved
@ -62,11 +62,9 @@
static void qmsputbuffer __P((struct qms_softc *sc, struct mousebufrec *buf));
/* qms device structure */
extern struct cfdriver pms_cd;
struct cfdriver qms_cd = {
NULL, "qms", DV_DULL
};
/* qms device structure */
/* Offsets of hardware registers */
#define QMS_MOUSEX 0 /* 16 bit X register */

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtc.c,v 1.7 1997/10/14 19:07:20 mark Exp $ */
/* $NetBSD: rtc.c,v 1.8 1998/01/13 02:10:08 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -227,9 +227,7 @@ struct cfattach rtc_ca = {
sizeof(struct rtc_softc), rtcmatch, rtcattach
};
struct cfdriver rtc_cd = {
NULL, "rtc", DV_DULL, 0
};
extern struct cfdriver rtc_cd;
/*
* rtcmatch()

View File

@ -1,4 +1,4 @@
/* $NetBSD: todclock.c,v 1.1 1997/10/14 19:19:40 mark Exp $ */
/* $NetBSD: todclock.c,v 1.2 1998/01/13 02:10:09 thorpej Exp $ */
/*
* Copyright (c) 1994-1997 Mark Brinicombe.
@ -93,10 +93,6 @@ struct cfattach todclock_ca = {
sizeof(struct todclock_softc), todclockmatch, todclockattach
};
struct cfdriver todclock_cd = {
NULL, "todclock", DV_DULL, 0
};
/*
* int todclockmatch(struct device *parent, struct cfdata *cf, void *aux)
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: wd.c,v 1.20 1997/10/17 06:41:35 mark Exp $ */
/* $NetBSD: wd.c,v 1.21 1998/01/13 02:10:10 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@ -99,9 +99,7 @@ struct cfattach wd_ca = {
sizeof(struct wd_softc), wdprobe, wdattach
};
struct cfdriver wd_cd = {
NULL, "wd", DV_DISK
};
extern struct cfdriver wd_cd;
void wdgetdefaultlabel __P((struct wd_softc *, struct disklabel *));
void wdgetdisklabel __P((struct wd_softc *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc.c,v 1.1 1997/10/17 06:41:38 mark Exp $ */
/* $NetBSD: wdc.c,v 1.2 1998/01/13 02:10:11 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@ -93,10 +93,6 @@ struct cfattach wdc_ca = {
sizeof(struct wdc_softc), NULL, NULL
};
struct cfdriver wdc_cd = {
NULL, "wdc", DV_DULL
};
void wdcstart __P((struct wdc_softc *));
int wdcreset __P((struct wdc_softc *, int));
#define VERBOSE 1

View File

@ -1,4 +1,4 @@
/* $NetBSD: iomd.c,v 1.1 1997/10/14 10:58:48 mark Exp $ */
/* $NetBSD: iomd.c,v 1.2 1998/01/13 02:10:14 thorpej Exp $ */
/*
* Copyright (c) 1996-1997 Mark Brinicombe.
@ -89,10 +89,6 @@ struct cfattach iomd_ca = {
sizeof(struct iomd_softc), iomdmatch, iomdattach
};
struct cfdriver iomd_cd = {
NULL, "iomd", DV_DULL, 0
};
extern struct bus_space iomd_bs_tag;
/* Declare prototypes */

View File

@ -1,4 +1,4 @@
/* $NetBSD: iomd_clock.c,v 1.14 1997/10/14 11:09:56 mark Exp $ */
/* $NetBSD: iomd_clock.c,v 1.15 1998/01/13 02:10:15 thorpej Exp $ */
/*
* Copyright (c) 1994-1997 Mark Brinicombe.
@ -82,10 +82,6 @@ struct cfattach clock_ca = {
sizeof(struct clock_softc), clockmatch, clockattach
};
struct cfdriver clock_cd = {
NULL, "clock", DV_DULL, 0
};
/*
* int clockmatch(struct device *parent, void *match, void *aux)
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.14 1997/11/06 00:51:02 mark Exp $ */
/* $NetBSD: cpu.c,v 1.15 1998/01/13 02:10:17 thorpej Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@ -128,10 +128,7 @@ struct cfattach cpu_ca = {
sizeof(struct cpu_softc), cpumatch, cpuattach
};
struct cfdriver cpu_cd = {
NULL, "cpu", DV_DULL, 0
};
extern struct cfdriver cpu_cd;
/*
* Used to test for an FPA. The following function is installed as a coproc1

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.21 1997/10/14 20:00:03 mark Exp $ */
/* $NetBSD: fd.c,v 1.22 1998/01/13 02:10:18 thorpej Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1996
@ -148,10 +148,6 @@ struct cfattach fdc_ca = {
sizeof(struct fdc_softc), fdcprobe, fdcattach
};
struct cfdriver fdc_cd = {
NULL, "fdc", DV_DULL
};
/*
* Floppies come in various flavors, e.g., 1.2MB vs 1.44MB; here is how
* we tell them apart.
@ -228,9 +224,7 @@ struct cfattach fd_ca = {
sizeof(struct fd_softc), fdprobe, fdattach
};
struct cfdriver fd_cd = {
NULL, "fd", DV_DISK
};
extern struct cfdriver fd_cd;
void fdgetdisklabel __P((struct fd_softc *));
int fd_get_parms __P((struct fd_softc *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.11 1997/10/14 21:25:01 mark Exp $ */
/* $NetBSD: mainbus.c,v 1.12 1998/01/13 02:10:19 thorpej Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@ -74,10 +74,6 @@ struct cfattach mainbus_ca = {
sizeof(struct device), mainbusmatch, mainbusattach
};
struct cfdriver mainbus_cd = {
NULL, "mainbus", DV_DULL, 0
};
/*
* int mainbusmatch(struct device *parent, struct cfdata *cf, void *aux)
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: pioc.c,v 1.1 1997/10/14 19:57:42 mark Exp $ */
/* $NetBSD: pioc.c,v 1.2 1998/01/13 02:10:20 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@ -102,10 +102,6 @@ struct cfattach pioc_ca = {
sizeof(struct pioc_softc), piocmatch, piocattach
};
struct cfdriver pioc_cd = {
NULL, "pioc", DV_DULL, 0
};
/*
* void piocgetid(bus_space_tag_t iot, bus_space_handle_t ioh,
* int config_entry, int *id, int *revision)

View File

@ -1,4 +1,4 @@
/* $NetBSD: amps.c,v 1.1 1997/11/06 02:08:51 mark Exp $ */
/* $NetBSD: amps.c,v 1.2 1998/01/13 02:10:24 thorpej Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -98,10 +98,6 @@ struct cfattach amps_ca = {
sizeof(struct amps_softc), amps_probe, amps_attach
};
struct cfdriver amps_cd = {
NULL, "amps", DV_DULL, NULL, 0
};
/*
* Attach arguments for child devices.
* Pass the podule details, the parent softc and the channel

View File

@ -1,4 +1,4 @@
/* $NetBSD: asc.c,v 1.19 1997/10/14 22:07:50 mark Exp $ */
/* $NetBSD: asc.c,v 1.20 1998/01/13 02:10:25 thorpej Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@ -102,9 +102,7 @@ struct cfattach asc_ca = {
sizeof(struct asc_softc), ascmatch, ascattach
};
struct cfdriver asc_cd = {
NULL, "asc", DV_DULL, NULL, 0
};
extern struct cfdriver asc_cd;
u_long scsi_nosync;
int shift_nosync;

View File

@ -1,4 +1,4 @@
/* $NetBSD: cosc.c,v 1.6 1997/10/14 22:07:53 mark Exp $ */
/* $NetBSD: cosc.c,v 1.7 1998/01/13 02:10:26 thorpej Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@ -81,10 +81,6 @@ struct cfattach cosc_ca = {
sizeof(struct cosc_softc), coscmatch, coscattach
};
struct cfdriver cosc_cd = {
NULL, "cosc", DV_DULL, NULL, 0
};
int cosc_intr __P((void *arg));
int cosc_setup_dma __P((struct esc_softc *sc, void *ptr, int len,
int mode));

View File

@ -1,4 +1,4 @@
/* $NetBSD: icside.c,v 1.4 1997/10/17 06:49:17 mark Exp $ */
/* $NetBSD: icside.c,v 1.5 1998/01/13 02:10:27 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@ -94,10 +94,6 @@ struct cfattach icside_ca = {
sizeof(struct icside_softc), icside_probe, icside_attach
};
struct cfdriver icside_cd = {
NULL, "icside", DV_DULL, NULL, 0
};
/* Print function used during child config */
int
@ -185,8 +181,6 @@ struct cfattach wdc_ics_ca = {
sizeof(struct icswdc_softc), wdc_ics_probe, wdc_ics_attach
};
extern struct cfdriver wdc_cd;
extern struct bus_space icside_bs_tag;
static int intr_expected = 0;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ea.c,v 1.16 1997/10/14 22:31:50 mark Exp $ */
/* $NetBSD: if_ea.c,v 1.17 1998/01/13 02:10:28 thorpej Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe
@ -168,10 +168,6 @@ struct cfattach ea_ca = {
sizeof(struct ea_softc), eaprobe, eaattach
};
struct cfdriver ea_cd = {
NULL, "ea", DV_IFNET
};
#if 0
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_eb.c,v 1.15 1997/10/14 22:31:55 mark Exp $ */
/* $NetBSD: if_eb.c,v 1.16 1998/01/13 02:10:30 thorpej Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe
@ -168,10 +168,6 @@ struct cfattach eb_ca = {
sizeof(struct eb_softc), ebprobe, ebattach
};
struct cfdriver eb_cd = {
NULL, "eb", DV_IFNET
};
#if 0
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_eh.c,v 1.17 1997/10/14 22:32:00 mark Exp $ */
/* $NetBSD: if_eh.c,v 1.18 1998/01/13 02:10:31 thorpej Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson.
@ -185,10 +185,6 @@ struct cfattach eh_ca = {
sizeof(struct eh_softc), ehprobe, ehattach
};
struct cfdriver eh_cd = {
NULL, "eh", DV_DULL, NULL, 0
};
/****************************************************************************/
/* Some useful macros *******************************************************/
/****************************************************************************/

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_em.c,v 1.2 1997/10/18 04:39:12 mark Exp $ */
/* $NetBSD: if_em.c,v 1.3 1998/01/13 02:10:33 thorpej Exp $ */
/*
* Copyright (C) 1997 Mark Brinicombe
@ -92,10 +92,6 @@ struct cfattach em_ca = {
sizeof(struct em_softc), emprobe, emattach
};
struct cfdriver em_cd = {
NULL, "em", DV_IFNET
};
static struct bus_space em_bs_tag;
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ie.c,v 1.14 1997/10/14 22:32:04 mark Exp $ */
/* $NetBSD: if_ie.c,v 1.15 1998/01/13 02:10:34 thorpej Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson.
@ -176,17 +176,13 @@ int ieprobe __P((struct device *, struct cfdata *, void *));
void ieattach __P((struct device *, struct device *, void *));
/*
* Our cfdriver structure for the autoconfig system to chew on
* Our cfattach structure for the autoconfig system to chew on
*/
struct cfattach ie_ca = {
sizeof(struct ie_softc), ieprobe, ieattach
};
struct cfdriver ie_cd = {
NULL, "ie", DV_IFNET
};
/* Let's go! */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: oak.c,v 1.11 1997/10/14 22:43:28 mark Exp $ */
/* $NetBSD: oak.c,v 1.12 1998/01/13 02:10:35 thorpej Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson 1996.
@ -211,10 +211,6 @@ struct cfattach oak_ca = {
sizeof(struct oak_softc), oakprobe, oakattach
};
struct cfdriver oak_cd = {
NULL, "oak", DV_DISK, NULL, 0,
};
#ifdef USE_OWN_PIO_ROUTINES
/****************************************************************************/

View File

@ -1,4 +1,4 @@
/* $NetBSD: podulebus.c,v 1.23 1997/10/15 00:02:09 mark Exp $ */
/* $NetBSD: podulebus.c,v 1.24 1998/01/13 02:10:36 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -623,11 +623,6 @@ struct cfattach podulebus_ca = {
sizeof(struct device), podulebusmatch, podulebusattach
};
struct cfdriver podulebus_cd = {
NULL, "podulebus", DV_DULL, 0
};
/* Useful functions that drivers may share */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: ptsc.c,v 1.17 1997/10/14 22:07:47 mark Exp $ */
/* $NetBSD: ptsc.c,v 1.18 1998/01/13 02:10:37 thorpej Exp $ */
/*
* Copyright (c) 1995 Scott Stevens
@ -88,10 +88,6 @@ struct cfattach ptsc_ca = {
sizeof(struct ptsc_softc), ptscmatch, ptscattach
};
struct cfdriver ptsc_cd = {
NULL, "ptsc", DV_DULL, NULL, 0
};
int ptsc_intr __P((void *arg));
int ptsc_setup_dma __P((struct sfas_softc *sc, void *ptr, int len,
int mode));

View File

@ -1,4 +1,4 @@
/* $NetBSD: rapide.c,v 1.5 1997/11/06 01:52:48 mark Exp $ */
/* $NetBSD: rapide.c,v 1.6 1998/01/13 02:10:38 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@ -132,10 +132,6 @@ struct cfattach rapide_ca = {
sizeof(struct rapide_softc), rapide_probe, rapide_attach
};
struct cfdriver rapide_cd = {
NULL, "rapide", DV_DULL, NULL, 0
};
/*
* Attach arguments for child devices.
* Pass the podule details, the parent softc and the channel
@ -320,8 +316,6 @@ struct cfattach wdc_rapide_ca = {
sizeof(struct rapwdc_softc), wdc_rapide_probe, wdc_rapide_attach
};
extern struct cfdriver wdc_cd;
/*
* Create an array of address structures. These define the addresses and
* masks needed for the different channels for the card.

View File

@ -1,4 +1,4 @@
/* $NetBSD: simide.c,v 1.3 1997/11/06 01:52:43 mark Exp $ */
/* $NetBSD: simide.c,v 1.4 1998/01/13 02:10:39 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@ -103,10 +103,6 @@ struct cfattach simide_ca = {
sizeof(struct simide_softc), simide_probe, simide_attach
};
struct cfdriver simide_cd = {
NULL, "simide", DV_DULL, NULL, 0
};
/*
* Attach arguments for child devices.
* Pass the podule details, the parent softc and the channel
@ -311,8 +307,6 @@ struct cfattach wdc_sim_ca = {
sizeof(struct simwdc_softc), wdc_simide_probe, wdc_simide_attach
};
extern struct cfdriver wdc_cd;
/*
* Create an array of address structures. These define the addresses and
* masks needed for the different channels.

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_es.c,v 1.9 1997/10/14 21:45:21 mark Exp $ */
/* $NetBSD: if_es.c,v 1.10 1998/01/13 02:10:41 thorpej Exp $ */
/*
* Copyright (c) 1996, Danny C Tsen.
@ -134,10 +134,6 @@ struct cfattach es_ca = {
sizeof(struct es_softc), esprobe, esattach
};
struct cfdriver es_cd = {
NULL, "es", DV_IFNET
};
int
esprobe(parent, match, aux)
struct device *parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: beep.c,v 1.11 1997/10/14 12:03:10 mark Exp $ */
/* $NetBSD: beep.c,v 1.12 1998/01/13 02:10:43 thorpej Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe
@ -99,10 +99,7 @@ struct cfattach beep_ca = {
sizeof(struct beep_softc), beepprobe, beepattach
};
struct cfdriver beep_cd = {
NULL, "beep", DV_TTY
};
extern struct cfdriver beep_cd;
int
beepprobe(parent, cf, aux)

View File

@ -1,4 +1,4 @@
/* $NetBSD: console.c,v 1.11 1997/10/17 05:45:40 mark Exp $ */
/* $NetBSD: console.c,v 1.12 1998/01/13 02:10:48 thorpej Exp $ */
/*
* Copyright (c) 1994-1995 Melvyn Tang-Richardson
@ -90,7 +90,6 @@ struct vconsole *vconsole_master = &vconsole_master_store;
struct vconsole *vconsole_current;
struct vconsole *vconsole_head;
struct vconsole *vconsole_default;
/*struct cfdriver rpc_cd;*/
extern struct vconsole *debug_vc; /* rename this to vconsole_debug */
int physcon_major=4;
static char undefined_string[] = "UNDEFINED";
@ -1218,19 +1217,13 @@ struct cfattach rpc_ca = {
sizeof(struct device), rpcprobe, rpcattach
};
struct cfdriver rpc_cd = {
NULL, "rpc", DV_TTY
};
extern struct cfdriver rpc_cd;
*/
struct cfattach vt_ca = {
sizeof(struct device), rpcprobe, rpcattach
};
struct cfdriver vt_cd = {
NULL, "rpc", DV_TTY
};
extern struct terminal_emulator vt220;
struct render_engine *render_engine_tab[] = {

View File

@ -1,4 +1,4 @@
/* $NetBSD: vidcvideo.c,v 1.1 1997/10/14 11:47:17 mark Exp $ */
/* $NetBSD: vidcvideo.c,v 1.2 1998/01/13 02:10:49 thorpej Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@ -111,9 +111,7 @@ struct cfattach vidcvideo_ca = {
sizeof (struct vidcvideo_softc), vidcvideo_probe, vidcvideo_attach
};
struct cfdriver vidcvideo_cd = {
NULL, "vidcvideo", DV_DULL
};
extern struct cfdriver vidcvideo_cd;
int
vidcvideoopen(dev, flags, fmt, p)

View File

@ -1,4 +1,4 @@
/* $NetBSD: lmcaudio.c,v 1.16 1997/10/19 07:41:38 augustss Exp $ */
/* $NetBSD: lmcaudio.c,v 1.17 1998/01/13 02:10:44 thorpej Exp $ */
/*
* Copyright (c) 1996, Danny C Tsen.
@ -109,10 +109,6 @@ void lmcaudio_shutdown __P((void));
struct cfattach lmcaudio_ca = {
sizeof(struct lmcaudio_softc), lmcaudio_probe, lmcaudio_attach
};
struct cfdriver lmcaudio_cd = {
NULL, "lmcaudio", DV_DULL
};
int curr_rate = 11;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vidc20.c,v 1.1 1997/10/14 11:52:08 mark Exp $ */
/* $NetBSD: vidc20.c,v 1.2 1998/01/13 02:10:45 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@ -68,10 +68,6 @@ struct cfattach vidc_ca = {
sizeof (struct vidc20_softc), vidcmatch, vidcattach
};
struct cfdriver vidc_cd = {
NULL, "vidc", DV_DULL
};
/*
* vidcmatch()
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: vidcaudio.c,v 1.20 1997/10/19 07:41:41 augustss Exp $ */
/* $NetBSD: vidcaudio.c,v 1.21 1998/01/13 02:10:46 thorpej Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson
@ -111,11 +111,6 @@ struct cfattach vidcaudio_ca = {
sizeof(struct vidcaudio_softc), vidcaudio_probe, vidcaudio_attach
};
struct cfdriver vidcaudio_cd = {
NULL, "vidcaudio", DV_DULL
};
int vidcaudio_query_encoding __P((void *, struct audio_encoding *));
int vidcaudio_set_params __P((void *, int, int, struct audio_params *, struct audio_params *));
int vidcaudio_round_blocksize __P((void *, int));