Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 22:16:07 +0000 (UTC)
From:      Edwin Groothuis <edwin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r194780 - stable/7/tools/tools/nanobsd
Message-ID:  <200906232216.n5NMG7lL092256@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: edwin
Date: Tue Jun 23 22:16:07 2009
New Revision: 194780
URL: http://svn.freebsd.org/changeset/base/194780

Log:
  MFC of r194286 r194310 r194332
  
  Support for 64 Mb Kodak flash device.
  
  PR:		misc/115025
  Submitted by:	Michael W Lucas <mwlucas@freebsd.org>

Modified:
  stable/7/tools/tools/nanobsd/FlashDevice.sub   (contents, props changed)

Modified: stable/7/tools/tools/nanobsd/FlashDevice.sub
==============================================================================
--- stable/7/tools/tools/nanobsd/FlashDevice.sub	Tue Jun 23 22:12:37 2009	(r194779)
+++ stable/7/tools/tools/nanobsd/FlashDevice.sub	Tue Jun 23 22:16:07 2009	(r194780)
@@ -68,6 +68,20 @@ sub_FlashDevice () {
 			;;
 		esac
 		;;
+	kodak)
+		# Source: mwlucas@FreeBSD.org
+		case $a2 in
+		64|64mb)
+			NANO_MEDIASIZE=`expr 64487424 / 512`
+			NANO_HEADS=4
+			NANO_SECTS=32
+			;;
+		*)
+			echo "Unknown Kodak Flash capacity"
+			exit 2
+			;;
+		esac
+		;;
 	memorycorp)
 		# Source: simon@FreeBSD.org
 		case $a2 in



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906232216.n5NMG7lL092256>