include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.
This commit is contained in:
parent
88b7aebae8
commit
e7ae23fd9e
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: view.c,v 1.31 2014/07/25 08:10:31 dholland Exp $ */
|
||||
/* $NetBSD: view.c,v 1.32 2015/08/20 14:40:16 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Christian E. Hopps
|
||||
@ -38,7 +38,7 @@
|
||||
* a interface to graphics. */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: view.c,v 1.31 2014/07/25 08:10:31 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: view.c,v 1.32 2015/08/20 14:40:16 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -55,6 +55,7 @@ __KERNEL_RCSID(0, "$NetBSD: view.c,v 1.31 2014/07/25 08:10:31 dholland Exp $");
|
||||
#include <amiga/dev/viewvar.h>
|
||||
|
||||
#include "view.h"
|
||||
#include "ioconf.h"
|
||||
|
||||
static void view_display(struct view_softc *);
|
||||
static void view_remove(struct view_softc *);
|
||||
@ -63,8 +64,6 @@ static int view_setsize(struct view_softc *, struct view_size *);
|
||||
int view_get_colormap(struct view_softc *, colormap_t *);
|
||||
int view_set_colormap(struct view_softc *, colormap_t *);
|
||||
|
||||
void viewattach(int);
|
||||
|
||||
struct view_softc views[NVIEW];
|
||||
int view_inited; /* also checked in ite_cc.c */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: view.c,v 1.34 2014/07/25 08:10:32 dholland Exp $ */
|
||||
/* $NetBSD: view.c,v 1.35 2015/08/20 14:40:16 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Christian E. Hopps
|
||||
@ -38,7 +38,7 @@
|
||||
* a interface to graphics. */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: view.c,v 1.34 2014/07/25 08:10:32 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: view.c,v 1.35 2015/08/20 14:40:16 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -53,7 +53,9 @@ __KERNEL_RCSID(0, "$NetBSD: view.c,v 1.34 2014/07/25 08:10:32 dholland Exp $");
|
||||
#include <atari/dev/grfabs_reg.h>
|
||||
#include <atari/dev/viewioctl.h>
|
||||
#include <atari/dev/viewvar.h>
|
||||
|
||||
#include "view.h"
|
||||
#include "ioconf.h"
|
||||
|
||||
static void view_display(struct view_softc *);
|
||||
static void view_remove(struct view_softc *);
|
||||
@ -93,8 +95,6 @@ const struct cdevsw view_cdevsw = {
|
||||
/*
|
||||
* functions for probeing.
|
||||
*/
|
||||
void viewattach(int);
|
||||
|
||||
void
|
||||
viewattach(int cnt)
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cmos.c,v 1.11 2014/07/25 08:10:33 dholland Exp $ */
|
||||
/* $NetBSD: cmos.c,v 1.12 2015/08/20 14:40:16 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2003 JONE System Co., Inc.
|
||||
@ -59,7 +59,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cmos.c,v 1.11 2014/07/25 08:10:33 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cmos.c,v 1.12 2015/08/20 14:40:16 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -79,6 +79,8 @@ __KERNEL_RCSID(0, "$NetBSD: cmos.c,v 1.11 2014/07/25 08:10:33 dholland Exp $");
|
||||
#include <dev/ic/mc146818reg.h>
|
||||
#include <i386/isa/nvram.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#define CMOS_SUM 32
|
||||
#define CMOS_BIOSSPEC 34 /* start of BIOS-specific configuration data */
|
||||
|
||||
@ -87,7 +89,6 @@ __KERNEL_RCSID(0, "$NetBSD: cmos.c,v 1.11 2014/07/25 08:10:33 dholland Exp $");
|
||||
|
||||
#define CMOS_SIZE NVRAM_BIOSSPEC
|
||||
|
||||
void cmosattach(int);
|
||||
dev_type_open(cmos_open);
|
||||
dev_type_read(cmos_read);
|
||||
dev_type_write(cmos_write);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: siotty.c,v 1.42 2014/07/25 08:10:33 dholland Exp $ */
|
||||
/* $NetBSD: siotty.c,v 1.43 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -31,7 +31,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.42 2014/07/25 08:10:33 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.43 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
@ -693,7 +693,6 @@ getsiocsr(struct sioreg *sio)
|
||||
|
||||
/*--------------------- console interface ----------------------*/
|
||||
|
||||
void syscnattach(int);
|
||||
int syscngetc(dev_t);
|
||||
void syscnputc(dev_t, int);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: grf_compat.c,v 1.27 2014/12/14 23:48:58 chs Exp $ */
|
||||
/* $NetBSD: grf_compat.c,v 1.28 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999 Scott Reynolds
|
||||
@ -34,7 +34,7 @@
|
||||
#include "opt_grf_compat.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: grf_compat.c,v 1.27 2014/12/14 23:48:58 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: grf_compat.c,v 1.28 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -57,6 +57,8 @@ __KERNEL_RCSID(0, "$NetBSD: grf_compat.c,v 1.27 2014/12/14 23:48:58 chs Exp $");
|
||||
|
||||
#include <uvm/uvm_extern.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
dev_type_open(grfopen);
|
||||
dev_type_close(grfclose);
|
||||
dev_type_ioctl(grfioctl);
|
||||
@ -79,7 +81,6 @@ const struct cdevsw grf_cdevsw = {
|
||||
|
||||
void grf_scinit(struct grf_softc *, const char *, int);
|
||||
void grf_init(int);
|
||||
void grfattach(int);
|
||||
int grfmap(dev_t, struct macfb_softc *, void **, struct proc *);
|
||||
int grfunmap(dev_t, struct macfb_softc *, void *, struct proc *);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ite_compat.c,v 1.12 2014/07/25 08:10:33 dholland Exp $ */
|
||||
/* $NetBSD: ite_compat.c,v 1.13 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 Scott Reynolds
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ite_compat.c,v 1.12 2014/07/25 08:10:33 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ite_compat.c,v 1.13 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include "ite.h"
|
||||
#include "wsdisplay.h"
|
||||
@ -53,6 +53,8 @@ __KERNEL_RCSID(0, "$NetBSD: ite_compat.c,v 1.12 2014/07/25 08:10:33 dholland Exp
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/iteioctl.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
dev_type_open(iteopen);
|
||||
dev_type_close(iteclose);
|
||||
dev_type_read(iteread);
|
||||
@ -81,8 +83,6 @@ const struct cdevsw ite_cdevsw = {
|
||||
extern const struct cdevsw wsdisplay_cdevsw;
|
||||
#endif
|
||||
|
||||
void iteattach(int);
|
||||
|
||||
static int ite_initted = 0;
|
||||
static int ite_bell_freq = 1880;
|
||||
static int ite_bell_length = 10;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: opmbell.c,v 1.25 2014/07/25 08:10:35 dholland Exp $ */
|
||||
/* $NetBSD: opmbell.c,v 1.26 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 MINOURA Makoto, Takuya Harakawa.
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: opmbell.c,v 1.25 2014/07/25 08:10:35 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: opmbell.c,v 1.26 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include "bell.h"
|
||||
#if NBELL > 0
|
||||
@ -65,6 +65,8 @@ __KERNEL_RCSID(0, "$NetBSD: opmbell.c,v 1.25 2014/07/25 08:10:35 dholland Exp $"
|
||||
|
||||
#include <x68k/dev/opmvar.h>
|
||||
|
||||
#include "ioconfig.h"
|
||||
|
||||
/* In opm.c. */
|
||||
void opm_set_volume(int, int);
|
||||
void opm_set_key(int, int);
|
||||
@ -110,8 +112,6 @@ void opm_bell_off(void);
|
||||
int opm_bell_setup(struct bell_info *);
|
||||
int bellmstohz(int);
|
||||
|
||||
void bellattach(int);
|
||||
|
||||
dev_type_open(bellopen);
|
||||
dev_type_close(bellclose);
|
||||
dev_type_ioctl(bellioctl);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: xenevt.c,v 1.43 2015/05/30 19:14:46 joerg Exp $ */
|
||||
/* $NetBSD: xenevt.c,v 1.44 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2005 Manuel Bouyer.
|
||||
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.43 2015/05/30 19:14:46 joerg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.44 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include "opt_xen.h"
|
||||
#include <sys/param.h>
|
||||
@ -52,6 +52,8 @@ __KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.43 2015/05/30 19:14:46 joerg Exp $");
|
||||
#include <xen/xenio3.h>
|
||||
#include <xen/xen.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
/*
|
||||
* Interface between the event channel and userland.
|
||||
* Each process with a xenevt device instance open can regiter events it
|
||||
@ -62,7 +64,6 @@ __KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.43 2015/05/30 19:14:46 joerg Exp $");
|
||||
* Processes get a device instance by opening a cloning device.
|
||||
*/
|
||||
|
||||
void xenevtattach(int);
|
||||
static int xenevt_fread(struct file *, off_t *, struct uio *,
|
||||
kauth_cred_t, int);
|
||||
static int xenevt_fwrite(struct file *, off_t *, struct uio *,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: coda_psdev.c,v 1.55 2015/05/06 15:57:08 hannken Exp $ */
|
||||
/* $NetBSD: coda_psdev.c,v 1.56 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -54,7 +54,7 @@
|
||||
/* These routines are the device entry points for Venus. */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: coda_psdev.c,v 1.55 2015/05/06 15:57:08 hannken Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: coda_psdev.c,v 1.56 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
extern int coda_nc_initialized; /* Set if cache has been initialized */
|
||||
|
||||
@ -77,6 +77,8 @@ extern int coda_nc_initialized; /* Set if cache has been initialized */
|
||||
#include <coda/coda_namecache.h>
|
||||
#include <coda/coda_io.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#define CTL_C
|
||||
|
||||
int coda_psdev_print_entry = 0;
|
||||
@ -92,8 +94,6 @@ int coda_kernel_version = CODA_KERNEL_VERSION;
|
||||
|
||||
#define ENTRY if(coda_psdev_print_entry) myprintf(("Entered %s\n",__func__))
|
||||
|
||||
void vcodaattach(int n);
|
||||
|
||||
dev_type_open(vc_nb_open);
|
||||
dev_type_close(vc_nb_close);
|
||||
dev_type_read(vc_nb_read);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ata_raid.c,v 1.35 2012/10/27 17:18:14 chs Exp $ */
|
||||
/* $NetBSD: ata_raid.c,v 1.36 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 Wasabi Systems, Inc.
|
||||
@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.35 2012/10/27 17:18:14 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.36 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
@ -64,6 +64,7 @@ __KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.35 2012/10/27 17:18:14 chs Exp $");
|
||||
#include <dev/ata/ata_raidvar.h>
|
||||
|
||||
#include "locators.h"
|
||||
#include "ioconf.h"
|
||||
|
||||
#ifdef ATA_RAID_DEBUG
|
||||
#define DPRINTF(x) printf x
|
||||
@ -71,8 +72,6 @@ __KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.35 2012/10/27 17:18:14 chs Exp $");
|
||||
#define DPRINTF(x) /* nothing */
|
||||
#endif
|
||||
|
||||
void ataraidattach(int);
|
||||
|
||||
static int ataraid_match(device_t, cfdata_t, void *);
|
||||
static void ataraid_attach(device_t, device_t, void *);
|
||||
static int ataraid_print(void *, const char *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bio.c,v 1.12 2015/03/12 15:33:10 christos Exp $ */
|
||||
/* $NetBSD: bio.c,v 1.13 2015/08/20 14:40:17 christos Exp $ */
|
||||
/* $OpenBSD: bio.c,v 1.9 2007/03/20 02:35:55 marco Exp $ */
|
||||
|
||||
/*
|
||||
@ -28,7 +28,7 @@
|
||||
/* A device controller ioctl tunnelling device. */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bio.c,v 1.12 2015/03/12 15:33:10 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bio.c,v 1.13 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
||||
@ -47,6 +47,8 @@ __KERNEL_RCSID(0, "$NetBSD: bio.c,v 1.12 2015/03/12 15:33:10 christos Exp $");
|
||||
#include <dev/biovar.h>
|
||||
#include <dev/sysmon/sysmonvar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
struct bio_mapping {
|
||||
LIST_ENTRY(bio_mapping) bm_link;
|
||||
device_t bm_dev;
|
||||
@ -66,8 +68,6 @@ static int bio_delegate_ioctl(void *, u_long, void *);
|
||||
static struct bio_mapping *bio_lookup(char *);
|
||||
static int bio_validate(void *);
|
||||
|
||||
void bioattach(int);
|
||||
|
||||
const struct cdevsw bio_cdevsw = {
|
||||
.d_open = bioopen,
|
||||
.d_close = bioclose,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bcsp.c,v 1.28 2015/05/08 11:47:53 christos Exp $ */
|
||||
/* $NetBSD: bcsp.c,v 1.29 2015/08/20 14:40:17 christos Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2007 KIYOHARA Takashi
|
||||
* All rights reserved.
|
||||
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bcsp.c,v 1.28 2015/05/08 11:47:53 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bcsp.c,v 1.29 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -131,7 +131,6 @@ struct bcsp_softc {
|
||||
#define BCSP_XMIT (1 << 0) /* transmit active */
|
||||
#define BCSP_ENABLED (1 << 1) /* is enabled */
|
||||
|
||||
void bcspattach(int);
|
||||
static int bcsp_match(device_t, cfdata_t, void *);
|
||||
static void bcsp_attach(device_t, device_t, void *);
|
||||
static int bcsp_detach(device_t, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: btuart.c,v 1.27 2014/05/20 18:25:54 rmind Exp $ */
|
||||
/* $NetBSD: btuart.c,v 1.28 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006, 2007 KIYOHARA Takashi
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: btuart.c,v 1.27 2014/05/20 18:25:54 rmind Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: btuart.c,v 1.28 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/conf.h>
|
||||
@ -81,7 +81,6 @@ struct btuart_softc {
|
||||
#define BTUART_RECV_SCO_DATA 5 /* sco packet data */
|
||||
#define BTUART_RECV_EVENT_DATA 6 /* event packet data */
|
||||
|
||||
void btuartattach(int);
|
||||
static int btuart_match(device_t, cfdata_t, void *);
|
||||
static void btuart_attach(device_t, device_t, void *);
|
||||
static int btuart_detach(device_t, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ccd.c,v 1.164 2015/07/21 21:42:15 skrll Exp $ */
|
||||
/* $NetBSD: ccd.c,v 1.165 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998, 1999, 2007, 2009 The NetBSD Foundation, Inc.
|
||||
@ -88,7 +88,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.164 2015/07/21 21:42:15 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.165 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
@ -127,6 +127,8 @@ __KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.164 2015/07/21 21:42:15 skrll Exp $");
|
||||
|
||||
#include <miscfs/specfs/specdev.h> /* for v_rdev */
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#if defined(CCDDEBUG) && !defined(DEBUG)
|
||||
#define DEBUG
|
||||
#endif
|
||||
@ -160,7 +162,6 @@ static pool_cache_t ccd_cache;
|
||||
(MAKEDISKDEV(major((dev)), ccdunit((dev)), RAW_PART))
|
||||
|
||||
/* called by main() at boot time */
|
||||
void ccdattach(int);
|
||||
void ccddetach(void);
|
||||
|
||||
/* called by biodone() at interrupt time */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cgd.c,v 1.101 2015/08/19 20:15:20 mlelstv Exp $ */
|
||||
/* $NetBSD: cgd.c,v 1.102 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -30,7 +30,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.101 2015/08/19 20:15:20 mlelstv Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.102 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -57,9 +57,9 @@ __KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.101 2015/08/19 20:15:20 mlelstv Exp $");
|
||||
|
||||
#include <miscfs/specfs/specdev.h> /* for v_rdev */
|
||||
|
||||
/* Entry Point Functions */
|
||||
#include "ioconf.h"
|
||||
|
||||
void cgdattach(int);
|
||||
/* Entry Point Functions */
|
||||
|
||||
static dev_type_open(cgdopen);
|
||||
static dev_type_close(cgdclose);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: device-mapper.c,v 1.36 2014/12/31 08:24:50 mlelstv Exp $ */
|
||||
/* $NetBSD: device-mapper.c,v 1.37 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
@ -49,6 +49,7 @@
|
||||
|
||||
#include "netbsd-dm.h"
|
||||
#include "dm.h"
|
||||
#include "ioconf.h"
|
||||
|
||||
static dev_type_open(dmopen);
|
||||
static dev_type_close(dmclose);
|
||||
@ -59,7 +60,6 @@ static dev_type_strategy(dmstrategy);
|
||||
static dev_type_size(dmsize);
|
||||
|
||||
/* attach and detach routines */
|
||||
void dmattach(int);
|
||||
#ifdef _MODULE
|
||||
static int dmdestroy(void);
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dmover_io.c,v 1.43 2014/07/25 08:10:36 dholland Exp $ */
|
||||
/* $NetBSD: dmover_io.c,v 1.44 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
|
||||
@ -55,7 +55,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: dmover_io.c,v 1.43 2014/07/25 08:10:36 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dmover_io.c,v 1.44 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
@ -81,6 +81,8 @@ __KERNEL_RCSID(0, "$NetBSD: dmover_io.c,v 1.43 2014/07/25 08:10:36 dholland Exp
|
||||
#include <dev/dmover/dmovervar.h>
|
||||
#include <dev/dmover/dmover_io.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
struct dmio_usrreq_state {
|
||||
union {
|
||||
struct work u_work;
|
||||
@ -128,8 +130,6 @@ static void dmio_usrreq_fini1(struct work *wk, void *);
|
||||
struct pool dmio_state_pool;
|
||||
struct pool dmio_usrreq_state_pool;
|
||||
|
||||
void dmoverioattach(int);
|
||||
|
||||
dev_type_open(dmoverioopen);
|
||||
|
||||
const struct cdevsw dmoverio_cdevsw = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: swdmover.c,v 1.12 2008/01/04 21:17:53 ad Exp $ */
|
||||
/* $NetBSD: swdmover.c,v 1.13 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
|
||||
@ -49,7 +49,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: swdmover.c,v 1.12 2008/01/04 21:17:53 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: swdmover.c,v 1.13 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kthread.h>
|
||||
@ -58,6 +58,8 @@ __KERNEL_RCSID(0, "$NetBSD: swdmover.c,v 1.12 2008/01/04 21:17:53 ad Exp $");
|
||||
|
||||
#include <dev/dmover/dmovervar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
struct swdmover_function {
|
||||
void (*sdf_process)(struct dmover_request *);
|
||||
};
|
||||
@ -66,8 +68,6 @@ static struct dmover_backend swdmover_backend;
|
||||
static struct lwp *swdmover_lwp;
|
||||
static int swdmover_cv;
|
||||
|
||||
void swdmoverattach(int);
|
||||
|
||||
/*
|
||||
* swdmover_process:
|
||||
*
|
||||
|
@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: filemon.c,v 1.10 2015/05/30 19:14:46 joerg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: filemon.c,v 1.11 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -44,6 +44,7 @@ __KERNEL_RCSID(0, "$NetBSD: filemon.c,v 1.10 2015/05/30 19:14:46 joerg Exp $");
|
||||
#include <sys/kauth.h>
|
||||
|
||||
#include "filemon.h"
|
||||
#include "ioconf.h"
|
||||
|
||||
MODULE(MODULE_CLASS_DRIVER, filemon, NULL);
|
||||
|
||||
@ -337,8 +338,6 @@ filemon_load(void *dummy __unused)
|
||||
filemon_wrapper_install();
|
||||
}
|
||||
|
||||
void filemonattach(int);
|
||||
|
||||
/*
|
||||
* If this gets called we are linked into the kernel
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fss.c,v 1.92 2014/10/02 22:05:38 justin Exp $ */
|
||||
/* $NetBSD: fss.c,v 1.93 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.92 2014/10/02 22:05:38 justin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.93 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -65,7 +65,7 @@ __KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.92 2014/10/02 22:05:38 justin Exp $");
|
||||
|
||||
#include <uvm/uvm.h>
|
||||
|
||||
void fssattach(int);
|
||||
#include "ioconf.h"
|
||||
|
||||
dev_type_open(fss_open);
|
||||
dev_type_close(fss_close);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: gpiosim.c,v 1.17 2015/08/20 12:09:22 uebayasi Exp $ */
|
||||
/* $NetBSD: gpiosim.c,v 1.18 2015/08/20 14:40:18 christos Exp $ */
|
||||
/* $OpenBSD: gpiosim.c,v 1.1 2008/11/23 18:46:49 mbalmer Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
#include <dev/gpio/gpiovar.h>
|
||||
|
||||
#include "gpiosim.h"
|
||||
#include "ioconf.h"
|
||||
|
||||
#define GPIOSIM_NPINS 64
|
||||
|
||||
@ -45,7 +46,6 @@ struct gpiosim_softc {
|
||||
};
|
||||
|
||||
static int gpiosim_match(device_t, cfdata_t, void *);
|
||||
void gpiosimattach(int);
|
||||
static void gpiosim_attach(device_t, device_t, void *);
|
||||
static int gpiosim_detach(device_t, int);
|
||||
static int gpiosim_sysctl(SYSCTLFN_PROTO);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: biconsdev.c,v 1.22 2014/07/25 08:10:37 dholland Exp $ */
|
||||
/* $NetBSD: biconsdev.c,v 1.23 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999-2001
|
||||
@ -67,7 +67,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: biconsdev.c,v 1.22 2014/07/25 08:10:37 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: biconsdev.c,v 1.23 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#include "biconsdev.h"
|
||||
#include <sys/param.h>
|
||||
@ -83,8 +83,9 @@ __KERNEL_RCSID(0, "$NetBSD: biconsdev.c,v 1.22 2014/07/25 08:10:37 dholland Exp
|
||||
#include <dev/hpc/bicons.h>
|
||||
#include <dev/hpc/biconsvar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
struct tty biconsdev_tty[NBICONSDEV];
|
||||
void biconsdevattach(int);
|
||||
static void biconsdev_output(struct tty *);
|
||||
|
||||
dev_type_open(biconsdevopen);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: irframe_tty.c,v 1.60 2014/11/16 16:20:00 ozaki-r Exp $ */
|
||||
/* $NetBSD: irframe_tty.c,v 1.61 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*
|
||||
* TODO
|
||||
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: irframe_tty.c,v 1.60 2014/11/16 16:20:00 ozaki-r Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: irframe_tty.c,v 1.61 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
@ -63,6 +63,8 @@ __KERNEL_RCSID(0, "$NetBSD: irframe_tty.c,v 1.60 2014/11/16 16:20:00 ozaki-r Exp
|
||||
#include <dev/ir/irdaio.h>
|
||||
#include <dev/ir/irframevar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#ifdef IRFRAMET_DEBUG
|
||||
#define DPRINTF(x) if (irframetdebug) printf x
|
||||
int irframetdebug = 0;
|
||||
@ -124,8 +126,6 @@ int irframetioctl(struct tty *, u_long, void *, int, struct lwp *);
|
||||
int irframetinput(int, struct tty *);
|
||||
int irframetstart(struct tty *);
|
||||
|
||||
/* pseudo device init */
|
||||
void irframettyattach(int);
|
||||
|
||||
/* irframe methods */
|
||||
static int irframet_open(void *, int, int, struct lwp *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: weasel_isa.c,v 1.5 2008/04/08 20:08:50 cegger Exp $ */
|
||||
/* $NetBSD: weasel_isa.c,v 1.6 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Zembu Labs, Inc.
|
||||
@ -42,7 +42,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: weasel_isa.c,v 1.5 2008/04/08 20:08:50 cegger Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: weasel_isa.c,v 1.6 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -56,14 +56,14 @@ __KERNEL_RCSID(0, "$NetBSD: weasel_isa.c,v 1.5 2008/04/08 20:08:50 cegger Exp $"
|
||||
|
||||
#include <dev/sysmon/sysmonvar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
int weasel_isa_wdog_setmode(struct sysmon_wdog *);
|
||||
int weasel_isa_wdog_tickle(struct sysmon_wdog *);
|
||||
int weasel_isa_wdog_arm_disarm(struct weasel_handle *, u_int8_t);
|
||||
int weasel_isa_wdog_query_state(struct weasel_handle *);
|
||||
|
||||
|
||||
void pcweaselattach(int);
|
||||
|
||||
/* ARGSUSED */
|
||||
void
|
||||
pcweaselattach(int count)
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <sys/kmem.h>
|
||||
#include <sys/socketvar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
/*------------------------- Global Variables ------------------------*/
|
||||
|
||||
@ -73,8 +74,6 @@ login_isid_t iscsi_InitiatorISID;
|
||||
System interface: autoconf and device structures
|
||||
*/
|
||||
|
||||
void iscsiattach(int);
|
||||
|
||||
static void iscsi_attach(device_t parent, device_t self, void *aux);
|
||||
static int iscsi_match(device_t, cfdata_t, void *);
|
||||
static int iscsi_detach(device_t, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kttcp.c,v 1.37 2014/08/08 03:05:44 rtr Exp $ */
|
||||
/* $NetBSD: kttcp.c,v 1.38 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 Wasabi Systems, Inc.
|
||||
@ -42,7 +42,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kttcp.c,v 1.37 2014/08/08 03:05:44 rtr Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kttcp.c,v 1.38 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
@ -63,6 +63,8 @@ __KERNEL_RCSID(0, "$NetBSD: kttcp.c,v 1.37 2014/08/08 03:05:44 rtr Exp $");
|
||||
|
||||
#include <dev/kttcpio.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
static int kttcp_send(struct lwp *l, struct kttcp_io_args *);
|
||||
static int kttcp_recv(struct lwp *l, struct kttcp_io_args *);
|
||||
static int kttcp_sosend(struct socket *, unsigned long long,
|
||||
@ -70,8 +72,6 @@ static int kttcp_sosend(struct socket *, unsigned long long,
|
||||
static int kttcp_soreceive(struct socket *, unsigned long long,
|
||||
unsigned long long *, struct lwp *, int *);
|
||||
|
||||
void kttcpattach(int);
|
||||
|
||||
dev_type_ioctl(kttcpioctl);
|
||||
|
||||
const struct cdevsw kttcp_cdevsw = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lockstat.c,v 1.23 2015/06/07 06:08:37 matt Exp $ */
|
||||
/* $NetBSD: lockstat.c,v 1.24 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
|
||||
@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.23 2015/06/07 06:08:37 matt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.24 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -58,6 +58,8 @@ __KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.23 2015/06/07 06:08:37 matt Exp $");
|
||||
|
||||
#include <machine/lock.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#ifndef __HAVE_CPU_COUNTER
|
||||
#error CPU counters not available
|
||||
#endif
|
||||
@ -85,7 +87,6 @@ typedef struct lscpu {
|
||||
|
||||
typedef struct lslist lslist_t;
|
||||
|
||||
void lockstatattach(int);
|
||||
void lockstat_start(lsenable_t *);
|
||||
int lockstat_alloc(lsenable_t *);
|
||||
void lockstat_init_tables(lsenable_t *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: md.c,v 1.74 2015/04/26 15:15:20 mlelstv Exp $ */
|
||||
/* $NetBSD: md.c,v 1.75 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
|
||||
@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.74 2015/04/26 15:15:20 mlelstv Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.75 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_md.h"
|
||||
@ -65,6 +65,7 @@ __KERNEL_RCSID(0, "$NetBSD: md.c,v 1.74 2015/04/26 15:15:20 mlelstv Exp $");
|
||||
|
||||
#include <dev/md.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
/*
|
||||
* The user-space functionality is included by default.
|
||||
* Use `options MEMORY_DISK_SERVER=0' to turn it off.
|
||||
@ -93,8 +94,6 @@ struct md_softc {
|
||||
#define sc_size sc_md.md_size
|
||||
#define sc_type sc_md.md_type
|
||||
|
||||
void mdattach(int);
|
||||
|
||||
static void md_attach(device_t, device_t, void *);
|
||||
static int md_detach(device_t, int);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nandemulator.c,v 1.6 2012/11/03 12:45:28 ahoka Exp $ */
|
||||
/* $NetBSD: nandemulator.c,v 1.7 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2011 Department of Software Engineering,
|
||||
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nandemulator.c,v 1.6 2012/11/03 12:45:28 ahoka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nandemulator.c,v 1.7 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/device.h>
|
||||
@ -46,8 +46,9 @@ __KERNEL_RCSID(0, "$NetBSD: nandemulator.c,v 1.6 2012/11/03 12:45:28 ahoka Exp $
|
||||
#include <dev/nand/onfi.h>
|
||||
#include <dev/nand/nand_crc.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
extern struct cfdriver nandemulator_cd;
|
||||
void nandemulatorattach(int n);
|
||||
|
||||
static int nandemulator_match(device_t, cfdata_t, void *);
|
||||
static void nandemulator_attach(device_t, device_t, void *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rf_netbsdkintf.c,v 1.324 2015/07/10 09:49:56 mrg Exp $ */
|
||||
/* $NetBSD: rf_netbsdkintf.c,v 1.325 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
|
||||
@ -101,7 +101,7 @@
|
||||
***********************************************************/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.324 2015/07/10 09:49:56 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.325 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_compat_netbsd.h"
|
||||
@ -151,6 +151,8 @@ __KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.324 2015/07/10 09:49:56 mrg Exp
|
||||
#include "rf_compat50.h"
|
||||
#endif
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
int rf_kdebug_level = 0;
|
||||
#define db1_printf(a) if (rf_kdebug_level > 0) printf a
|
||||
@ -179,7 +181,6 @@ static void InitBP(struct buf *, struct vnode *, unsigned,
|
||||
struct raid_softc;
|
||||
static void raidinit(struct raid_softc *);
|
||||
|
||||
void raidattach(int);
|
||||
static int raid_match(device_t, cfdata_t, void *);
|
||||
static void raid_attach(device_t, device_t, void *);
|
||||
static int raid_detach(device_t, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rndpseudo.c,v 1.34 2015/04/21 12:57:03 riastradh Exp $ */
|
||||
/* $NetBSD: rndpseudo.c,v 1.35 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
|
||||
@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.34 2015/04/21 12:57:03 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.35 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
@ -65,6 +65,8 @@ __KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.34 2015/04/21 12:57:03 riastradh Exp
|
||||
|
||||
#include <dev/rnd_private.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#if defined(__HAVE_CPU_COUNTER)
|
||||
#include <machine/cpu_counter.h>
|
||||
#endif
|
||||
@ -104,8 +106,6 @@ static pool_cache_t rnd_ctx_cache __read_mostly;
|
||||
*/
|
||||
static percpu_t *percpu_urandom_cprng __read_mostly;
|
||||
|
||||
/* Used by ioconf.c to attach the rnd pseudo-device. */
|
||||
void rndattach(int);
|
||||
|
||||
dev_type_open(rndopen);
|
||||
|
||||
@ -175,6 +175,7 @@ rndpseudo_counter(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* Used by ioconf.c to attach the rnd pseudo-device.
|
||||
* `Attach' the random device. We use the timing of this event as
|
||||
* another potential source of initial entropy.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sequencer.c,v 1.63 2014/12/30 07:39:15 mrg Exp $ */
|
||||
/* $NetBSD: sequencer.c,v 1.64 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
|
||||
@ -55,7 +55,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sequencer.c,v 1.63 2014/12/30 07:39:15 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sequencer.c,v 1.64 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#include "sequencer.h"
|
||||
|
||||
@ -85,6 +85,8 @@ __KERNEL_RCSID(0, "$NetBSD: sequencer.c,v 1.63 2014/12/30 07:39:15 mrg Exp $");
|
||||
#include <dev/midivar.h>
|
||||
#include <dev/sequencervar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#define ADDTIMEVAL(a, b) ( \
|
||||
(a)->tv_sec += (b)->tv_sec, \
|
||||
(a)->tv_usec += (b)->tv_usec, \
|
||||
@ -117,7 +119,6 @@ typedef union sequencer_pcqitem {
|
||||
char qi_msg[4];
|
||||
} sequencer_pcqitem_t;
|
||||
|
||||
void sequencerattach(int);
|
||||
static void seq_reset(struct sequencer_softc *);
|
||||
static int seq_do_command(struct sequencer_softc *, seq_event_t *);
|
||||
static int seq_do_chnvoice(struct sequencer_softc *, seq_event_t *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tprof.c,v 1.12 2014/07/25 08:10:39 dholland Exp $ */
|
||||
/* $NetBSD: tprof.c,v 1.13 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2008,2009,2010 YAMAMOTO Takashi,
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tprof.c,v 1.12 2014/07/25 08:10:39 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tprof.c,v 1.13 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -45,6 +45,8 @@ __KERNEL_RCSID(0, "$NetBSD: tprof.c,v 1.12 2014/07/25 08:10:39 dholland Exp $");
|
||||
#include <dev/tprof/tprof.h>
|
||||
#include <dev/tprof/tprof_ioctl.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
/*
|
||||
* locking order:
|
||||
* tprof_reader_lock -> tprof_lock
|
||||
@ -502,8 +504,6 @@ tprof_backend_unregister(const char *name)
|
||||
|
||||
/* -------------------- cdevsw interfaces */
|
||||
|
||||
void tprofattach(int);
|
||||
|
||||
static int
|
||||
tprof_open(dev_t dev, int flags, int type, struct lwp *l)
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vnd.c,v 1.247 2015/08/02 11:40:41 mlelstv Exp $ */
|
||||
/* $NetBSD: vnd.c,v 1.248 2015/08/20 14:40:17 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
|
||||
@ -91,7 +91,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.247 2015/08/02 11:40:41 mlelstv Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.248 2015/08/20 14:40:17 christos Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_vnd.h"
|
||||
@ -127,6 +127,8 @@ __KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.247 2015/08/02 11:40:41 mlelstv Exp $");
|
||||
#include <dev/dkvar.h>
|
||||
#include <dev/vndvar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#if defined(VNDDEBUG) && !defined(DEBUG)
|
||||
#define DEBUG
|
||||
#endif
|
||||
@ -156,8 +158,6 @@ struct vndxfer {
|
||||
|
||||
#define VND_MAXPENDING(vnd) ((vnd)->sc_maxactive * 4)
|
||||
|
||||
/* called by main() at boot time */
|
||||
void vndattach(int);
|
||||
|
||||
static void vndclear(struct vnd_softc *, int);
|
||||
static int vnddoclear(struct vnd_softc *, int, int, bool);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wsmux.c,v 1.58 2014/07/25 08:10:39 dholland Exp $ */
|
||||
/* $NetBSD: wsmux.c,v 1.59 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 2005 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: wsmux.c,v 1.58 2014/07/25 08:10:39 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: wsmux.c,v 1.59 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
#include "opt_modular.h"
|
||||
@ -70,6 +70,8 @@ __KERNEL_RCSID(0, "$NetBSD: wsmux.c,v 1.58 2014/07/25 08:10:39 dholland Exp $");
|
||||
#include <dev/wscons/wscons_callbacks.h>
|
||||
#include <dev/wscons/wsmuxvar.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#ifdef WSMUX_DEBUG
|
||||
#define DPRINTF(x) if (wsmuxdebug) printf x
|
||||
#define DPRINTFN(n,x) if (wsmuxdebug > (n)) printf x
|
||||
@ -111,8 +113,6 @@ static int wsmux_do_ioctl(device_t, u_long, void *,int,struct lwp *);
|
||||
|
||||
static int wsmux_add_mux(int, struct wsmux_softc *);
|
||||
|
||||
void wsmuxattach(int);
|
||||
|
||||
#define WSMUXDEV(n) ((n) & 0x7f)
|
||||
#define WSMUXCTL(n) ((n) & 0x80)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wsfontdev.c,v 1.16 2014/07/25 08:10:39 dholland Exp $ */
|
||||
/* $NetBSD: wsfontdev.c,v 1.17 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: wsfontdev.c,v 1.16 2014/07/25 08:10:39 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: wsfontdev.c,v 1.17 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -39,7 +39,7 @@ __KERNEL_RCSID(0, "$NetBSD: wsfontdev.c,v 1.16 2014/07/25 08:10:39 dholland Exp
|
||||
#include <dev/wsfont/wsfont.h>
|
||||
#include <dev/wscons/wsconsio.h> /* XXX */
|
||||
|
||||
void wsfontattach(int);
|
||||
#include "ioconf.h"
|
||||
|
||||
static int wsfont_isopen;
|
||||
|
||||
|
7
sys/dist/pf/net/if_pflog.c
vendored
7
sys/dist/pf/net/if_pflog.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_pflog.c,v 1.18 2010/04/12 13:57:38 ahoka Exp $ */
|
||||
/* $NetBSD: if_pflog.c,v 1.19 2015/08/20 14:40:18 christos Exp $ */
|
||||
/* $OpenBSD: if_pflog.c,v 1.24 2007/05/26 17:13:30 jason Exp $ */
|
||||
|
||||
/*
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pflog.c,v 1.18 2010/04/12 13:57:38 ahoka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pflog.c,v 1.19 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_inet.h"
|
||||
@ -73,6 +73,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_pflog.c,v 1.18 2010/04/12 13:57:38 ahoka Exp $");
|
||||
#include <net/pfvar.h>
|
||||
#include <net/if_pflog.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#define PFLOGMTU (32768 + MHLEN + MLEN)
|
||||
|
||||
#ifdef PFLOGDEBUG
|
||||
@ -81,7 +83,6 @@ __KERNEL_RCSID(0, "$NetBSD: if_pflog.c,v 1.18 2010/04/12 13:57:38 ahoka Exp $");
|
||||
#define DPRINTF(x)
|
||||
#endif
|
||||
|
||||
void pflogattach(int);
|
||||
#ifdef _MODULE
|
||||
void pflogdetach(void);
|
||||
#endif /* _MODULE */
|
||||
|
7
sys/dist/pf/net/if_pfsync.c
vendored
7
sys/dist/pf/net/if_pfsync.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_pfsync.c,v 1.10 2014/03/06 15:21:58 nonaka Exp $ */
|
||||
/* $NetBSD: if_pfsync.c,v 1.11 2015/08/20 14:40:18 christos Exp $ */
|
||||
/* $OpenBSD: if_pfsync.c,v 1.83 2007/06/26 14:44:12 mcbride Exp $ */
|
||||
|
||||
/*
|
||||
@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pfsync.c,v 1.10 2014/03/06 15:21:58 nonaka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pfsync.c,v 1.11 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_inet.h"
|
||||
@ -85,6 +85,8 @@ extern int carp_suppress_preempt;
|
||||
|
||||
#include <net/net_stats.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
percpu_t *pfsyncstat_percpu;
|
||||
|
||||
#define PFSYNC_STATINC(x) _NET_STATINC(pfsyncstat_percpu, x)
|
||||
@ -106,7 +108,6 @@ extern int ifqmaxlen; /* XXX */
|
||||
|
||||
struct pfsync_softc *pfsyncif = NULL;
|
||||
|
||||
void pfsyncattach(int);
|
||||
int pfsync_clone_create(struct if_clone *, int);
|
||||
int pfsync_clone_destroy(struct ifnet *);
|
||||
void pfsync_setmtu(struct pfsync_softc *, int);
|
||||
|
7
sys/dist/pf/net/pf_ioctl.c
vendored
7
sys/dist/pf/net/pf_ioctl.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pf_ioctl.c,v 1.50 2014/07/25 08:10:39 dholland Exp $ */
|
||||
/* $NetBSD: pf_ioctl.c,v 1.51 2015/08/20 14:40:18 christos Exp $ */
|
||||
/* $OpenBSD: pf_ioctl.c,v 1.182 2007/06/24 11:17:13 mcbride Exp $ */
|
||||
|
||||
/*
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pf_ioctl.c,v 1.50 2014/07/25 08:10:39 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pf_ioctl.c,v 1.51 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_inet.h"
|
||||
@ -104,7 +104,8 @@ __KERNEL_RCSID(0, "$NetBSD: pf_ioctl.c,v 1.50 2014/07/25 08:10:39 dholland Exp $
|
||||
#include <altq/altq.h>
|
||||
#endif
|
||||
|
||||
void pfattach(int);
|
||||
#include "ioconf.h"
|
||||
|
||||
#ifdef _MODULE
|
||||
void pfdetach(void);
|
||||
#endif /* _MODULE */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_agr.c,v 1.31 2013/09/12 20:47:59 martin Exp $ */
|
||||
/* $NetBSD: if_agr.c,v 1.32 2015/08/20 14:40:18 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2005 YAMAMOTO Takashi,
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_agr.c,v 1.31 2013/09/12 20:47:59 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_agr.c,v 1.32 2015/08/20 14:40:18 christos Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
@ -60,7 +60,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_agr.c,v 1.31 2013/09/12 20:47:59 martin Exp $");
|
||||
#include <net/agr/if_agrsubr.h>
|
||||
#include <net/agr/if_agrethervar.h>
|
||||
|
||||
void agrattach(int);
|
||||
#include "ioconf.h"
|
||||
|
||||
static int agr_clone_create(struct if_clone *, int);
|
||||
static int agr_clone_destroy(struct ifnet *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_bridge.c,v 1.100 2015/07/23 10:52:34 ozaki-r Exp $ */
|
||||
/* $NetBSD: if_bridge.c,v 1.101 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -80,7 +80,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.100 2015/07/23 10:52:34 ozaki-r Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.101 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_bridge_ipf.h"
|
||||
@ -143,6 +143,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.100 2015/07/23 10:52:34 ozaki-r Exp
|
||||
#include <netinet/ip_carp.h>
|
||||
#endif
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
__CTASSERT(sizeof(struct ifbifconf) == sizeof(struct ifbaconf));
|
||||
__CTASSERT(offsetof(struct ifbifconf, ifbic_len) == offsetof(struct ifbaconf, ifbac_len));
|
||||
__CTASSERT(offsetof(struct ifbifconf, ifbic_buf) == offsetof(struct ifbaconf, ifbac_buf));
|
||||
@ -217,8 +219,6 @@ int bridge_rtable_prune_period = BRIDGE_RTABLE_PRUNE_PERIOD;
|
||||
static struct pool bridge_rtnode_pool;
|
||||
static struct work bridge_rtage_wk;
|
||||
|
||||
void bridgeattach(int);
|
||||
|
||||
static int bridge_clone_create(struct if_clone *, int);
|
||||
static int bridge_clone_destroy(struct ifnet *);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_etherip.c,v 1.35 2014/02/25 18:30:12 pooka Exp $ */
|
||||
/* $NetBSD: if_etherip.c,v 1.36 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006, Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
|
||||
@ -86,7 +86,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_etherip.c,v 1.35 2014/02/25 18:30:12 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_etherip.c,v 1.36 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
@ -134,14 +134,14 @@ __KERNEL_RCSID(0, "$NetBSD: if_etherip.c,v 1.35 2014/02/25 18:30:12 pooka Exp $"
|
||||
|
||||
#include <compat/sys/sockio.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
struct etherip_softc_list etherip_softc_list;
|
||||
|
||||
static int etherip_node;
|
||||
static int etherip_sysctl_handler(SYSCTLFN_PROTO);
|
||||
SYSCTL_SETUP_PROTO(sysctl_etherip_setup);
|
||||
|
||||
void etheripattach(int);
|
||||
|
||||
static int etherip_match(device_t, cfdata_t, void *);
|
||||
static void etherip_attach(device_t, device_t, void *);
|
||||
static int etherip_detach(device_t, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_faith.c,v 1.50 2014/07/29 01:35:44 ozaki-r Exp $ */
|
||||
/* $NetBSD: if_faith.c,v 1.51 2015/08/20 14:40:19 christos Exp $ */
|
||||
/* $KAME: if_faith.c,v 1.21 2001/02/20 07:59:26 itojun Exp $ */
|
||||
|
||||
/*
|
||||
@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.50 2014/07/29 01:35:44 ozaki-r Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.51 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
@ -82,14 +82,14 @@ __KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.50 2014/07/29 01:35:44 ozaki-r Exp $"
|
||||
|
||||
#include <net/net_osdep.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
static int faithioctl(struct ifnet *, u_long, void *);
|
||||
static int faithoutput(struct ifnet *, struct mbuf *,
|
||||
const struct sockaddr *, struct rtentry *);
|
||||
static void faithrtrequest(int, struct rtentry *,
|
||||
const struct rt_addrinfo *);
|
||||
|
||||
void faithattach(int);
|
||||
|
||||
static int faith_clone_create(struct if_clone *, int);
|
||||
static int faith_clone_destroy(struct ifnet *);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_gif.c,v 1.86 2015/06/03 13:06:26 martin Exp $ */
|
||||
/* $NetBSD: if_gif.c,v 1.87 2015/08/20 14:40:19 christos Exp $ */
|
||||
/* $KAME: if_gif.c,v 1.76 2001/08/20 02:01:02 kjc Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.86 2015/06/03 13:06:26 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.87 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
@ -79,10 +79,10 @@ __KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.86 2015/06/03 13:06:26 martin Exp $");
|
||||
#include <netinet/ip_encap.h>
|
||||
#include <net/if_gif.h>
|
||||
|
||||
|
||||
#include <net/net_osdep.h>
|
||||
|
||||
void gifattach(int);
|
||||
#include "ioconf.h"
|
||||
|
||||
static void gifintr(void *);
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_gre.c,v 1.165 2015/05/02 17:18:03 rtr Exp $ */
|
||||
/* $NetBSD: if_gre.c,v 1.166 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
|
||||
@ -45,7 +45,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.165 2015/05/02 17:18:03 rtr Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.166 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include "opt_atalk.h"
|
||||
#include "opt_gre.h"
|
||||
@ -114,6 +114,9 @@ __KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.165 2015/05/02 17:18:03 rtr Exp $");
|
||||
|
||||
#include <compat/sys/socket.h>
|
||||
#include <compat/sys/sockio.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
/*
|
||||
* It is not easy to calculate the right value for a GRE MTU.
|
||||
* We leave this task to the admin and use the same default that
|
||||
@ -1425,8 +1428,6 @@ out:
|
||||
return error;
|
||||
}
|
||||
|
||||
void greattach(int);
|
||||
|
||||
/* ARGSUSED */
|
||||
void
|
||||
greattach(int count)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_mpls.c,v 1.17 2015/06/04 09:19:59 ozaki-r Exp $ */
|
||||
/* $NetBSD: if_mpls.c,v 1.18 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
@ -30,7 +30,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_mpls.c,v 1.17 2015/06/04 09:19:59 ozaki-r Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_mpls.c,v 1.18 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_mpls.h"
|
||||
@ -67,6 +67,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_mpls.c,v 1.17 2015/06/04 09:19:59 ozaki-r Exp $")
|
||||
|
||||
#include "if_mpls.h"
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#define TRIM_LABEL do { \
|
||||
m_adj(m, sizeof(union mpls_shim)); \
|
||||
if (m->m_len < sizeof(union mpls_shim) && \
|
||||
@ -76,8 +78,6 @@ __KERNEL_RCSID(0, "$NetBSD: if_mpls.c,v 1.17 2015/06/04 09:19:59 ozaki-r Exp $")
|
||||
} while (/* CONSTCOND */ 0)
|
||||
|
||||
|
||||
void ifmplsattach(int);
|
||||
|
||||
static int mpls_clone_create(struct if_clone *, int);
|
||||
static int mpls_clone_destroy(struct ifnet *);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_pppoe.c,v 1.102 2014/10/18 08:33:29 snj Exp $ */
|
||||
/* $NetBSD: if_pppoe.c,v 1.103 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002, 2008 The NetBSD Foundation, Inc.
|
||||
@ -30,7 +30,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.102 2014/10/18 08:33:29 snj Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.103 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include "pppoe.h"
|
||||
#include "opt_pppoe.h"
|
||||
@ -57,6 +57,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.102 2014/10/18 08:33:29 snj Exp $");
|
||||
|
||||
#include <net/bpf.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#undef PPPOE_DEBUG /* XXX - remove this or make it an option */
|
||||
/* #define PPPOE_DEBUG 1 */
|
||||
@ -162,7 +163,6 @@ static void pppoe_dispatch_disc_pkt(struct mbuf *, int);
|
||||
static void pppoe_data_input(struct mbuf *);
|
||||
|
||||
/* management routines */
|
||||
void pppoeattach(int);
|
||||
static int pppoe_connect(struct pppoe_softc *);
|
||||
static int pppoe_disconnect(struct pppoe_softc *);
|
||||
static void pppoe_abort_connect(struct pppoe_softc *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_spppsubr.c,v 1.134 2015/05/25 08:29:01 ozaki-r Exp $ */
|
||||
/* $NetBSD: if_spppsubr.c,v 1.135 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Synchronous PPP/Cisco link level subroutines.
|
||||
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.134 2015/05/25 08:29:01 ozaki-r Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.135 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_inet.h"
|
||||
@ -442,13 +442,6 @@ static const struct cp *cps[IDX_COUNT] = {
|
||||
};
|
||||
|
||||
|
||||
void spppattach(int);
|
||||
void
|
||||
/*ARGSUSED*/
|
||||
spppattach(int count)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Exported functions, comprising our interface to the lower layer.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_stf.c,v 1.80 2014/06/12 16:43:09 christos Exp $ */
|
||||
/* $NetBSD: if_stf.c,v 1.81 2015/08/20 14:40:19 christos Exp $ */
|
||||
/* $KAME: if_stf.c,v 1.62 2001/06/07 22:32:16 itojun Exp $ */
|
||||
|
||||
/*
|
||||
@ -75,7 +75,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.80 2014/06/12 16:43:09 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.81 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#ifndef INET6
|
||||
@ -127,6 +127,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.80 2014/06/12 16:43:09 christos Exp $")
|
||||
#include <net/if_gif.h>
|
||||
#endif
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#define IN6_IS_ADDR_6TO4(x) (ntohs((x)->s6_addr16[0]) == 0x2002)
|
||||
#define GET_V4(x) ((const struct in_addr *)(&(x)->s6_addr16[1]))
|
||||
|
||||
@ -166,8 +168,6 @@ static const struct protosw in_stf_protosw =
|
||||
.pr_usrreqs = &rip_usrreqs,
|
||||
};
|
||||
|
||||
void stfattach(int);
|
||||
|
||||
static int stf_encapcheck(struct mbuf *, int, int, void *);
|
||||
static struct in6_ifaddr *stf_getsrcifa6(struct ifnet *);
|
||||
static int stf_output(struct ifnet *, struct mbuf *, const struct sockaddr *,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_tap.c,v 1.81 2014/12/17 09:41:30 ozaki-r Exp $ */
|
||||
/* $NetBSD: if_tap.c,v 1.82 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003, 2004, 2008, 2009 The NetBSD Foundation.
|
||||
@ -33,7 +33,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.81 2014/12/17 09:41:30 ozaki-r Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.82 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
|
||||
@ -71,6 +71,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.81 2014/12/17 09:41:30 ozaki-r Exp $");
|
||||
|
||||
#include <compat/sys/sockio.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#if defined(COMPAT_40) || defined(MODULAR)
|
||||
/*
|
||||
* sysctl node management
|
||||
@ -119,8 +121,6 @@ struct tap_softc {
|
||||
|
||||
/* autoconf(9) glue */
|
||||
|
||||
void tapattach(int);
|
||||
|
||||
static int tap_match(device_t, cfdata_t, void *);
|
||||
static void tap_attach(device_t, device_t, void *);
|
||||
static int tap_detach(device_t, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_tun.c,v 1.121 2015/04/20 10:19:54 roy Exp $ */
|
||||
/* $NetBSD: if_tun.c,v 1.122 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk>
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.121 2015/04/20 10:19:54 roy Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.122 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
@ -58,11 +58,12 @@ __KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.121 2015/04/20 10:19:54 roy Exp $");
|
||||
|
||||
#include <net/if_tun.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
#define TUNDEBUG if (tundebug) printf
|
||||
int tundebug = 0;
|
||||
|
||||
extern int ifqmaxlen;
|
||||
void tunattach(int);
|
||||
|
||||
static LIST_HEAD(, tun_softc) tun_softc_list;
|
||||
static LIST_HEAD(, tun_softc) tunz_softc_list;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_vlan.c,v 1.81 2015/04/18 18:32:16 ozaki-r Exp $ */
|
||||
/* $NetBSD: if_vlan.c,v 1.82 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -78,7 +78,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.81 2015/04/18 18:32:16 ozaki-r Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.82 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_inet.h"
|
||||
@ -111,6 +111,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.81 2015/04/18 18:32:16 ozaki-r Exp $")
|
||||
#include <netinet6/in6_ifattach.h>
|
||||
#endif
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
struct vlan_mc_entry {
|
||||
LIST_ENTRY(vlan_mc_entry) mc_entries;
|
||||
/*
|
||||
@ -179,8 +181,6 @@ static int vlan_ioctl(struct ifnet *, u_long, void *);
|
||||
static void vlan_start(struct ifnet *);
|
||||
static void vlan_unconfig(struct ifnet *);
|
||||
|
||||
void vlanattach(int);
|
||||
|
||||
/* XXX This should be a hash table with the tag as the basis of the key. */
|
||||
static LIST_HEAD(, ifvlan) ifv_list;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: npf.c,v 1.22 2014/07/25 08:10:40 dholland Exp $ */
|
||||
/* $NetBSD: npf.c,v 1.23 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2009-2013 The NetBSD Foundation, Inc.
|
||||
@ -34,7 +34,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.22 2014/07/25 08:10:40 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.23 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
@ -54,13 +54,13 @@ __KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.22 2014/07/25 08:10:40 dholland Exp $");
|
||||
#include "npf_impl.h"
|
||||
#include "npf_conn.h"
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
/*
|
||||
* Module and device structures.
|
||||
*/
|
||||
MODULE(MODULE_CLASS_DRIVER, npf, NULL);
|
||||
|
||||
void npfattach(int);
|
||||
|
||||
static int npf_fini(void);
|
||||
static int npf_dev_open(dev_t, int, int, lwp_t *);
|
||||
static int npf_dev_close(dev_t, int, int, lwp_t *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: accf_data.c,v 1.6 2009/09/02 14:56:57 tls Exp $ */
|
||||
/* $NetBSD: accf_data.c,v 1.7 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Alfred Perlstein <alfred@FreeBSD.org>
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: accf_data.c,v 1.6 2009/09/02 14:56:57 tls Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: accf_data.c,v 1.7 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#define ACCEPT_FILTER_MOD
|
||||
|
||||
@ -40,6 +40,8 @@ __KERNEL_RCSID(0, "$NetBSD: accf_data.c,v 1.6 2009/09/02 14:56:57 tls Exp $");
|
||||
|
||||
#include <netinet/accept_filter.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
MODULE(MODULE_CLASS_MISC, accf_dataready, NULL);
|
||||
|
||||
/* accept filter that holds a socket until data arrives */
|
||||
@ -51,9 +53,6 @@ static struct accept_filter accf_data_filter = {
|
||||
.accf_callback = sohasdata,
|
||||
};
|
||||
|
||||
/* XXX pseudo-device */
|
||||
void accf_dataattach(int);
|
||||
|
||||
void
|
||||
accf_dataattach(int junk)
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: accf_http.c,v 1.8 2014/02/25 18:30:12 pooka Exp $ */
|
||||
/* $NetBSD: accf_http.c,v 1.9 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Paycounter, Inc.
|
||||
@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: accf_http.c,v 1.8 2014/02/25 18:30:12 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: accf_http.c,v 1.9 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#define ACCEPT_FILTER_MOD
|
||||
|
||||
@ -43,6 +43,8 @@ __KERNEL_RCSID(0, "$NetBSD: accf_http.c,v 1.8 2014/02/25 18:30:12 pooka Exp $");
|
||||
|
||||
#include <netinet/accept_filter.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
MODULE(MODULE_CLASS_MISC, accf_httpready, NULL);
|
||||
|
||||
/* check for GET/HEAD */
|
||||
@ -72,9 +74,6 @@ static struct accept_filter accf_http_filter = {
|
||||
|
||||
static int parse_http_version = 1;
|
||||
|
||||
/* XXX pseudo-device */
|
||||
void accf_httpattach(int);
|
||||
|
||||
void
|
||||
accf_httpattach(int junk)
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ip_carp.c,v 1.60 2015/02/26 09:54:46 roy Exp $ */
|
||||
/* $NetBSD: ip_carp.c,v 1.61 2015/08/20 14:40:19 christos Exp $ */
|
||||
/* $OpenBSD: ip_carp.c,v 1.113 2005/11/04 08:11:54 mcbride Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,7 +31,7 @@
|
||||
#include "opt_mbuftrace.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.60 2015/02/26 09:54:46 roy Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.61 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
@ -100,6 +100,8 @@ __KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.60 2015/02/26 09:54:46 roy Exp $");
|
||||
|
||||
#include <netinet/ip_carp.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
struct carp_mc_entry {
|
||||
LIST_ENTRY(carp_mc_entry) mc_entries;
|
||||
union {
|
||||
@ -193,7 +195,6 @@ static int carp_hmac_verify(struct carp_softc *, u_int32_t *,
|
||||
static void carp_setroute(struct carp_softc *, int);
|
||||
static void carp_proto_input_c(struct mbuf *, struct carp_header *,
|
||||
sa_family_t);
|
||||
void carpattach(int);
|
||||
static void carpdetach(struct carp_softc *);
|
||||
static int carp_prepare_ad(struct mbuf *, struct carp_softc *,
|
||||
struct carp_header *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: smb_dev.c,v 1.43 2014/09/05 09:26:16 matt Exp $ */
|
||||
/* $NetBSD: smb_dev.c,v 1.44 2015/08/20 14:40:19 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000-2001 Boris Popov
|
||||
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: smb_dev.c,v 1.43 2014/09/05 09:26:16 matt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: smb_dev.c,v 1.44 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -68,6 +68,8 @@ __KERNEL_RCSID(0, "$NetBSD: smb_dev.c,v 1.43 2014/09/05 09:26:16 matt Exp $");
|
||||
#include <netsmb/smb_dev.h>
|
||||
#include <netsmb/smb_rq.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
static struct smb_dev **smb_devtbl; /* indexed by minor */
|
||||
#define SMB_GETDEV(dev) (smb_devtbl[minor(dev)])
|
||||
#define NSMB_DEFNUM 4
|
||||
@ -100,7 +102,6 @@ const struct cdevsw nsmb_cdevsw = {
|
||||
};
|
||||
|
||||
|
||||
void nsmbattach(int);
|
||||
static bool nsmb_inited = false;
|
||||
|
||||
void
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cryptodev.c,v 1.83 2015/03/26 17:40:16 prlw1 Exp $ */
|
||||
/* $NetBSD: cryptodev.c,v 1.84 2015/08/20 14:40:19 christos Exp $ */
|
||||
/* $FreeBSD: src/sys/opencrypto/cryptodev.c,v 1.4.2.4 2003/06/03 00:09:02 sam Exp $ */
|
||||
/* $OpenBSD: cryptodev.c,v 1.53 2002/07/10 22:21:30 mickey Exp $ */
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.83 2015/03/26 17:40:16 prlw1 Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.84 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -96,6 +96,8 @@ __KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.83 2015/03/26 17:40:16 prlw1 Exp $")
|
||||
#include <opencrypto/cryptodev_internal.h>
|
||||
#include <opencrypto/xform.h>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
struct csession {
|
||||
TAILQ_ENTRY(csession) next;
|
||||
u_int64_t sid;
|
||||
@ -2080,8 +2082,6 @@ cryptof_poll(struct file *fp, int events)
|
||||
/*
|
||||
* Pseudo-device initialization routine for /dev/crypto
|
||||
*/
|
||||
void cryptoattach(int);
|
||||
|
||||
void
|
||||
cryptoattach(int num)
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cryptosoft.c,v 1.46 2014/07/02 18:58:42 riastradh Exp $ */
|
||||
/* $NetBSD: cryptosoft.c,v 1.47 2015/08/20 14:40:19 christos Exp $ */
|
||||
/* $FreeBSD: src/sys/opencrypto/cryptosoft.c,v 1.2.2.1 2002/11/21 23:34:23 sam Exp $ */
|
||||
/* $OpenBSD: cryptosoft.c,v 1.35 2002/04/26 08:43:50 deraadt Exp $ */
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cryptosoft.c,v 1.46 2014/07/02 18:58:42 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cryptosoft.c,v 1.47 2015/08/20 14:40:19 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -46,6 +46,8 @@ __KERNEL_RCSID(0, "$NetBSD: cryptosoft.c,v 1.46 2014/07/02 18:58:42 riastradh Ex
|
||||
|
||||
#include <opencrypto/cryptosoft_xform.c>
|
||||
|
||||
#include "ioconf.h"
|
||||
|
||||
union authctx {
|
||||
MD5_CTX md5ctx;
|
||||
SHA1_CTX sha1ctx;
|
||||
@ -1317,7 +1319,6 @@ swcr_init(void)
|
||||
/*
|
||||
* Pseudo-device init routine for software crypto.
|
||||
*/
|
||||
void swcryptoattach(int);
|
||||
|
||||
void
|
||||
swcryptoattach(int num)
|
||||
|
Loading…
Reference in New Issue
Block a user