Messages in this thread | | | Date | Tue, 01 Aug 2000 07:42:59 +1000 | From | Andrew Morton <> | Subject | Re: 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/
| |