From 31774c91a77f8e603f35ba5dc61f3cefbacc99cc Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 10 Dec 1995 13:33:49 +0000 Subject: Staticize and cleanup. Make debug variable sysctl aware in 1742. --- sys/dev/eisa/eisaconf.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'sys/dev/eisa') diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c index f3c0a0aa99c5..b50186c8ba82 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 #include @@ -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))); } -- cgit v1.2.3