From owner-freebsd-mobile Tue Aug 27 5:21: 1 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 4014637B400 for ; Tue, 27 Aug 2002 05:20:59 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E2A643E7B for ; Tue, 27 Aug 2002 05:20:56 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 7410 invoked by uid 1031); 27 Aug 2002 12:20:11 -0000 Date: Tue, 27 Aug 2002 13:20:10 +0100 From: Bruce M Simpson To: Bob Johnson Cc: Kevin Oberman , mobile@FreeBSD.ORG, imp@freebsd.org, n_hibma@freebsd.org, joe@freebsd.org Subject: USB->ATA devices Message-ID: <20020827122010.GA5438@spc.org> References: <20020811235053.2E7935D04@ptavv.es.net> <20020813100445.GJ23205@spc.org> <3D68095B.3000106@garbonzo.hos.ufl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D68095B.3000106@garbonzo.hos.ufl.edu> User-Agent: Mutt/1.3.28i 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 On Sat, Aug 24, 2002 at 06:31:55PM -0400, Bob Johnson wrote: > Assuming it is similar to the two USB flash drives I've played with, > you need to hack /src/sys/cam/scsi/scsi_da.c to tell the scsi driver > about the capabilities of your device. The exception to the rule would seem to be devices behind USB->ATA bridges; some of the bridge chips on the market (OnSpec for example) implement a protocol which is nonstandard and is composed of the ATA task register file writes one would normally make in the ISA or PCI i/o address space. The devices which use this are generally SmartMedia or downmarket CompactFlash/multi-I/O devices. I discussed this with Joe Karthausen earlier this month, and it seems that in order to support these devices, some architectural changes would be needed in order to allow the ATA driver to operate on top of the USB bus. BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message