From: <cah...@po...> - 2002-12-24 11:15:03
|
On Tue, 24 Dec 2002, Geert Uytterhoeven wrote: > On Tue, 24 Dec 2002, [iso-8859-2] Krystian Bac=B3awski wrote: > > On Tue, 24 Dec 2002, Geert Uytterhoeven wrote: > > > On Tue, 24 Dec 2002, [iso-8859-2] Krystian Bac=B3awski wrote: > > > > What is the formal difference between inb_p and inb. Does inb_p has= a > > > > special purpose or it's a common alias for inb. I ask because I not= iced > > > > that net/8390.c uses inb_p and outb_p where net/apne.c uses inb and= outb.=20 > > >=20 > > > The *_p() variants contain some extra delay. This was/is needed on so= me very > > > old ISA implementations. Just ignore them for Amiga. > >=20 > > Can they be replaced by inb/outb in net/8390.c or better leave it alone= ? >=20 > Just leave them in 8390.c. And `#define inb_p inb' etc. in asm/io.h (isn'= t it > already done that way?). Eeergghh... Yes, it is :) =20 > > BTW. How are ide-interrupts serviced. The beginning is in > > arch/ppc/amiga/amiints.c, and the end in drivers/ide/gayle.c. What part= of > > kernel should I read ? >=20 > Euh, what do you want to know? I think those two files contain all you ne= ed to > know. I don't understand what there is gayle_intr_ack for. Hmm... I even don't understand how exactly interrupts work under linux. I thought that when gayle interrupt is declared devices list is browsed in order to find source of interrupt. After that interrupt is redirected to driver code. I ask because I don't know where to put FastATA registers switch code, and I try to analyze how exactly gayle's interrupts work, and how it interacts with code in ide.c, ide-disk.c, ide-probe.c. Regards Krystian Baclawski =0D=0A=0D=0A***************r-e-k-l-a-m-a**************=0D=0A=0D=0AMasz do=B6=E6 p=B3acenia prowizji bankowi ?=0D=0AmBank - za=B3=F3=BF konto=0D=0Ahttp://epieniadze.onet.pl/mbank |