Re: 2.6.17-mm4

Arjan van de Ven
2006-06-30T09:54:13Z

On Fri, 2006-06-30 at 11:07 +0100, Alan Cox wrote:
> Ar Gwe, 2006-06-30 am 01:05 +0200, ysgrifennodd Ingo Molnar:
> > it does things like:
> >
> > static const unsigned long qd_port[2] = { 0x30, 0xB0 };
> > static const unsigned long ide_port[2] = { 0x170, 0x1F0 };
> >
> > [...]
> > unsigned long port = qd_port[i];
> > [...]
> > r = inb_p(port);
> > outb_p(0x19, port);
> > res = inb_p(port);
> > outb_p(r, port);
> >
> > so it reads/writes port 0x30 and 0xb0. Are those used by something else
> > on modern hardware?
>
> Not especially. Perhaps the best thing to do here would be to make qdi
> compiled into the kernel (as opposed to modular) only do so if
> "probe_qdi=1" or similar is set.

another quick hack is to check for vesa lb... eg if pci is present, skip
this thing entirely :)