From: Kristoffer E. <kri...@gm...> - 2007-10-09 18:01:00
|
Sorry, accidently sent the old message again. :( On Tue, 9 Oct 2007 19:12:23 +0900 Paul Mundt <le...@li...> wrote: > On Sun, Oct 07, 2007 at 12:46:48AM -0700, Kristoffer Ericson wrote: > > Since I've been debugging the pcmcia driver, I thought of something > > andriy said 1-2 years ago when pcmcia was buggy. In order for 2.6.17 > > to have working pcmcia we needed to add this patch below. > > > It was probably necessary because it forced all of the MMIO accesses to > the PIO address trapping/fixup that the old hd64461 I/O routines did. The > proper way to fix this is to get the port mapping right in the driver > itself and just stick with regular MMIO accesses. There's no reason why > this _requires_ non-MMIO, so it's purely a convenience thing. Thats what I thought, nice to have it confirmed though. The port mapping should be fixed, so the pcmcia driver most likely suffers from some API change. Before we created a "junk" IRQ by setting irq_desc[].chip = &blabla_type, Im guessing the irq_desc now requires an actual interrupt action now. > > If this actually fixes PCMCIA for you today, then it bears a closer > looking at, but at a quick glance I don't see it having any impact these > days. I tried it and it didn't do anything, so you are quite correct. Thanx for feedback |