Messages in this thread | | | Date | Mon, 15 Dec 2003 10:26:11 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: PCI Express support for 2.4 kernel |
| |
This really isn't appropriate. The
With PCI-E, config space accessed through memory. Each device gets its own 4k memory mapped config, total 256M for all devices.
thing _really_ does not work on x86, since 256M of IO mapping is _way_ way too much.
You _really_ need to allocate a FIXMAP entry (just one), and then use
set_fixmap_nocache(FIX_PCIEXPRESS, phys);
to set it up for each device.
That's actually going to be a lot simpler than what you do now.
Linus
- 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/
| |