(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:
Philip Edelbrock committed 1999-05-12 05:17:04 +00:00
1 parent e2eaa8a9a4
commit f55a86c7db
5 files changed
+170 -13

No files matched your search

+2 -4
View File
@@ -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);