summaryrefslogtreecommitdiffstats
path: root/sys/dev/eisa
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-10 13:33:49 +0000
committerphk <phk@FreeBSD.org>1995-12-10 13:33:49 +0000
commit924d3d88e6ab061898ba05701a1123ae3320d01c (patch)
tree95e4a3ce67dbe7e7d8663d3e704bcadec5fdf9e6 /sys/dev/eisa
parenta298a1843c7bfa2a35aa57de463ba467aeb911e2 (diff)
downloadFreeBSD-src-924d3d88e6ab061898ba05701a1123ae3320d01c.zip
FreeBSD-src-924d3d88e6ab061898ba05701a1123ae3320d01c.tar.gz
Staticize and cleanup.
Make debug variable sysctl aware in 1742.
Diffstat (limited to 'sys/dev/eisa')
-rw-r--r--sys/dev/eisa/eisaconf.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c
index f3c0a0a..b50186c 100644
--- a/sys/dev/eisa/eisaconf.c
+++ b/sys/dev/eisa/eisaconf.c
@@ -18,7 +18,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: eisaconf.c,v 1.9 1995/11/29 10:12:34 phk Exp $
+ * $Id: eisaconf.c,v 1.10 1995/11/29 17:40:47 bde Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -461,19 +461,8 @@ eisa_registerdev(e_dev, driver, kdc_template)
return (0);
}
-/*
- * Provide EISA-specific device information to user programs using the
- * hw.devconf interface.
- */
-int
-eisa_externalize(struct eisa_device *e_dev, struct sysctl_req *req)
-{
- return (SYSCTL_OUT(req, e_dev, sizeof *e_dev));
-}
-
-
int
eisa_generic_externalize(struct kern_devconf *kdc, struct sysctl_req *req)
{
- return eisa_externalize(kdc->kdc_eisa, req);
+ return (SYSCTL_OUT(req, kdc->kdc_eisa, sizeof(struct eisa_device)));
}
OpenPOWER on IntegriCloud