On Mon, Sep 18, 2006 at 11:53:39PM -0400, Jeff Garzik wrote: > We can't really know which controllers have a non-linear port mapping, > because that is dependent on both the silicon and whether or not the > chip is connected to port X[0-31]. The BIOS knows this, of course :) I noticed that in my case, when the wrong ioports were probed (base + port_idx*offset) for port_idx being 2/3 - all of the return values were zero, instead of the expected values. You could probably use this to detect cases where PI claims a port is not present, but it really is. -- Robin Hugh Johnson E-Mail : robbat2@xxxxxxxxxx GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
Attachment:
pgp1YGH5pKF8X.pgp
Description: PGP signature