From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 16 16:53:29 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 CB7FF16A50C; Tue, 16 Sep 2003 16:53:28 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C7EC4434F; Tue, 16 Sep 2003 16:52:26 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h8GNqOTX086213; Tue, 16 Sep 2003 17:52:25 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 16 Sep 2003 17:52:25 -0600 (MDT) Message-Id: <20030916.175225.72243697.imp@bsdimp.com> To: takawata@init-main.com From: "M. Warner Losh" In-Reply-To: <200309161543.h8GFhJg2072042@sana.init-main.com> References: <200309161543.h8GFhJg2072042@sana.init-main.com> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org cc: nork@freebsd.org 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 23:53:29 -0000 In message: <200309161543.h8GFhJg2072042@sana.init-main.com> Takanori Watanabe writes: : 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 Yes. that's a common idea. : == : .PATH: ${.CURDIR}/../../dev/ata : : KMOD= atacard : SRCS= ata-card.c : : SRCS+= bus_if.h device_if.h card_if.h power_if.h : : .include : === : : Then two question. : 1. May I commit this workaround? I think that the naming would be ata_pccard to fit other things in the kernel. : 2. Are there any people working on ATA for making it fully : moduler? hehe. I call mine ata_pccard :-) I tried having full ata module, but ran into some hairy build issues that I didn't want to take the time to sort out with soren's rototil going on in the background. Now that that is done, I'll have to revisit. Warner