From owner-freebsd-mobile Sun Jan 2 14:49: 9 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 6C74114F1B for ; Sun, 2 Jan 2000 14:49:00 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id PAA60147 for ; Sun, 2 Jan 2000 15:48:50 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id PAA31926 for ; Sun, 2 Jan 2000 15:48:50 -0700 (MST) Message-Id: <200001022248.PAA31926@harmony.village.org> To: mobile@freebsd.org Subject: ata flash support Date: Sun, 02 Jan 2000 15:48:49 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org With a kind hint from Soren, I've been able to get compact flash cards working. Turns out that the ata driver always used 32bit I/O for some things unless the ATA_16BIT_ONLY option was defined. Since I didn't want to slow down the hard drive in my machine, I made it conditional on a flag in the flags word of the unit. http://www.freebsd.org/~imp/ata-patch I was unable to get devices with multiple I/O regions working with this patch. However, the only one I have identifies itself as a atapi floppy drive and I've not added support for that yet. I'm not sure how to support both kinda of devices at the moment. Please try it out and let me know what you think. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message