summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-01-21 01:39:40 +0000
committerarchie <archie@FreeBSD.org>2000-01-21 01:39:40 +0000
commit5d28703a16845f196795b2dda223c9b4cc87756b (patch)
tree3a766e955e78e51af5190eac0f4d4b3b80fec7b0 /sys
parenta29610fe9a9a062d76bd0f17dd006ce6997c60c4 (diff)
downloadFreeBSD-src-5d28703a16845f196795b2dda223c9b4cc87756b.zip
FreeBSD-src-5d28703a16845f196795b2dda223c9b4cc87756b.tar.gz
Remove definition of the unimplemented "control" hook.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ar/if_ar.c3
-rw-r--r--sys/dev/ar/if_ar.h1
-rw-r--r--sys/dev/ar/if_ar_isa.c3
-rw-r--r--sys/dev/sr/if_sr.c3
-rw-r--r--sys/dev/sr/if_sr.h1
-rw-r--r--sys/dev/sr/if_sr_isa.c3
-rw-r--r--sys/i386/isa/if_ar.c3
-rw-r--r--sys/i386/isa/if_ar.h1
-rw-r--r--sys/i386/isa/if_sr.c3
-rw-r--r--sys/i386/isa/if_sr.h1
10 files changed, 6 insertions, 16 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c
index 4903849..6f9122c 100644
--- a/sys/dev/ar/if_ar.c
+++ b/sys/dev/ar/if_ar.c
@@ -2169,11 +2169,10 @@ ngar_constructor(node_p *nodep)
/*
* give our ok for a hook to be added...
* If we are not running this should kick the device into life.
- * We allow hooks called "control" and dlci[1-1023]
* The hook's private info points to our stash of info about that
* channel.
*/
-static int
+static int
ngar_newhook(node_p node, hook_p hook, const char *name)
{
struct ar_softc * sc = node->private;
diff --git a/sys/dev/ar/if_ar.h b/sys/dev/ar/if_ar.h
index a40ccb9..77bd5bc 100644
--- a/sys/dev/ar/if_ar.h
+++ b/sys/dev/ar/if_ar.h
@@ -16,7 +16,6 @@
/* Netgraph hooks */
#define NG_AR_HOOK_DEBUG "debug"
-#define NG_AR_HOOK_CONTROL "control"
#define NG_AR_HOOK_RAW "rawdata"
#endif /* _I386_ISA_IF_AR_H_ */
diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c
index 4903849..6f9122c 100644
--- a/sys/dev/ar/if_ar_isa.c
+++ b/sys/dev/ar/if_ar_isa.c
@@ -2169,11 +2169,10 @@ ngar_constructor(node_p *nodep)
/*
* give our ok for a hook to be added...
* If we are not running this should kick the device into life.
- * We allow hooks called "control" and dlci[1-1023]
* The hook's private info points to our stash of info about that
* channel.
*/
-static int
+static int
ngar_newhook(node_p node, hook_p hook, const char *name)
{
struct ar_softc * sc = node->private;
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index e9b0d08..c1348e3 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -3329,11 +3329,10 @@ ngsr_constructor(node_p *nodep)
/*
* give our ok for a hook to be added...
* If we are not running this should kick the device into life.
- * We allow hooks called "control" and dlci[1-1023]
* The hook's private info points to our stash of info about that
* channel.
*/
-static int
+static int
ngsr_newhook(node_p node, hook_p hook, const char *name)
{
struct sr_softc * sc = node->private;
diff --git a/sys/dev/sr/if_sr.h b/sys/dev/sr/if_sr.h
index d01a2cb..31e08ab 100644
--- a/sys/dev/sr/if_sr.h
+++ b/sys/dev/sr/if_sr.h
@@ -16,7 +16,6 @@
/* Netgraph hooks */
#define NG_SR_HOOK_DEBUG "debug"
-#define NG_SR_HOOK_CONTROL "control"
#define NG_SR_HOOK_RAW "rawdata"
#endif /* _I386_ISA_IF_SR_H_ */
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c
index e9b0d08..c1348e3 100644
--- a/sys/dev/sr/if_sr_isa.c
+++ b/sys/dev/sr/if_sr_isa.c
@@ -3329,11 +3329,10 @@ ngsr_constructor(node_p *nodep)
/*
* give our ok for a hook to be added...
* If we are not running this should kick the device into life.
- * We allow hooks called "control" and dlci[1-1023]
* The hook's private info points to our stash of info about that
* channel.
*/
-static int
+static int
ngsr_newhook(node_p node, hook_p hook, const char *name)
{
struct sr_softc * sc = node->private;
diff --git a/sys/i386/isa/if_ar.c b/sys/i386/isa/if_ar.c
index 4903849..6f9122c 100644
--- a/sys/i386/isa/if_ar.c
+++ b/sys/i386/isa/if_ar.c
@@ -2169,11 +2169,10 @@ ngar_constructor(node_p *nodep)
/*
* give our ok for a hook to be added...
* If we are not running this should kick the device into life.
- * We allow hooks called "control" and dlci[1-1023]
* The hook's private info points to our stash of info about that
* channel.
*/
-static int
+static int
ngar_newhook(node_p node, hook_p hook, const char *name)
{
struct ar_softc * sc = node->private;
diff --git a/sys/i386/isa/if_ar.h b/sys/i386/isa/if_ar.h
index a40ccb9..77bd5bc 100644
--- a/sys/i386/isa/if_ar.h
+++ b/sys/i386/isa/if_ar.h
@@ -16,7 +16,6 @@
/* Netgraph hooks */
#define NG_AR_HOOK_DEBUG "debug"
-#define NG_AR_HOOK_CONTROL "control"
#define NG_AR_HOOK_RAW "rawdata"
#endif /* _I386_ISA_IF_AR_H_ */
diff --git a/sys/i386/isa/if_sr.c b/sys/i386/isa/if_sr.c
index e9b0d08..c1348e3 100644
--- a/sys/i386/isa/if_sr.c
+++ b/sys/i386/isa/if_sr.c
@@ -3329,11 +3329,10 @@ ngsr_constructor(node_p *nodep)
/*
* give our ok for a hook to be added...
* If we are not running this should kick the device into life.
- * We allow hooks called "control" and dlci[1-1023]
* The hook's private info points to our stash of info about that
* channel.
*/
-static int
+static int
ngsr_newhook(node_p node, hook_p hook, const char *name)
{
struct sr_softc * sc = node->private;
diff --git a/sys/i386/isa/if_sr.h b/sys/i386/isa/if_sr.h
index d01a2cb..31e08ab 100644
--- a/sys/i386/isa/if_sr.h
+++ b/sys/i386/isa/if_sr.h
@@ -16,7 +16,6 @@
/* Netgraph hooks */
#define NG_SR_HOOK_DEBUG "debug"
-#define NG_SR_HOOK_CONTROL "control"
#define NG_SR_HOOK_RAW "rawdata"
#endif /* _I386_ISA_IF_SR_H_ */
OpenPOWER on IntegriCloud