The thing I liked about the separate structures for function pointers for
conf1/conf2 is that I could at least _see_ that the IDE driver might some
day be changed to just do
..
conf2_struct->pci_config_read_byte(..)
..
even if (judging by past performance) this would never happen ;)
This is why I'd like to continue with the notion of having a well-defined
structure that contains all the pointers (and one default case). Now,
shrinking those structures down to 2 entries instead of 6 sounds like a
fine idea to me, but short-circuiting them internally sounds bad because
it loses the ability to use the pci config space functions independently
of each other.
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/