Patch/resubmit(2.5.50): Eliminate pci_dev.driver_data

From: Adam J. Richter (adam@yggdrasil.com)
Date: Fri Nov 29 2002 - 20:42:41 EST


        This is the third time I'm posting this patch. The only
comments anyone has made about it were from Greg Kroah-Hartmann, which
were in favor of integrating it. Can we please get this integrated
already? I want to try some more changes to pci.h and I'd rather keep
the patches separate.

        To review, this patch deletes pci_dev.driver_data, using the
existing pci_dev.device.driver_data field instead, thereby shrinking
struct pci_dev by four bytes on 32-bit machines. The few device
drivers that attempted to directly reference pci_dev.driver_data were
fixed in a patch of mine that Jeff Garzik got into 2.5.45. Also,
making this change should help with memory allocation improvements in
the future, although that's a separate issue.

-- 
Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."


- 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/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:23 EST