CVS commit: src/sys/arch/cobalt
Module Name:src Committed By: tsutsui Date: Sat Sep 4 02:24:27 UTC 2021 Modified Files: src/sys/arch/cobalt/conf: files.cobalt Removed Files: src/sys/arch/cobalt/cobalt: disksubr.c Log Message: Use MI subr_disk_mbr.c for proper MBR and bi-endian supprot. No special MD handling in previous. Briefly tested on gxemul 0.6.3. To generate a diff of this commit: cvs rdiff -u -r1.26 -r0 src/sys/arch/cobalt/cobalt/disksubr.c cvs rdiff -u -r1.42 -r1.43 src/sys/arch/cobalt/conf/files.cobalt 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/cobalt/conf/files.cobalt diff -u src/sys/arch/cobalt/conf/files.cobalt:1.42 src/sys/arch/cobalt/conf/files.cobalt:1.43 --- src/sys/arch/cobalt/conf/files.cobalt:1.42 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/cobalt/conf/files.cobalt Sat Sep 4 02:24:27 2021 @@ -1,4 +1,4 @@ -# $NetBSD: files.cobalt,v 1.42 2021/04/24 23:36:31 thorpej Exp $ +# $NetBSD: files.cobalt,v 1.43 2021/09/04 02:24:27 tsutsui Exp $ maxpartitions 16 @@ -41,10 +41,11 @@ file arch/cobalt/dev/gt.c gt file arch/cobalt/dev/gt_io_space.c gt file arch/cobalt/dev/gt_mem_space.c gt +file kern/subr_disk_mbr.c + file arch/cobalt/cobalt/autoconf.c file arch/cobalt/cobalt/bus.c file arch/cobalt/cobalt/console.c -file arch/cobalt/cobalt/disksubr.c file arch/cobalt/cobalt/interrupt.c file arch/cobalt/cobalt/machdep.c
CVS commit: src/sys/arch/cobalt
Module Name:src Committed By: tsutsui Date: Sat Sep 4 02:24:27 UTC 2021 Modified Files: src/sys/arch/cobalt/conf: files.cobalt Removed Files: src/sys/arch/cobalt/cobalt: disksubr.c Log Message: Use MI subr_disk_mbr.c for proper MBR and bi-endian supprot. No special MD handling in previous. Briefly tested on gxemul 0.6.3. To generate a diff of this commit: cvs rdiff -u -r1.26 -r0 src/sys/arch/cobalt/cobalt/disksubr.c cvs rdiff -u -r1.42 -r1.43 src/sys/arch/cobalt/conf/files.cobalt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/cobalt/cobalt
Module Name:src Committed By: tsutsui Date: Sat Sep 4 02:19:56 UTC 2021 Modified Files: src/sys/arch/cobalt/cobalt: console.c Log Message: Use C99 designated initializer. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/cobalt/cobalt/console.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/cobalt/cobalt/console.c diff -u src/sys/arch/cobalt/cobalt/console.c:1.12 src/sys/arch/cobalt/cobalt/console.c:1.13 --- src/sys/arch/cobalt/cobalt/console.c:1.12 Fri Jul 1 20:36:42 2011 +++ src/sys/arch/cobalt/cobalt/console.c Sat Sep 4 02:19:56 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: console.c,v 1.12 2011/07/01 20:36:42 dyoung Exp $ */ +/* $NetBSD: console.c,v 1.13 2021/09/04 02:19:56 tsutsui Exp $ */ /* * Copyright (c) 2000 Soren S. Jorvang. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: console.c,v 1.12 2011/07/01 20:36:42 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: console.c,v 1.13 2021/09/04 02:19:56 tsutsui Exp $"); #include #include @@ -50,18 +50,59 @@ int console_present = 0; /* Do we have a struct consdev constab[] = { #if NCOM_MAINBUS > 0 - { com_mainbus_cnprobe, com_mainbus_cninit, - NULL, NULL, NULL, NULL, NULL, NULL, 0, CN_DEAD }, + { + .cn_probe = com_mainbus_cnprobe, + .cn_init = com_mainbus_cninit, + .cn_getc = NULL, + .cn_putc = NULL, + .cn_pollc = NULL, + .cn_bell = NULL, + .cn_halt = NULL, + .cn_flush = NULL, + .cn_dev = 0, + .cn_pri = CN_DEAD + }, #endif #if NZSC > 0 - { zscnprobe, zscninit, zscngetc, zscnputc, nullcnpollc, - NULL, NULL, NULL, NODEV, CN_DEAD }, + { + .cn_probe = zscnprobe, + .cn_init = zscninit, + .cn_getc = zscngetc, + .cn_putc = zscnputc, + .cn_pollc = nullcnpollc, + .cn_bell = NULL, + .cn_halt = NULL, + .cn_flush = NULL, + .cn_dev = NODEV, + .cn_pri = CN_DEAD + }, #endif #if NNULLCONS > 0 - { nullcnprobe, nullcninit, - NULL, NULL, NULL, NULL, NULL, NULL, 0, CN_DEAD }, + { + .cn_probe = nullcnprobe, + .cn_init = nullcninit, + .cn_getc = NULL, + .cn_putc = NULL, + .cn_pollc = NULL, + .cn_bell = NULL, + .cn_halt = NULL, + .cn_flush = NULL, + .cn_dev = 0, + .cn_pri = CN_DEAD + }, #endif - { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, CN_DEAD } + { + .cn_probe = NULL, + .cn_init = NULL, + .cn_getc = NULL, + .cn_putc = NULL, + .cn_pollc = NULL, + .cn_bell = NULL, + .cn_halt = NULL, + .cn_flush = NULL, + .cn_dev = 0, + .cn_pri = CN_DEAD + } }; #define CONSOLE_PROBE 0x0020001c /* console flag passed by firmware */
CVS commit: src/sys/arch/cobalt/cobalt
Module Name:src Committed By: tsutsui Date: Sat Sep 4 02:19:56 UTC 2021 Modified Files: src/sys/arch/cobalt/cobalt: console.c Log Message: Use C99 designated initializer. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/cobalt/cobalt/console.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/cobalt/stand/boot
Module Name:src Committed By: tsutsui Date: Tue Jan 19 15:28:52 UTC 2010 Modified Files: src/sys/arch/cobalt/stand/boot: Makefile tlp.c wd.c wdc.c Log Message: Use -DLIBSA_PRINTF_LONGLONG_SUPPORT -DLIBSA_PRINTF_WIDTH_SUPPORT in debug printf()s. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/cobalt/stand/boot/Makefile cvs rdiff -u -r1.8 -r1.9 src/sys/arch/cobalt/stand/boot/tlp.c cvs rdiff -u -r1.11 -r1.12 src/sys/arch/cobalt/stand/boot/wd.c cvs rdiff -u -r1.12 -r1.13 src/sys/arch/cobalt/stand/boot/wdc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/cobalt/stand/boot
Module Name:src Committed By: tsutsui Date: Sun Jan 10 16:20:45 UTC 2010 Modified Files: src/sys/arch/cobalt/stand/boot: version wd.c wdc.c wdvar.h Log Message: Add support for LBA48 read command to standalone wdc/wd driver. Thanks to bouyer@ for comments about LBA48 boundary checks. Tested on: > Cobalt Qube 2700 > wd0 at atabus0 drive 0: > wd0: 153 GB, 319120 cyl, 16 head, 63 sec, 512 bytes/sect x 321672960 sectors via SATA-IDE converter, and NetBSD partition allocated at: > 1: NetBSD (sysid 169) > start 293603940, size 28069020 (13706 MB, Cyls 18276-20023/54/63) Also bump version. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/cobalt/stand/boot/version \ src/sys/arch/cobalt/stand/boot/wd.c cvs rdiff -u -r1.11 -r1.12 src/sys/arch/cobalt/stand/boot/wdc.c cvs rdiff -u -r1.8 -r1.9 src/sys/arch/cobalt/stand/boot/wdvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/cobalt/stand/boot
Module Name:src Committed By: tsutsui Date: Sun Jan 10 09:34:45 UTC 2010 Modified Files: src/sys/arch/cobalt/stand/boot: boot.c bootinfo.c Log Message: Make these compile with -D_DEBUG (use proper printf types). To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/cobalt/stand/boot/boot.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/cobalt/stand/boot/bootinfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/cobalt/include
Module Name:src Committed By: he Date: Wed Dec 30 18:39:03 UTC 2009 Modified Files: src/sys/arch/cobalt/include: bootinfo.h Log Message: Change prototype of lookup_bootinfo() so that it matches the implementation again. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/cobalt/include/bootinfo.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.