Re: 2.6.17-mm4
From: Ingo Molnar <hidden>
Date: 2006-06-30 09:54:51
Also in:
lkml
* Alan Cox [off-list ref] wrote:
Ar Gwe, 2006-06-30 am 01:05 +0200, ysgrifennodd Ingo Molnar:quoted
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.
ok. Is that the standard way of dealing with potentially intrusive probes? Ingo