Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev Make it compile again
details: https://anonhg.NetBSD.org/src/rev/9731be465e39
branches: trunk
changeset: 787036:9731be465e39
user: martin <martin%NetBSD.org@localhost>
date: Thu May 30 16:01:25 2013 +0000
description:
Make it compile again
diffstat:
sys/arch/sparc64/dev/fdc.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 7aee6bd851df -r 9731be465e39 sys/arch/sparc64/dev/fdc.c
--- a/sys/arch/sparc64/dev/fdc.c Thu May 30 08:28:13 2013 +0000
+++ b/sys/arch/sparc64/dev/fdc.c Thu May 30 16:01:25 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdc.c,v 1.37 2013/05/29 00:47:48 christos Exp $ */
+/* $NetBSD: fdc.c,v 1.38 2013/05/30 16:01:25 martin Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.37 2013/05/29 00:47:48 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.38 2013/05/30 16:01:25 martin Exp $");
#include "opt_ddb.h"
#include "opt_md.h"
@@ -2575,7 +2575,7 @@
return;
}
- struct disk_geom *dg = &fd->sc_dkdev.dk_geom;
+ struct disk_geom *dg = &fd->sc_dk.dk_geom;
memset(dg, 0, sizeof(*dg));
dg->dg_secperunit = fdt->size;
@@ -2591,6 +2591,6 @@
break;
}
dg->dg_ntracks = fdt->heads;
- dg->dg_ncylinders = fdt->cyls;
- disk_set_info(fd->sc_dev, &fd->sc_dkdev, NULL);
+ dg->dg_ncylinders = fdt->cylinders;
+ disk_set_info(fd->sc_dev, &fd->sc_dk, NULL);
}
Home |
Main Index |
Thread Index |
Old Index