Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 17:52:25 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        takawata@init-main.com
Cc:        nork@freebsd.org
Subject:   Re: Does anyone work on making ATA moduler?
Message-ID:  <20030916.175225.72243697.imp@bsdimp.com>
In-Reply-To: <200309161543.h8GFhJg2072042@sana.init-main.com>
References:  <200309161543.h8GFhJg2072042@sana.init-main.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200309161543.h8GFhJg2072042@sana.init-main.com>
            Takanori Watanabe <takawata@init-main.com> 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 <bsd.kmod.mk>
: ===
: 
: 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030916.175225.72243697.imp>