lkml.org 
[lkml]   [1996]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NE2000 Module Problem (Try this patch)
> On Mon, 9 Sep 1996, Andrew E. Mileski wrote:
>
> > > No, you use the real port address.
> > >
> > > "cat /proc/pci" is your friend. Look for your NE2000 card, remember the
> > > I/O address it's been assigned, and give that to insmod.
> >
> > Sorry to disappoint you - I'm not that green :-)
> > I of course tried this long before I started this thread.

I have made this patch to drivers/net/ne.c on linux 2.0.18. I don't have a
ne2000 PCI adaptor (Only one on a server I can't reboot :-( ). The change
is simply to remove the dangerous probing from ne_probe() when compiled as
a module and let the module try to probe. If it is PCI, it will try. If it
fails to locate a PCI adaptor (ne2000), then it will print a message.

Anyone cares to try it. All I can say is that my ISA adaptor compiled as a
module still works! If it works, maybe it should be sent to Paul
(maintainer of this module I think). I don't think he has one adaptor like
this anyway.

begin 644 ne2000-pci.patch
M+2TM(&QI;G5X+V1R:79E<G,O;F5T+VYE+F]R:6<)36]N(%-E<"`@.2`Q-SHT
M,CHP,B`Q.3DV"BLK*R!L:6YU>"]D<FEV97)S+VYE="]N92YC"4UO;B!397`@
M(#D@,C`Z,38Z,#<@,3DY-@I`0"`M,3@W+#<@*S$X-RPQ-2!`0`H@"7T*("`@
M("!]"B`C96YD:68@("\J(&1E9FEN960H0T].1DE'7U!#22D@*B\*+0HK(VEF
M9&5F($U/1%5,10HK("`@('L**PES=&%T:6,@8VAA<B!T;VQD/3`["2\O(%=E
M(&]N;'D@8V]M<&QA:6X@;VYC90HK"6EF("@A=&]L9"D@('L**PD@("`@<')I
M;G1K*$M%4DY?3D]424-%(")N92YC.B!-;V1U;&4@875T;W!R;V)I;F<@;F]T
M(&%L;&]W960N($%P<&5N9"!<(FEO/3!X3DY.7"(@=F%L=64H<RDN7&XB*3L*
M*PD@("`@=&]L9"`](#$["BL)?0HK("`@('T**R-E;'-E"B`@("`@+RH@3&%S
M="!R97-O<G0N(%1H92!S96UI+7)I<VMY($E302!A=71O+7!R;V)E+B`J+PH@
M("`@(&9O<B`H:2`](#`[(&YE=&-A<F1?<&]R=&QI<W1;:5T[(&DK*RD@>PH@
M"6EN="!I;V%D9'(@/2!N971C87)D7W!O<G1L:7-T6VE=.PI`0"`M,3DV+#<@
M*S(P-"PW($!`"B`):68@*&YE7W!R;V)E,2AD978L(&EO861D<BD@/3T@,"D*
M(`D@("`@<F5T=7)N(#`["B`@("`@?0HM"BLC96YD:68*("`@("!R971U<FX@
M14Y/1$56.PH@?0H@(V5N9&EF"D!`("TW,#0L,3$@*S<Q,BPV($!`"B`)"61E
M=BT^:7)Q(#T@:7)Q6W1H:7-?9&5V73L*(`D)9&5V+3YB87-E7V%D9'(@/2!I
M;UMT:&ES7V1E=ET["B`)"61E=BT^:6YI="`](&YE7W!R;V)E.PHM"0EI9B`H
M:6];=&AI<U]D979=(#T](#`I("!["BT)"0EI9B`H=&AI<U]D978@(3T@,"D@
M8G)E86L[("\J(&]N;'D@8V]M<&QA:6X@;VYC92`J+PHM"0D)<')I;G1K*$M%
M4DY?3D]424-%(")N92YC.B!-;V1U;&4@875T;W!R;V)I;F<@;F]T(&%L;&]W
M960N($%P<&5N9"!<(FEO/3!X3DY.7"(@=F%L=64H<RDN7&XB*3L*+0D)"7)E
M='5R;B`M15!%4DT["BT)"7T*(`D):68@*')E9VES=&5R7VYE=&1E=BAD978I
M("$](#`I('L*(`D)"7!R:6YT:RA+15).7U=!4DY)3D<@(FYE+F,Z($YO($Y%
M*C`P,"!C87)D(&9O=6YD("AI+V\@/2`P>"5X*2Y<;B(L(&EO6W1H:7-?9&5V
M72D["B`)"0EI9B`H9F]U;F0@(3T@,"D@<F5T=7)N(#`["2\J($=O="!A="!L
-96%S="!O;F4N("HO"@``
`
end


--------------------------------------------------------
Jacques Gelinas (jacques@solucorp.qc.ca)
Linuxconf: The ultimate administration system for Linux.
see http://www.solucorp.qc.ca:/linuxconf



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