Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 12:09:12 +0000 (UTC)
From:      Edwin Groothuis <edwin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194286 - head/tools/tools/nanobsd
Message-ID:  <200906161209.n5GC9Coq026808@svn.freebsd.org>

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

Log:
  Support for 64 Mb Kodak flash device.
  
  PR:		misc/115025
  Submitted by:	Michael W Lucas <mwlucas@freebsd.org>
  MFC after:	1 week

Modified:
  head/tools/tools/nanobsd/FlashDevice.sub

Modified: head/tools/tools/nanobsd/FlashDevice.sub
==============================================================================
--- head/tools/tools/nanobsd/FlashDevice.sub	Tue Jun 16 12:05:04 2009	(r194285)
+++ head/tools/tools/nanobsd/FlashDevice.sub	Tue Jun 16 12:09:12 2009	(r194286)
@@ -68,6 +68,20 @@ sub_FlashDevice () {
 			;;
 		esac
 		;;
+	kodak)
+		# Source: mwlucas@FreeBSD.org
+		case $a2 iin
+		64|64mb)
+			NANO_MEDIASIZE=`expr 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?200906161209.n5GC9Coq026808>