Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/include Don't use DEV_BSIZE for LABELSECTOR.
details: https://anonhg.NetBSD.org/src/rev/5920cd0c8a82
branches: trunk
changeset: 750433:5920cd0c8a82
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Dec 31 15:42:46 2009 +0000
description:
Don't use DEV_BSIZE for LABELSECTOR.
We have never supported 256byte/sector media, and
current definition won't work on >512byte/sector media.
diffstat:
sys/arch/hp300/include/disklabel.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2153a6969c7b -r 5920cd0c8a82 sys/arch/hp300/include/disklabel.h
--- a/sys/arch/hp300/include/disklabel.h Thu Dec 31 13:10:46 2009 +0000
+++ b/sys/arch/hp300/include/disklabel.h Thu Dec 31 15:42:46 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.h,v 1.2 2005/12/06 17:06:00 tsutsui Exp $ */
+/* $NetBSD: disklabel.h,v 1.3 2009/12/31 15:42:46 tsutsui Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,7 +33,7 @@
#ifndef _HP300_DISKLABEL_H_
#define _HP300_DISKLABEL_H_
-#define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
+#define LABELSECTOR 2 /* sector containing label */
#define LABELOFFSET 0 /* offset of label in sector */
#define MAXPARTITIONS 8 /* number of partitions */
#define RAW_PART 2 /* raw partition: xx?c */
Home |
Main Index |
Thread Index |
Old Index