Commit Graph
8 Commits
Author SHA1 Message Date
Mark D. Studebaker b1f28efcd3 Fix SMP compilation.
Re: Intel 82801DA ICH4

    * To: "Alexander Pohl" <alexander.pohl@xxxxxxxxxxxx>
    * Subject: Re: Intel 82801DA ICH4
    * From: Jean Delvare <khali@xxxxxxxxxxxx>
    * Date: Tue, 22 Jul 2003 23:42:06 +0200
    * Cc: sensors@xxxxxxxxxxxxxxxxxxxx
    * In-reply-to: <32787.62.246.185.231.1058905435.squirrel@mailbox.TU-Berlin.DE>
    * References: <32803.62.246.166.13.1058892758.squirrel@mailbox.TU-Berlin.DE><20030722191127.7b077828.khali@linux-fr.org><32787.62.246.185.231.1058905435.squirrel@mailbox.TU-Berlin.DE>
    * Reply-to: sensors@xxxxxxxxxxxxxxxxxxxx

> I have some trouble compiling the module p4b_smbus.o and adding
> support for the i2c-bus. Adding support for pci-hotplug to my kernel
> was successful.
> (reference to ticket # 1345)
>
> Here the compiler output:
>
> cc  -D__SMP__ -DMODVERSIONS -include
> /lib/modules/2.4.20-hotplug/build/include/linux/modversions.h
> -D__KERNEL__-DMODULE -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer-fno-strict-aliasing
> -I/lib/modules/2.4.20-hotplug/build/include   -c -o p4b_smbus.o
> p4b_smbus.c p4b_smbus.c: In function `cleanup_module':
> p4b_smbus.c:263: incompatible type for argument 1 of `write_lock'
> p4b_smbus.c:268: invalid type argument of `->'
> make: *** [p4b_smbus.o] Error 1

Strange. I can compile it. I suspect the code isn't SMP-compliant. Try
forcing SMP=0 in Makefile.p4b, just to make sure this is the cause of
the failure. Once confirmed, Mark D. Studebaker will take a look at it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1975 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 15:16:23 +00:00
Mark D. Studebaker 67540c7d07 clear correct bits in config word
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1821 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-28 19:27:17 +00:00
Mark D. Studebaker fbe7555206 fix #define thinko
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1503 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-23 21:45:40 +00:00
Mark D. Studebaker 1803608878 fix hosed PCI ID's for ICH2 and ICH4. Now it should work.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1500 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-22 01:18:57 +00:00
Mark D. Studebaker 48148eb7ae fix compile for SMP and modversions by copying 'magic' stuff
from top-level makefile


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1489 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-10 16:57:27 +00:00
Mark D. Studebaker 4b316e9f0d add support for ICH4; patch from
Klaus Woltereck <kw42@gmx.de>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1404 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-28 02:49:46 +00:00
Mark D. Studebaker 592d6c4129 #ifdef around MODULE_LICENSE
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1331 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-27 03:43:32 +00:00
Mark D. Studebaker 55552ad444 kernel module to enable i801 2443 device on Asus P4B boards.
from Ilja Rauhut <rauhut@alwa02.physik.uni-siegen.de>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1329 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-27 02:47:04 +00:00