* oops in i2c-rpx.c !
@ 2003-11-23 14:40 Steven Scholz
0 siblings, 0 replies; only message in thread
From: Steven Scholz @ 2003-11-23 14:40 UTC (permalink / raw)
To: linuxppc-embedded@lists•linuxppc.org
[-- Attachment #1: Type: text/plain, Size: 562 bytes --]
Hi there,
the attached trival patch fixes a problem when using i2c-rpx.c without applying
the "microcode relocation patch".
Thanks.
BTW: Why is this driver not in linuxppc-2.4 but in linuxppc_2_4_devel?
--
Steven Scholz
imc Measurement & Control imc Meßsysteme GmbH
Voltastr. 5 Voltastr. 5
13355 Berlin 13355 Berlin
Germany Deutschland
fon: +49 30 467090-0 Tel: 030 / 467090-0
fax: +49 30 4631576 fax: 030 / 4631576
[-- Attachment #2: i2c-rpx.patch --]
[-- Type: text/plain, Size: 632 bytes --]
Index: drivers/i2c/i2c-rpx.c
===================================================================
RCS file: /cvsroot/linuxppc_2_4_devel/drivers/i2c/i2c-rpx.c,v
retrieving revision 1.2
diff -u -r1.2 i2c-rpx.c
--- drivers/i2c/i2c-rpx.c 2003/10/30 00:32:55 1.2
+++ drivers/i2c/i2c-rpx.c 2003/11/23 14:37:11
@@ -35,10 +35,12 @@
data->iip = (iic_t *)&cp->cp_dparam[PROFF_IIC];
+#ifdef USE_IIC_PATCH
/* Check for and use a microcode relocation patch.
*/
if ((data->reloc = data->iip->iic_rpbase))
data->iip = (iic_t *)&cp->cp_dpmem[data->iip->iic_rpbase];
+#endif
data->i2c = (i2c8xx_t *)&(immap->im_i2c);
data->cp = cp;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-11-23 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-23 14:40 oops in i2c-rpx.c ! Steven Scholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox