diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-11-20 12:42:39 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-11-20 12:42:39 +0000 |
| commit | 4b2af45f4ba1f8d8d5a56c4b18f29da6d08146e9 (patch) | |
| tree | 3c18ee3a32f49eafefcfca9b38f0533552958ab7 /sys/dev/fdc | |
| parent | fe66bbf4885ee0f3139abafc77baa90493c18a69 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fdc')
| -rw-r--r-- | sys/dev/fdc/fdc.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index f8622035de72..4601645463ac 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.69 1995/11/04 17:07:17 bde Exp $ + * $Id: fd.c,v 1.70 1995/11/18 07:48:11 bde Exp $ * */ @@ -89,8 +89,7 @@ static int fd_goaway(struct kern_devconf *, int); static int fdc_goaway(struct kern_devconf *, int); -static int -fd_externalize(struct proc *, struct kern_devconf *, void *, size_t); +static int fd_externalize(struct kern_devconf *, struct sysctl_req *); /* * Templates for the kern_devconf structures used when we attach. @@ -344,17 +343,9 @@ struct isa_device *fdcdevs[NFDC]; * Provide hw.devconf information. */ static int -fd_externalize(struct proc *p, struct kern_devconf *kdc, - void *userp, size_t len) -{ - return disk_externalize(fd_data[kdc->kdc_unit].fdsu, userp, &len); -} - -static int -fdc_externalize(struct proc *p, struct kern_devconf *kdc, - void *userp, size_t len) +fd_externalize(struct kern_devconf *kdc, struct sysctl_req *req) { - return isa_externalize(fdcdevs[kdc->kdc_unit], userp, &len); + return disk_externalize(fd_data[kdc->kdc_unit].fdsu, req); } static int |
