* [PATCH] I2C: Support for sparc64
@ 2005-05-19 6:25 Aurelien Jarno
2005-05-19 6:25 ` Aurelien Jarno
2005-05-19 6:25 ` Jean Delvare
0 siblings, 2 replies; 3+ messages in thread
From: Aurelien Jarno @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Hi all,
Please find attached a patch that was send to me by a Debian user to
make possible the build of the i2c modules on a sparc64.
Bye,
Aurelien
--
.''`. Aurelien Jarno GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
-------------- next part --------------
--- i2c-2.9.0.orig/Makefile
+++ i2c-2.9.0/Makefile
@@ -142,6 +142,12 @@
-mcmodel=kernel -fno-reorder-blocks -finline-limit 00 -fno-strength-reduce
endif
+ifeq ($(MACHINE),sparc64)
+MODCFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \
+ -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare \
+ -Wa,--undeclared-regs
+endif
+
ifeq ($(SMP),1)
MODCPPFLAGS += -D__SMP__
endif
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] I2C: Support for sparc64
2005-05-19 6:25 [PATCH] I2C: Support for sparc64 Aurelien Jarno
@ 2005-05-19 6:25 ` Aurelien Jarno
2005-05-19 6:25 ` Jean Delvare
1 sibling, 0 replies; 3+ messages in thread
From: Aurelien Jarno @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
On Mon, Jan 03, 2005 at 06:33:45PM +0100, Jean Delvare wrote:
> Is there actually any supported device on Sparc?
The person who send me that patch use i2c on sparc to get an em8300 card
working (MPEG-1 and MPEG-2 decoding card). Some chips on the card have
to be accessed via i2c, and thus the i2c modules are needed.
That also explain why he also send me the patch only for i2c and not for
lm-sensors, however I think the patch could also be applied to
lm-sensors.
> (I happen to have a Sun Blade 100 at work and have always wondered if
> there were any hardware monitoring device inside.)
I don't think so, anyway you can add sensors by yourself, and access
them via i2c-parport :) (if your Sparc has a parallel port, some as mine
have one).
--
.''`. Aurelien Jarno GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] I2C: Support for sparc64
2005-05-19 6:25 [PATCH] I2C: Support for sparc64 Aurelien Jarno
2005-05-19 6:25 ` Aurelien Jarno
@ 2005-05-19 6:25 ` Jean Delvare
1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Hi Aurelien,
> Please find attached a patch that was send to me by a Debian user to
> make possible the build of the i2c modules on a sparc64.
Will apply, thanks.
Is there actually any supported device on Sparc?
(I happen to have a Sun Blade 100 at work and have always wondered if
there were any hardware monitoring device inside.)
--
Jean Delvare
http://khali.linux-fr.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-19 6:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 6:25 [PATCH] I2C: Support for sparc64 Aurelien Jarno
2005-05-19 6:25 ` Aurelien Jarno
2005-05-19 6:25 ` Jean Delvare
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.