Support for 64 Mb Kodak flash device.

PR:		misc/115025
Submitted by:	Michael W Lucas <mwlucas@freebsd.org>
MFC after:	1 week
This commit is contained in:
Edwin Groothuis 2009-06-16 12:09:12 +00:00
parent a6f51121b8
commit 4ab0499570
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194286

View File

@ -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