Re: simple pnp bios io resources bug makes system unusable

Adam Belay (ambx1@neo.rr.com)
Tue, 1 Jul 2003 22:37:39 +0000


On Tue, Jul 01, 2003 at 01:54:10AM -0400, CarlosRomero wrote:
> my one line patch just skips an io registration with a simple sanity check.
> never once have i heard a device with an ioport of 0x0.

AT DMA controller as stated in my other message, is one example.

> question is why it happens and only once.

It only happens once because in 99% of cases the entire device is disabled,
not just an individual range.

> (also noticing cutoff in /sys/devices/pci0/*/name)

There is a hard limit for device name length, see include/linux/device.h.
That is probably the cause.

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