kernel_optimize_test/drivers/i2c/busses
Auke Kok 44c10138fd PCI: Change all drivers to use pci_device->revision
Instead of all drivers reading pci config space to get the revision
ID, they can now use the pci_device->revision member.

This exposes some issues where drivers where reading a word or a dword
for the revision number, and adding useless error-handling around the
read. Some drivers even just read it for no purpose of all.

In devices where the revision ID is being copied over and used in what
appears to be the equivalent of hotpath, I have left the copy code
and the cached copy as not to influence the driver's performance.

Compile tested with make all{yes,mod}config on x86_64 and i386.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:10 -07:00
..
i2c-acorn.c [ARM] Acorn: move the i2c bus driver into drivers/i2c 2007-03-04 20:40:50 +00:00
i2c-ali15x3.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-ali1535.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-ali1563.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00
i2c-amd756-s4882.c i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
i2c-amd756.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
i2c-amd8111.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-at91.c i2c-at91: compile fix (IS_ERR) 2007-05-10 09:26:53 -07:00
i2c-au1550.c i2c: Constify i2c_algorithm declarations, part 2 2006-09-26 15:38:52 -07:00
i2c-au1550.h
i2c-bfin-twi.c i2c: Blackfin Two Wire Interface driver 2007-05-01 23:26:32 +02:00
i2c-elektor.c i2c-elektor: Port to the new device driver model 2007-05-01 23:26:30 +02:00
i2c-gpio.c i2c: Bitbanging I2C bus driver using the GPIO API 2007-05-01 23:26:34 +02:00
i2c-hydra.c i2c: Discard the i2c algo del_bus wrappers 2006-12-10 21:21:33 +01:00
i2c-i801.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-i810.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00
i2c-ibm_iic.c i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
i2c-ibm_iic.h fix file specification in comments 2006-10-03 23:01:26 +02:00
i2c-iop3xx.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-02-19 13:18:39 -08:00
i2c-iop3xx.h [PATCH] i2c-iop3xx: Avoid addressing self 2006-07-12 15:43:06 -07:00
i2c-isa.c i2c: Move i2c-isa-only exported symbol declarations 2007-05-01 23:26:32 +02:00
i2c-ixp4xx.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-ixp2000.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-mpc.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
i2c-mv64xxx.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-nforce2.c i2c-nforce2: Add support for the MCP61 and MCP65 2007-05-01 23:26:29 +02:00
i2c-ocores.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
i2c-omap.c i2c-omap: Switch to static adapter numbering 2007-05-01 23:26:32 +02:00
i2c-parport-light.c i2c-parport-light: Port to the new device driver model 2007-05-01 23:26:30 +02:00
i2c-parport.c layered parport code uses parport->dev 2007-05-08 11:15:05 -07:00
i2c-parport.h i2c-parport: Add support for One For All remote JP1 interface 2007-02-13 22:09:02 +01:00
i2c-pasemi.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-pca-isa.c Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2007-05-04 18:04:29 -07:00
i2c-piix4.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-pnx.c i2c-pnx: Fix interrupt handler, get rid of EARLY config option 2007-01-04 13:07:03 +01:00
i2c-powermac.c i2c: completion header cleanups 2007-02-13 22:09:00 +01:00
i2c-prosavage.c i2c: Discard the i2c algo del_bus wrappers 2006-12-10 21:21:33 +01:00
i2c-pxa.c [ARM] 4403/1: Make the PXA-I2C driver work with lockdep validator 2007-05-26 10:09:39 +01:00
i2c-rpx.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
i2c-s3c2410.c i2c-s3c2410: Fix build warning 2007-05-22 19:49:16 +02:00
i2c-savage4.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00
i2c-sibyte.c [PATCH] i2c-sibyte: Fix modular build breakage 2006-09-29 09:34:17 -07:00
i2c-simtec.c i2c: New Simtec I2C bus driver 2007-05-01 23:26:34 +02:00
i2c-sis96x.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
i2c-sis630.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
i2c-sis5595.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
i2c-stub.c i2c: Constify i2c_algorithm declarations, part 2 2006-09-26 15:38:52 -07:00
i2c-tiny-usb.c i2c-tiny-usb: Fix truncated adapter name 2007-05-22 19:49:16 +02:00
i2c-versatile.c i2c: New ARM Versatile/Realview bus driver 2006-12-10 21:21:32 +01:00
i2c-via.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
i2c-viapro.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
i2c-voodoo3.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00
Kconfig i2c: New i2c-tiny-usb bus driver 2007-05-01 23:26:35 +02:00
Makefile i2c: New i2c-tiny-usb bus driver 2007-05-01 23:26:35 +02:00
scx200_acb.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
scx200_i2c.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00