From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 16 08:58:54 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A62116A4BF for ; Tue, 16 Sep 2003 08:58:54 -0700 (PDT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 781D743FCB for ; Tue, 16 Sep 2003 08:58:52 -0700 (PDT) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.9/8.12.9/NinthNine) with ESMTP id h8GFwn9U080153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Sep 2003 00:58:49 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Wed, 17 Sep 2003 00:58:49 +0900 From: Norikatsu Shigemura To: hackers@FreeBSD.org Message-Id: <20030917005849.60a9130a.nork@FreeBSD.org> In-Reply-To: <200309161543.h8GFhJg2072042@sana.init-main.com> References: <200309161543.h8GFhJg2072042@sana.init-main.com> X-Mailer: Sylpheed version 0.9.5 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: Takanori Watanabe Subject: Re: Does anyone work on making ATA moduler? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 15:58:54 -0000 On Wed, 17 Sep 2003 00:43:19 +0900 Takanori Watanabe wrote: > Hi,There is a problem when PCMCIA related stuff > is used as module, ATA CF is not recognized. > This is because PCMCIA atachment is not compiled > when pccard(4) is not compiled in. > To fix it, we have to supply PCMCIA attachment > in any form. > One way is to make a kernel module that contains only > ATA/PCMCIA attachment with this Makefile Tested by: nork using ume's smart card in CBUG Hakone Camp. > == > .PATH: ${.CURDIR}/../../dev/ata > KMOD= atacard > SRCS= ata-card.c > SRCS+= bus_if.h device_if.h card_if.h power_if.h > .include > === This is good works with MODULES_OVERRIDE. > Then two question. > 1. May I commit this workaround? > 2. Are there any people working on ATA for making it fully > moduler? Please, please commit this or other work around.