[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFree86 4.1.0: call for help



On Fri, 1 Jun 2001, Ani Joshi wrote:

>
>
> On Fri, 1 Jun 2001, Kostas Gewrgiou wrote:
>
> > > __NR_pciconfig_iobase
> > >
> > > Another approach might be to make it only return an ioBase for known working
> > > configurations, is that feasible?
> >
> > We need a way to use multiple ioBases from inside xfree to fix the problem.
> > The best solution will be to disable ISA I/O for now and get a better fix
> > later on.
>
> No, that's not the solution.  The solution is to get the kernel to return
> the *correct* iobase for the sepecific devfn, right now it returns one for
> any and all pci devices.  Since these strange UniN boards have multiple
> bases, it should take into consideration the devfn (which it currently
> ignores totally).
>
> Michel, find out your 2 (or 3?) iobases and try each one (hardcode it in
> X, set it for ioBase_phys) and see which one works.  When you find the
> right one, add that to the kernel syscall, or find a generic way to find
> the mask which sets those on that bus apart from others.
>

And what will happen if someone has a second card in the pci bus ? IO will
still end up in the wrong place. We *need* a way to handle more than one
ioBase otherwise will get in trouble.

 Kostas



Reply to: