Module Name: src Committed By: tsutsui Date: Thu Dec 31 15:42:46 UTC 2009
Modified Files: src/sys/arch/hp300/include: disklabel.h Log Message: Don't use DEV_BSIZE for LABELSECTOR. We have never supported 256byte/sector media, and current definition won't work on >512byte/sector media. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hp300/include/disklabel.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hp300/include/disklabel.h diff -u src/sys/arch/hp300/include/disklabel.h:1.2 src/sys/arch/hp300/include/disklabel.h:1.3 --- src/sys/arch/hp300/include/disklabel.h:1.2 Tue Dec 6 17:06:00 2005 +++ src/sys/arch/hp300/include/disklabel.h Thu Dec 31 15:42:46 2009 @@ -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 */