CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: matt Date: Mon Jun 15 16:53:17 UTC 2015 Modified Files: src/sys/arch/ews4800mips/ews4800mips: cons_machdep.c Log Message: #include for curlwp To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c 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/ews4800mips/ews4800mips/cons_machdep.c diff -u src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c:1.7 src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c:1.8 --- src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c:1.7 Wed Aug 8 09:02:49 2012 +++ src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c Mon Jun 15 16:53:17 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: cons_machdep.c,v 1.7 2012/08/08 09:02:49 martin Exp $ */ +/* $NetBSD: cons_machdep.c,v 1.8 2015/06/15 16:53:17 matt Exp $ */ /*- * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. @@ -30,11 +30,12 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cons_machdep.c,v 1.7 2012/08/08 09:02:49 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cons_machdep.c,v 1.8 2015/06/15 16:53:17 matt Exp $"); #include -#include #include +#include +#include #include
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: christos Date: Wed Jan 22 16:32:09 UTC 2014 Modified Files: src/sys/arch/ews4800mips/ews4800mips: pdinfo.c Log Message: Fix debugging variables To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/ews4800mips/ews4800mips/pdinfo.c 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/ews4800mips/ews4800mips/pdinfo.c diff -u src/sys/arch/ews4800mips/ews4800mips/pdinfo.c:1.4 src/sys/arch/ews4800mips/ews4800mips/pdinfo.c:1.5 --- src/sys/arch/ews4800mips/ews4800mips/pdinfo.c:1.4 Mon Apr 28 16:23:18 2008 +++ src/sys/arch/ews4800mips/ews4800mips/pdinfo.c Wed Jan 22 11:32:09 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: pdinfo.c,v 1.4 2008/04/28 20:23:18 martin Exp $ */ +/* $NetBSD: pdinfo.c,v 1.5 2014/01/22 16:32:09 christos Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pdinfo.c,v 1.4 2008/04/28 20:23:18 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pdinfo.c,v 1.5 2014/01/22 16:32:09 christos Exp $"); #include #include @@ -71,16 +71,16 @@ pdinfo_valid(const struct pdinfo_sector bool pdinfo_sanity(const struct pdinfo_sector *disk) { - const struct disk_geometory *geom; - const struct disk_ux *ux; if (!pdinfo_valid(disk)) { DPRINTF("no physical disk info.\n"); return false; } - geom = &disk->geometory; - ux = &disk->ux; +#ifdef PDINFO_DEBUG + const struct disk_geometory *geom = &disk->geometory; + const struct disk_ux *ux = &disk->ux; +#endif DPRINTF("physical disk sector size %dbyte\n", sizeof *disk); DPRINTF("[disk]\n"); DPRINTF("drive_id = %#x\n", disk->drive_id);
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: martin Date: Wed Aug 8 09:02:49 UTC 2012 Modified Files: src/sys/arch/ews4800mips/ews4800mips: cons_machdep.c Log Message: Remove unneeded cn_tab definition (and NULL initialization) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c 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/ews4800mips/ews4800mips/cons_machdep.c diff -u src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c:1.6 src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c:1.7 --- src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c:1.6 Mon Apr 28 20:23:18 2008 +++ src/sys/arch/ews4800mips/ews4800mips/cons_machdep.c Wed Aug 8 09:02:49 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: cons_machdep.c,v 1.6 2008/04/28 20:23:18 martin Exp $ */ +/* $NetBSD: cons_machdep.c,v 1.7 2012/08/08 09:02:49 martin Exp $ */ /*- * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cons_machdep.c,v 1.6 2008/04/28 20:23:18 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cons_machdep.c,v 1.7 2012/08/08 09:02:49 martin Exp $"); #include #include @@ -45,7 +45,6 @@ __KERNEL_RCSID(0, "$NetBSD: cons_machdep cons_decl(rom_); struct cons cons; -struct consdev *cn_tab = NULL; struct consdev consdev_rom = { rom_cnprobe, rom_cninit,
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: tsutsui Date: Thu Mar 10 17:05:41 UTC 2011 Modified Files: src/sys/arch/ews4800mips/ews4800mips: tr2_intr.c tr2a_intr.c Log Message: Set correct struct clockframe .intr value for hardclock(9). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/ews4800mips/ews4800mips/tr2_intr.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c 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/ews4800mips/ews4800mips/tr2_intr.c diff -u src/sys/arch/ews4800mips/ews4800mips/tr2_intr.c:1.11 src/sys/arch/ews4800mips/ews4800mips/tr2_intr.c:1.12 --- src/sys/arch/ews4800mips/ews4800mips/tr2_intr.c:1.11 Sun Feb 20 07:55:20 2011 +++ src/sys/arch/ews4800mips/ews4800mips/tr2_intr.c Thu Mar 10 17:05:41 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: tr2_intr.c,v 1.11 2011/02/20 07:55:20 matt Exp $ */ +/* $NetBSD: tr2_intr.c,v 1.12 2011/03/10 17:05:41 tsutsui Exp $ */ /*- * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tr2_intr.c,v 1.11 2011/02/20 07:55:20 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tr2_intr.c,v 1.12 2011/03/10 17:05:41 tsutsui Exp $"); #define __INTR_PRIVATE #include @@ -154,7 +154,7 @@ if (ipending & MIPS_INT_MASK_5) { /* CLOCK */ cf.pc = pc; cf.sr = status; - cf.intr = (curcpu()->ci_idepth > 0); + cf.intr = (curcpu()->ci_idepth > 1); *PICNIC_INT5_STATUS_REG = 0; r = *PICNIC_INT5_STATUS_REG; Index: src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c diff -u src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c:1.14 src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c:1.15 --- src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c:1.14 Thu Feb 24 14:40:43 2011 +++ src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c Thu Mar 10 17:05:41 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: tr2a_intr.c,v 1.14 2011/02/24 14:40:43 tsutsui Exp $ */ +/* $NetBSD: tr2a_intr.c,v 1.15 2011/03/10 17:05:41 tsutsui Exp $ */ /*- * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tr2a_intr.c,v 1.14 2011/02/24 14:40:43 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tr2a_intr.c,v 1.15 2011/03/10 17:05:41 tsutsui Exp $"); #define __INTR_PRIVATE #include @@ -183,7 +183,7 @@ if ((ipending & MIPS_INT_MASK_5) && (intc_cause & INTC_INT5)) { cf.pc = pc; cf.sr = status; - cf.intr = (curcpu()->ci_idepth > 0); + cf.intr = (curcpu()->ci_idepth > 1); tr2a_wbflush(); *INTC_CLEAR_REG = 0x7c; *INTC_STATUS_REG;
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: tsutsui Date: Sun Mar 6 14:52:37 UTC 2011 Modified Files: src/sys/arch/ews4800mips/ews4800mips: bus_dma.c Log Message: Remove extra TAB. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/ews4800mips/ews4800mips/bus_dma.c 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/ews4800mips/ews4800mips/bus_dma.c diff -u src/sys/arch/ews4800mips/ews4800mips/bus_dma.c:1.11 src/sys/arch/ews4800mips/ews4800mips/bus_dma.c:1.12 --- src/sys/arch/ews4800mips/ews4800mips/bus_dma.c:1.11 Sun Feb 20 07:55:20 2011 +++ src/sys/arch/ews4800mips/ews4800mips/bus_dma.c Sun Mar 6 14:52:37 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: bus_dma.c,v 1.11 2011/02/20 07:55:20 matt Exp $ */ +/* $NetBSD: bus_dma.c,v 1.12 2011/03/06 14:52:37 tsutsui Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.11 2011/02/20 07:55:20 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.12 2011/03/06 14:52:37 tsutsui Exp $"); /* #define BUS_DMA_DEBUG */ #include @@ -617,6 +617,6 @@ rv = _bus_dmamem_mmap_common(t, segs, nsegs, off, prot, flags); if (rv == (bus_addr_t)-1) return (-1); - + return (mips_btop((char *)rv)); }
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: tsutsui Date: Thu Feb 24 14:40:43 UTC 2011 Modified Files: src/sys/arch/ews4800mips/ews4800mips: tr2a_intr.c Log Message: Check and update intc_cause on each iteration of interrupt handler loop. Fixes silent hang during SCSI probe. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c 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/ews4800mips/ews4800mips/tr2a_intr.c diff -u src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c:1.13 src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c:1.14 --- src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c:1.13 Sun Feb 20 07:55:20 2011 +++ src/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c Thu Feb 24 14:40:43 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: tr2a_intr.c,v 1.13 2011/02/20 07:55:20 matt Exp $ */ +/* $NetBSD: tr2a_intr.c,v 1.14 2011/02/24 14:40:43 tsutsui Exp $ */ /*- * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tr2a_intr.c,v 1.13 2011/02/20 07:55:20 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tr2a_intr.c,v 1.14 2011/02/24 14:40:43 tsutsui Exp $"); #define __INTR_PRIVATE #include @@ -287,6 +287,7 @@ *INTC_CLEAR_REG = 0x14; *INTC_STATUS_REG; } + intc_cause = *INTC_STATUS_REG & *INTC_MASK_REG; } }
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: uebayasi Date: Mon Nov 15 06:23:05 UTC 2010 Modified Files: src/sys/arch/ews4800mips/ews4800mips: tr2.c tr2a.c Log Message: struct cpu_info * deref needs sys/cpu.h. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/ews4800mips/ews4800mips/tr2.c \ src/sys/arch/ews4800mips/ews4800mips/tr2a.c 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/ews4800mips/ews4800mips/tr2.c diff -u src/sys/arch/ews4800mips/ews4800mips/tr2.c:1.3 src/sys/arch/ews4800mips/ews4800mips/tr2.c:1.4 --- src/sys/arch/ews4800mips/ews4800mips/tr2.c:1.3 Mon Apr 28 20:23:18 2008 +++ src/sys/arch/ews4800mips/ews4800mips/tr2.c Mon Nov 15 06:23:05 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: tr2.c,v 1.3 2008/04/28 20:23:18 martin Exp $ */ +/* $NetBSD: tr2.c,v 1.4 2010/11/15 06:23:05 uebayasi Exp $ */ /*- * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tr2.c,v 1.3 2008/04/28 20:23:18 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tr2.c,v 1.4 2010/11/15 06:23:05 uebayasi Exp $"); #include "fb_sbdio.h" #include "kbms_sbdio.h" @@ -41,6 +41,7 @@ #include #include #include +#include #include Index: src/sys/arch/ews4800mips/ews4800mips/tr2a.c diff -u src/sys/arch/ews4800mips/ews4800mips/tr2a.c:1.3 src/sys/arch/ews4800mips/ews4800mips/tr2a.c:1.4 --- src/sys/arch/ews4800mips/ews4800mips/tr2a.c:1.3 Mon Apr 28 20:23:18 2008 +++ src/sys/arch/ews4800mips/ews4800mips/tr2a.c Mon Nov 15 06:23:05 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: tr2a.c,v 1.3 2008/04/28 20:23:18 martin Exp $ */ +/* $NetBSD: tr2a.c,v 1.4 2010/11/15 06:23:05 uebayasi Exp $ */ /*- * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tr2a.c,v 1.3 2008/04/28 20:23:18 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tr2a.c,v 1.4 2010/11/15 06:23:05 uebayasi Exp $"); #include "fb_sbdio.h" #include "kbms_sbdio.h" @@ -41,6 +41,7 @@ #include #include #include +#include #include
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: uebayasi Date: Mon Nov 15 06:22:13 UTC 2010 Modified Files: src/sys/arch/ews4800mips/ews4800mips: interrupt.c Log Message: struct cpu_info * deref needs sys/cpu.h. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/ews4800mips/ews4800mips/interrupt.c 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/ews4800mips/ews4800mips/interrupt.c diff -u src/sys/arch/ews4800mips/ews4800mips/interrupt.c:1.5 src/sys/arch/ews4800mips/ews4800mips/interrupt.c:1.6 --- src/sys/arch/ews4800mips/ews4800mips/interrupt.c:1.5 Mon Dec 14 00:46:03 2009 +++ src/sys/arch/ews4800mips/ews4800mips/interrupt.c Mon Nov 15 06:22:13 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: interrupt.c,v 1.5 2009/12/14 00:46:03 matt Exp $ */ +/* $NetBSD: interrupt.c,v 1.6 2010/11/15 06:22:13 uebayasi Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -30,10 +30,11 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.5 2009/12/14 00:46:03 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.6 2010/11/15 06:22:13 uebayasi Exp $"); #include #include +#include #include /* uvmexp.intrs */
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: tsutsui Date: Tue May 4 15:32:32 UTC 2010 Modified Files: src/sys/arch/ews4800mips/ews4800mips: machdep.c Log Message: Fix dumb build errors. Compile test only. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/ews4800mips/ews4800mips/machdep.c 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/ews4800mips/ews4800mips/machdep.c diff -u src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.22 src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.23 --- src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.22 Mon Feb 8 19:02:28 2010 +++ src/sys/arch/ews4800mips/ews4800mips/machdep.c Tue May 4 15:32:31 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.22 2010/02/08 19:02:28 joerg Exp $ */ +/* $NetBSD: machdep.c,v 1.23 2010/05/04 15:32:31 tsutsui Exp $ */ /*- * Copyright (c) 2001, 2004, 2005 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.22 2010/02/08 19:02:28 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.23 2010/05/04 15:32:31 tsutsui Exp $"); #include "opt_ddb.h" @@ -88,7 +88,6 @@ mach_init(int argc, char *argv[], struct bootinfo *bi) { extern char kernel_text[], edata[], end[]; - struct pcb *pcb0; vaddr_t v; int i; @@ -116,8 +115,8 @@ sbd_init(); __asm volatile("move %0, $29" : "=r"(v)); - printf("kernel_text=%p edata=%p end=%p sp=%lx\n", kernel_text, edata, - end, v); + printf("kernel_text=%p edata=%p end=%p sp=%" PRIxVADDR "\n", + kernel_text, edata, end, v); option(argc, argv, bi);
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: skrll Date: Tue Dec 1 23:14:02 UTC 2009 Modified Files: src/sys/arch/ews4800mips/ews4800mips: machdep.c Log Message: Fix build. Hi rmind. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/ews4800mips/ews4800mips/machdep.c 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/ews4800mips/ews4800mips/machdep.c diff -u src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.19 src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.20 --- src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.19 Fri Nov 27 03:23:09 2009 +++ src/sys/arch/ews4800mips/ews4800mips/machdep.c Tue Dec 1 23:14:02 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.19 2009/11/27 03:23:09 rmind Exp $ */ +/* $NetBSD: machdep.c,v 1.20 2009/12/01 23:14:02 skrll Exp $ */ /*- * Copyright (c) 2001, 2004, 2005 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.19 2009/11/27 03:23:09 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.20 2009/12/01 23:14:02 skrll Exp $"); #include "opt_ddb.h" @@ -117,7 +117,7 @@ sbd_init(); __asm volatile("move %0, $29" : "=r"(v)); - printf("kernel_text=%p edata=%p end=%p sp=%p\n", kernel_text, edata, + printf("kernel_text=%p edata=%p end=%p sp=%lx\n", kernel_text, edata, end, v); option(argc, argv, bi);
CVS commit: src/sys/arch/ews4800mips/ews4800mips
Module Name:src Committed By: uch Date: Sun Aug 2 12:04:28 UTC 2009 Modified Files: src/sys/arch/ews4800mips/ews4800mips: disksubr.c Log Message: fix comment To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/ews4800mips/ews4800mips/disksubr.c 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/ews4800mips/ews4800mips/disksubr.c diff -u src/sys/arch/ews4800mips/ews4800mips/disksubr.c:1.7 src/sys/arch/ews4800mips/ews4800mips/disksubr.c:1.8 --- src/sys/arch/ews4800mips/ews4800mips/disksubr.c:1.7 Mon Apr 28 20:23:18 2008 +++ src/sys/arch/ews4800mips/ews4800mips/disksubr.c Sun Aug 2 12:04:28 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: disksubr.c,v 1.7 2008/04/28 20:23:18 martin Exp $ */ +/* $NetBSD: disksubr.c,v 1.8 2009/08/02 12:04:28 uch Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.7 2008/04/28 20:23:18 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.8 2009/08/02 12:04:28 uch Exp $"); #include #include @@ -139,7 +139,7 @@ sector_write(rwops, (void *)&ux->vtoc, ux->pdinfo.logical_sector + VTOC_SECTOR); - /* 3. Write disklabel to BFS */ + /* 3. Write disklabel to LABELSECTOR */ memset(buf, 0, sizeof buf); memcpy(buf, d, sizeof *d); if (!sector_write(rwops, buf, LABELSECTOR)) {