From: Glenn H. <gh...@c2...> - 2001-02-13 22:19:08
|
On 13-Feb-01, Robert wrote: > On Tue, Feb 13, 2001 at 05:45:39PM +0100, Glenn Hisdal wrote: >>> I did some tests with printing yesterday. >>> If I enable DEBUG in drivers/parport/parport_amiga.c, >>> printing works. >>> Without DEBUG disabled it only prints garbage (when printing >>> postscript files). > Funny thing... Before i wrote that printig was kind'a ok ... now no > matter > what i do it's all screwed really bad =o(( > I tried define DPRINTK mb() and enabled DEBUG and it doesn't change a > thing... ok. #define DPRINTK mb() didn't work here either, but it does work with DEBUG enabled. Use the #define DPRINTK printk(...) that is allready in the file when using DEBUG. (don't change it to mb() ). Also, I have not tried to compile it as a module, so I don't know if that works here. iirc we used #CONFIG_M68K_PRINTER=Y in 2.2.x to make printing work. When this is enabled functions from drivers/char/lp_m68k.c is used (hope I remembered the filename correctly). This file does not exist in 2.3. It has got it's own init function for example. It could probably be something in there that's needed to make printing work properly. - glenn |