lkml.org 
[lkml]   [2001]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectixj.o vs ixj_cs.o
From
Date
If CONFIG_PCMCIA=y, CONFIG_PHONE!=n and CONFIG_IXJ=m, the resultant
ixj.o will support the (PCMCIA) internet phonecard, provided it is
insmod(8)ed as ixj_cs.o.

As such, were make modules_install (iff the above config) to:

mkdir $(MODDIR)/kernel/drivers/telephony/pcmcia
ln -s ../ixj.o $(MODDIR)/kernel/drivers/telephony/pcmcia/ixj_cs.o

things would Just Work.

But that just doesn't seem like the right solution.

Looks like were $(TOPDIR)/drivers/telephon/pcmcia to exist with
a suitable makefile to cp ../ixj.o ixj_cs.o iff the above config
things would also just work.

But I suspect ixj.c needs to be broken out, perhaps to ixj.c,
ixj-main.c and pcmcia/ixj_cs.c? Or just a pcmcia/ixj_cs.c which
links against ../ixj.o?

What is the proper solution?

(And, for that matter, is this essentially the same problem the drm
tree has wrt modules?)

-JimC
--
James H. Cloos, Jr. <http://jhcloos.com/public_key> 1024D/ED7DAEA6
<cloos@jhcloos.com> E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.021 / U:6.396 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site