Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Add spiflash device to MAKEDEV template and MAKEDEV conf...
details: https://anonhg.NetBSD.org/src/rev/377ec9148aae
branches: trunk
changeset: 786226:377ec9148aae
user: rkujawa <rkujawa%NetBSD.org@localhost>
date: Sat Apr 20 11:41:51 2013 +0000
description:
Add spiflash device to MAKEDEV template and MAKEDEV config on evbarm.
Obtained from Marvell, Semihalf.
diffstat:
etc/MAKEDEV.tmpl | 8 +++++++-
etc/etc.evbarm/MAKEDEV.conf | 3 ++-
2 files changed, 9 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 67c920394bdf -r 377ec9148aae etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl Sat Apr 20 09:48:32 2013 +0000
+++ b/etc/MAKEDEV.tmpl Sat Apr 20 11:41:51 2013 +0000
@@ -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 @@
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
diff -r 67c920394bdf -r 377ec9148aae etc/etc.evbarm/MAKEDEV.conf
--- a/etc/etc.evbarm/MAKEDEV.conf Sat Apr 20 09:48:32 2013 +0000
+++ b/etc/etc.evbarm/MAKEDEV.conf Sat Apr 20 11:41:51 2013 +0000
@@ -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 @@
makedev cfs
makedev vchiq
makedev audio
+ makedev spiflash0
;;
ramdisk|floppy)
Home |
Main Index |
Thread Index |
Old Index