Module Name: src Committed By: matt Date: Tue Jul 26 22:50:15 UTC 2011
Modified Files: src/etc [matt-nb5-pq3]: MAKEDEV.tmpl Log Message: Add flash To generate a diff of this commit: cvs rdiff -u -r1.113.2.7 -r1.113.2.7.4.1 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.113.2.7 src/etc/MAKEDEV.tmpl:1.113.2.7.4.1 --- src/etc/MAKEDEV.tmpl:1.113.2.7 Sat Sep 26 19:52:09 2009 +++ src/etc/MAKEDEV.tmpl Tue Jul 26 22:50:15 2011 @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV.tmpl,v 1.113.2.7 2009/09/26 19:52:09 snj Exp $ +# $NetBSD: MAKEDEV.tmpl,v 1.113.2.7.4.1 2011/07/26 22:50:15 matt Exp $ # # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -1011,6 +1011,18 @@ %MKDISK% $name $unit $blk $chr ;; +flash*) + unit=${i#flash} + flash=flash$unit + mkdev flash$unit b %flash_blk% $unit + mkdev rflash$unit c %flash_chr% $unit + ;; + +altmem*) + name=altmem; unit=${i#altmem}; blk=%altmem_blk%; chr=%altmem_chr% + %MKDISK% $name $unit $blk $chr + ;; + bio) mkdev bio c %bio_chr% 0 ;;