linux_dsm_epyc7002/drivers/i2c/busses
Jean Delvare fa63cd56d2 i2c-piix4: Various cleanups and minor fixes
The i2c-piix4 driver was used recently as a model to write a new SMBus
host controller driver and this made me realize that the code of this
old driver wasn't exactly good. So, here are many cleanups and minor
fixes to this driver, so that these minor mistakes aren't duplicated
again:

* Delete unused structure.
* Delete needless forward function declaration.
* Properly announce the SMBus host controller as we find it.
* Spell it SMBus not SMB.
* Return -EBUSY instead of -ENODEV when the I/O region is already in
  use.
* Drop useless masks on the 7-bit address and the R/W bit.
* Reject block transaction requests with an invalid block length.
* Check and report block transaction replies with an invalid block
  length.
* Delete a useless comment.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-07-14 22:38:25 +02:00
..
i2c-acorn.c make i2c-acorn tristate 2007-07-15 16:40:52 -07:00
i2c-ali15x3.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-ali1535.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-ali1563.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-amd756-s4882.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-amd756.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-amd8111.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-at91.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-au1550.c [MIPS] Alchemy: SMBus resource fix 2008-05-12 16:46:50 +01:00
i2c-bfin-twi.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-davinci.c i2c-davinci: Initialize cmd_complete sooner 2008-07-14 22:38:21 +02:00
i2c-elektor.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-gpio.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-hydra.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-i801.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-ibm_iic.c i2c-ibm_iic: Support building as an of_platform driver 2008-04-22 22:16:47 +02:00
i2c-ibm_iic.h i2c-ibm_iic: Whitespace cleanup 2008-01-27 18:14:45 +01:00
i2c-iop3xx.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-iop3xx.h [PATCH] i2c-iop3xx: Avoid addressing self 2006-07-12 15:43:06 -07:00
i2c-ixp2000.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-mpc.c i2c-mpc: Compare to NO_IRQ instead of zero 2008-05-11 20:37:04 +02:00
i2c-mv64xxx.c [I2C] i2c-mv64xxx: Don't set i2c_adapter.retries 2008-01-26 15:04:01 +00:00
i2c-nforce2-s4985.c i2c-nforce2: Add support for multiplexing on the Tyan S4985 2008-07-14 22:38:21 +02:00
i2c-nforce2.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-ocores.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-omap.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-parport-light.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-parport.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02: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-pasemi: use i2c_add_numbered_adapter() 2008-01-27 18:14:44 +01:00
i2c-pca-isa.c i2c-algo-pca: Extend for future drivers 2008-04-22 22:16:46 +02:00
i2c-pca-platform.c i2c: Add platform driver on top of the new pca-algorithm 2008-04-22 22:16:46 +02:00
i2c-piix4.c i2c-piix4: Various cleanups and minor fixes 2008-07-14 22:38:25 +02:00
i2c-pmcmsp.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-pnx.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-powermac.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-pxa.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-s3c2410.c I2C: S3C2410: Add MODULE_ALIAS() for s3c2440 device. 2008-07-01 14:30:38 +01:00
i2c-sh7760.c i2c: Renesas SH7760 I2C master driver 2008-04-22 22:16:47 +02:00
i2c-sh_mobile.c i2c: New driver for the SuperH Mobile I2C bus controller 2008-04-22 22:16:49 +02:00
i2c-sibyte.c i2c-sibyte: Mark i2c_sibyte_add_bus() as static 2008-05-11 20:37:05 +02:00
i2c-simtec.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-sis96x.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-sis630.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-sis5595.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-stub.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-taos-evm.c i2c: Convert most new-style drivers to use module aliasing 2008-04-29 23:11:40 +02:00
i2c-tiny-usb.c i2c-tiny-usb: New VID/PID pair 2008-04-11 12:07:05 +02:00
i2c-versatile.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-via.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-viapro.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-voodoo3.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00
Kconfig i2c: Group bus drivers by type 2008-07-14 22:38:23 +02:00
Makefile i2c: Group bus drivers by type 2008-07-14 22:38:23 +02:00
scx200_acb.c i2c/scx200_acb: Don't use 0 as NULL pointer 2008-04-22 22:16:48 +02:00
scx200_i2c.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00