Date: Sun, 29 Jul 2007 22:15:22 -0400 (EDT) From: Michael W Lucas <mwlucas@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/115025: new flash device for nanobsd's FlashDevice.sub Message-ID: <200707300215.l6U2FMq9050671@bewilderbeast.blackhelicopters.org> Resent-Message-ID: <200707300220.l6U2KAT9004213@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 115025 >Category: misc >Synopsis: new flash device for nanobsd's FlashDevice.sub >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 30 02:20:10 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Michael W Lucas >Release: FreeBSD 7.0-CURRENT i386 >Organization: none >Environment: FreeBSD stretchlimo.blackhelicopters.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Jul 20 16:18:19 EDT 2007 mwlucas@stretchlimo.blackhelicopters.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: I have a flash device that isn't listed in /usr/src/tools/tools/nanobsd/FlashDevice.sub. Since I had to figure it out, here's the patch. >How-To-Repeat: Go buy one, I suppose. ;-) >Fix: --- FlashDevice.sub-dist 2007-07-23 11:04:00.000000000 -0400 +++ FlashDevice.sub 2007-07-23 11:10:45.000000000 -0400 @@ -55,6 +55,20 @@ ;; 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707300215.l6U2FMq9050671>