mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
(Phil) Some cleaning up and documentation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@461 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
e2eaa8a9a4
commit
f55a86c7db
5 files changed
+170
-13
No files matched your search
@@ -52,8 +52,6 @@
|
||||
#define PCI_DEVICE_ID_3DFX_VOODOO3 0x05
|
||||
#endif
|
||||
|
||||
/* insmod parameters */
|
||||
|
||||
static int voodoo3_init(void);
|
||||
static int voodoo3_cleanup(void);
|
||||
static int voodoo3_setup(void);
|
||||
@@ -72,7 +70,7 @@ static unsigned int state=0xcf980020;
|
||||
static unsigned char *mem;
|
||||
static int v3_num;
|
||||
|
||||
inline outlong(int off,unsigned int dat)
|
||||
inline void outlong(int off,unsigned int dat)
|
||||
{
|
||||
*((unsigned int*)(mem+off))=dat;
|
||||
}
|
||||
@@ -83,7 +81,7 @@ inline unsigned int readlong(int off)
|
||||
return *((unsigned int*)(mem+off));
|
||||
}
|
||||
|
||||
inline out(void)
|
||||
inline void out(void)
|
||||
{
|
||||
outlong(0x78,state);
|
||||
udelay(10);
|
||||
|
||||
Reference in new issue
Block a user