Module Name: src Committed By: rkujawa Date: Sat Apr 20 11:41:52 UTC 2013
Modified Files: src/etc: MAKEDEV.tmpl src/etc/etc.evbarm: MAKEDEV.conf Log Message: Add spiflash device to MAKEDEV template and MAKEDEV config on evbarm. Obtained from Marvell, Semihalf. To generate a diff of this commit: cvs rdiff -u -r1.166 -r1.167 src/etc/MAKEDEV.tmpl cvs rdiff -u -r1.12 -r1.13 src/etc/etc.evbarm/MAKEDEV.conf 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.166 src/etc/MAKEDEV.tmpl:1.167 --- src/etc/MAKEDEV.tmpl:1.166 Thu Apr 11 19:13:46 2013 +++ src/etc/MAKEDEV.tmpl Sat Apr 20 11:41:51 2013 @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV.tmpl,v 1.166 2013/04/11 19:13:46 martin Exp $ +# $NetBSD: MAKEDEV.tmpl,v 1.167 2013/04/20 11:41:51 rkujawa Exp $ # # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -1139,6 +1139,12 @@ flash[0-9]*) mkdev rflash$unit c %flash_chr% $unit ;; +spiflash[0-9]*) + unit=${i#spiflash} + spiflash=spiflash$unit + mkdev spiflash$unit b %spiflash_blk% $unit + ;; + altmem[0-9]*) name=altmem; unit=${i#altmem}; blk=%altmem_blk%; chr=%altmem_chr% %MKDISK% $name $unit $blk $chr Index: src/etc/etc.evbarm/MAKEDEV.conf diff -u src/etc/etc.evbarm/MAKEDEV.conf:1.12 src/etc/etc.evbarm/MAKEDEV.conf:1.13 --- src/etc/etc.evbarm/MAKEDEV.conf:1.12 Sun Mar 24 14:03:54 2013 +++ src/etc/etc.evbarm/MAKEDEV.conf Sat Apr 20 11:41:52 2013 @@ -1,4 +1,4 @@ -# $NetBSD: MAKEDEV.conf,v 1.12 2013/03/24 14:03:54 jmcneill Exp $ +# $NetBSD: MAKEDEV.conf,v 1.13 2013/04/20 11:41:52 rkujawa Exp $ all_md) makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 @@ -17,6 +17,7 @@ all_md) makedev cfs makedev vchiq makedev audio + makedev spiflash0 ;; ramdisk|floppy)