Module Name: src
Committed By: thorpej
Date: Thu Sep 19 01:44:48 UTC 2019
Modified Files:
src/etc: MAKEDEV.tmpl
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/etc/MAKEDEV.tmpl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/MAKEDEV.tmpl
diff -u src/etc/MAKEDEV.tmpl:1.207 src/etc/MAKEDEV.tmpl:1.208
--- src/etc/MAKEDEV.tmpl:1.207 Sun Sep 15 12:54:21 2019
+++ src/etc/MAKEDEV.tmpl Thu Sep 19 01:44:48 2019
@@ -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 @@ spiflash[0-9]*)
unit=${i#spiflash}
spiflash=spiflash$unit
mkdev spiflash$unit b %spiflash_blk% $unit
+ mkdev rspiflash$unit c %spiflash_chr% $unit
;;
altmem[0-9]*)