The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Re: [PATCH] i2c-piix4: support multiple PIIX4 SMBus hosts
@ 2012-06-04  7:16 Jean Delvare
  2012-06-05  1:49 ` [PATCH 0/3] Multiple piix4-compatible SMBus support Andrew Armenia
  0 siblings, 1 reply; 11+ messages in thread
From: Jean Delvare @ 2012-06-04  7:16 UTC (permalink / raw)
  To: Andrew Armenia; +Cc: Ben Dooks, Wolfram Sang, linux-i2c, linux-kernel

Hi Andrew,

On Fri,  1 Jun 2012 14:16:12 -0400, Andrew Armenia wrote:
> Some AMD chipsets have a second PIIX4-compatible host adapter accessible
> through a second set of registers (e.g. SP5100). Moved the global base
> address variable to an extension of struct i2c_adapter; added logic
> to detect chipset known to have this feature. Tested on ASUS KCMA-D8 board.

This would be much easier to review if you would split this change into
two patches, one moving the per-adapter settings out of the global
scope, and one adding support for the second base address.

Furthermore, the use of container_of seems inappropriate here, as there
is a proper interface for per-adapter attributes: i2c_set_adapdata() and
i2c_get_adapdata().

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-06-16  6:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20120613094739.360967aa@endymion.delvare>
2012-06-13 16:59 ` [PATCH 0/3] i2c-piix4: Multiple piix4-compatible SMBus support (revised) Andrew Armenia
2012-06-13 16:59   ` [PATCH 1/3] i2c-piix4: eliminate piix4_smba global variable Andrew Armenia
2012-06-13 19:37     ` Jean Delvare
2012-06-13 16:59   ` [PATCH 2/3] i2c-piix4: separate registration and probing code Andrew Armenia
2012-06-14 19:38     ` Jean Delvare
2012-06-13 16:59   ` [PATCH 3/3] i2c-piix4: support AMD auxiliary SMBus controller Andrew Armenia
2012-06-15  8:31     ` Jean Delvare
2012-06-15 13:43       ` Andrew Armenia
2012-06-16  6:51         ` Jean Delvare
2012-06-04  7:16 [PATCH] i2c-piix4: support multiple PIIX4 SMBus hosts Jean Delvare
2012-06-05  1:49 ` [PATCH 0/3] Multiple piix4-compatible SMBus support Andrew Armenia
2012-06-05  1:49   ` [PATCH 2/3] i2c-piix4: separate registration and probing code Andrew Armenia
2012-06-12 12:10     ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox