Messages in this thread |  | | | Date | Sun, 8 Feb 1998 06:31:09 -0800 (PST) | | From | Trevor Johnson <> | | Subject | patch for seeq8005.c in 2.1.85 (was Re: Linux and POST) |
| |
Tom Dyas wrote:
> Actually neither. It uses it as an arbirary place to dump random data for > the __SLOW_DOWN_IO macro. See source file linux/include/asm-i386/io.h for > more information. > > The inb_p, outb_p macros use it to add a "pause" of sorts.
I notice there's also a SLOW_DOWN_IO which is defined in <asm/io.h> for MIPS, Alpha, and SPARC-64, but not for ARM, i386, m68k or PowerPC. This is used in drivers/net/seeq8005.c and (if _LINUX_DELAY_H is not defined) in drivers/net/eepro100.c. When I couldn't compile seeq8005.c, I was told that using udelay() from <asm/delay.h> would be better. Here' a patch to seeq8005.c so it will use udelay() when _LINUX_DELAY_H is defined, so it will, hopefully, compile on the architectures which lack SLOW_DOWN_IO.
begin 644 seeq8005-2.1.85.diff M+2TM('-E97$X,#`U+F,M,BXQ+C@U"4UO;B!.;W8@(#,@,#DZ,CDZ,S`@,3DY M-PHK*RL@<V5E<3@P,#4N8PE3=6X@1F5B("`X(#`V.C(P.C`R(#$Y.3@*0$`@ M+30S+#8@*S0S+#<@0$`*("-I;F-L=61E(#QL:6YU>"]I;FET+F@^"B`C:6YC M;'5D92`\87-M+W-Y<W1E;2YH/@H@(VEN8VQU9&4@/&%S;2]B:71O<',N:#X* M*R-I;F-L=61E(#QA<VTO9&5L87DN:#X*("-I;F-L=61E(#QA<VTO:6\N:#X* M("-I;F-L=61E(#QA<VTO9&UA+F@^"B`C:6YC;'5D92`\;&EN=7@O97)R;F\N M:#X*0$`@+3(P.2PQ,"`K,C$P+#$U($!`"B`C96YD:68*(`H@"6]U='<H(%-% M15%#1D<R7U)%4T54+"!314517T-&1S(I.PD)"0DO*B!R97-E="!T:&4@8V%R M9"`J+PHM"5-,3U=?1$]73E])3SL)"0D)"0D)+RH@:&%V92!T;R!W86ET(#1U M<R!A9G1E<B!A(')E<V5T("T@<VAO=6QD(&)E(&9I>&5D("HO"BL**R-I9F1E M9B!?3$E.55A?1$5,05E?2`HK("`@("`@("!U9&5L87DH-"D[("`@+RH@:&%V M92!T;R!W86ET(#0@=7,@869T97(@82!R97-E="`M('-H;W5L9"!B92!F:7AE M9"`J+PHK(V5L<V4**R`@("`@("`@4TQ/5U]$3U=.7TE/.PH@"5-,3U=?1$]7 M3E])3SL*(`E33$]77T1/5TY?24\["B`)4TQ/5U]$3U=.7TE/.PHK(V5N9&EF M"B`);W5T=R@@4T5%44--1%]3151?04Q,7T]&1BP@4T5%45]#340I.PH@"0H@ 2"6EF("AN971?9&5B=6<I('L* ` end ___ Trevor Johnson
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
|  |