lkml.org 
[lkml]   [2000]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.0-pre5 Replacement for make modules_install
Keith Owens wrote:
>
> - if [ -f $$MODLIB/net/3c59x.o ]; then \
> - mkdir -p $$MODLIB/pcmcia; \
> - ln -nfs ../net/3c59x.o $$MODLIB/pcmcia/3c575_cb.o; \
> - MODULES="$$MODULES 3c575_cb.o"; fi; \

I'm glad to see this piece of crud disappear, but what will replace it?

The problem is that the new 3c59x.o supports both Cardbus and PCI/EISA
NICs. It is possibly unique in this respect.

The PCMCIA package specifically looks in
/lib/modules/$(uname -r)/pcmcia and by default
it uses insmod, not modprobe.

So we have this single driver sitting in net/3c59x.o, and a package
which expects to find it in pcmcia/3c575_cb.o.

I believe one solution is to

1: make cardmgr use `modprobe 3c575_cb' and
not `insmod /lib/modules/.../3c575_cb.o'.
This is done by giving cardmgr the `-d' option.

2: Alias 3c575_cb onto 3c59x via modules.conf.

This is still pretty ugly and I'd be interested in
any suggestions for improvement.

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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.085 / U:2.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site