In my opinion that last one should be "bail out if any of the
addressing type bits is still set".
The PLX (which I understand is the PCI bridge for the card) is capable
of mapping stuff into IO space as well as into memory space. It will
simply do whatever the bit is set at. You're supposed to program the
eeprom in such a way that the bit becomes read-only, but it is
certainly writeable in hardware, and the device will honour whatever
it is set at.
Telling the chip you want a 64k IOmapped window is probably going to
crash the machine sooner or later.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* ------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/