lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 23 Oct 2008 20:03:51 +0200
From:	Jean Delvare <khali@...ux-fr.org>
To:	lsorense@...lub.uwaterloo.ca (Lennart Sorensen)
Cc:	linux-kernel@...r.kernel.org, ben-linux@...ff.org
Subject: Re: scx200_i2c driver fails to detect any i2c devices in 2.6.26
 (new patch)

On Thu, 23 Oct 2008 13:55:52 -0400, Lennart Sorensen wrote:
> The scx200_i2c driver is missing the .class parameter, which means no
> i2c drivers are willing to probe for devices on the bus and attach to
> them.
> 
> This patch adds the missing .class parameter.
> 
> Signed-off-by: Len Sorensen <lsorense@...lub.uwaterloo.ca>
> 
> --- scx200_i2c.c	2008-05-20 09:39:24.000000000 -0400
> +++ scx200_i2c.c.new	2008-10-23 13:51:57.000000000 -0400
> @@ -81,6 +81,7 @@
>  
>  static struct i2c_adapter scx200_i2c_ops = {
>  	.owner		   = THIS_MODULE,
> +	.class		   = I2C_CLASS_HWMON | I2C_CLASS_SPD,
>  	.id		   = I2C_HW_B_SCX200,
>  	.algo_data	   = &scx200_i2c_data,
>  	.name	= "NatSemi SCx200 I2C",
> 

Applied, thanks. I'll also take care to get this patch into
2.6.27-stable and 2.6.26-stable.

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ