From owner-freebsd-mobile Fri Aug 16 8:20: 6 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5CAF37B400 for ; Fri, 16 Aug 2002 08:20:02 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B363E43E77 for ; Fri, 16 Aug 2002 08:20:01 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g7GFJxQe002590; Fri, 16 Aug 2002 09:19:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 16 Aug 2002 06:59:39 -0600 (MDT) Message-Id: <20020816.065939.48141213.imp@bsdimp.com> To: bms@spc.org Cc: freebsd-mobile@freebsd.org Subject: Re: Linear flash card support? From: "M. Warner Losh" In-Reply-To: <20020816074039.GA24605@spc.org> References: <20020816074039.GA24605@spc.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: <20020816074039.GA24605@spc.org> Bruce M Simpson writes: : Has anybody revisited the subject of linear flash/sram card support? Not in years. : I seem to see an old thread from 2000. Cut a long story short, I have : a need to write to such devices. I see. : I could hack together a lame, blocking, character device with a few : non-standard ioctls to be able to write to the card quickly using dd, : that's all I need right now. Need hot-swap? Outline of what to hack: 1) hack the pcic bridge code to not reject memory cards (linear flash show up as memory cards, at least the ones I have do). 2) hack the pcic bridge code to do the right thing wrt memory cards. 3) write a client driver. 1 & 2 may be hard, but #3 shouldn't be too bad if you have decent docs for your linear cards. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message