Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Create the character device for spiflash, in addition to...



details:   https://anonhg.NetBSD.org/src/rev/300ddcbb2ea3
branches:  trunk
changeset: 965486:300ddcbb2ea3
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Sep 19 01:44:48 2019 +0000

description:
Create the character device for spiflash, in addition to the block device.
This is needed for getdiskrawname() to DTRT (for installboot(8)).

XXX pullup-9

diffstat:

 etc/MAKEDEV.tmpl |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2f5f3a774cad -r 300ddcbb2ea3 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Thu Sep 19 01:25:29 2019 +0000
+++ b/etc/MAKEDEV.tmpl  Thu Sep 19 01:44:48 2019 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.207 2019/09/15 12:54:21 ryoon Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.208 2019/09/19 01:44:48 thorpej Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1219,6 +1219,7 @@
        unit=${i#spiflash}
        spiflash=spiflash$unit
        mkdev spiflash$unit b %spiflash_blk% $unit
+       mkdev rspiflash$unit c %spiflash_chr% $unit
        ;;
 
 altmem[0-9]*)



Home | Main Index | Thread Index | Old Index