Hi, >That's not pcmcia_common_align()s fault -- but this line in alloc_io_space: > > align = (*base) ? (lines ? 1<<lines : 0) : 1; > >Should we try replacing it with > > align = lines ? 1 << lines : 0; > >unconditionally?
In this case, *base = 0x300 So align = (*base) ? (lines ? 1<<lines : 0) : 1; is correct. Actually, lines defines the max ioport, not align. if lines = 10, the max ioport is 0x3ff. if lines = 16, the max ioport is 0xffff. _______________________________________________ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia