Re: 2.6.17-mm4

From: Arjan van de Ven
Date: Fri Jun 30 2006 - 05:52:42 EST


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 :)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/