Messages in this thread | | | Date | Thu, 02 Mar 2006 15:01:47 -0500 | From | Jeff Garzik <> | Subject | Re: [PATCH 0/4] PCI legacy I/O port free driver (take4) |
| |
Russell King wrote: > Nevertheless, my basic point that the no_ioport solution only addresses > one problem area, while being far too late for the other methods still > stands.
Agreed.
FWIW, as a PCI driver writer I've always wanted a one-call-does-it-all interface, where you pass in a struct that describes * what BARs to map (pci_iomap/ioremap, pci_request_regions) * irq handler (request_irq) * enable bus mastering, MWI (pci_set_master, pci_set_mwi)
to collapse the billion-and-one pci_xxx calls into a single one that replaces pci_enable_device(dev) with pci_up(dev, &info).
Jeff
- 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/
| |