Re: [PATCH 0/4] PCI legacy I/O port free driver (take4)
From: Jeff Garzik
Date: Thu Mar 02 2006 - 14:59:40 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/