|
@@ -34,9 +34,9 @@
|
|
|
|
|
|
typedef
|
|
|
struct _version {
|
|
|
- unsigned char major;
|
|
|
- unsigned char minor;
|
|
|
- unsigned char build;
|
|
|
+ unsigned char major;
|
|
|
+ unsigned char minor;
|
|
|
+ unsigned char build;
|
|
|
} version_t, *pversion_t;
|
|
|
|
|
|
#define VID_TABLE_SIZE 64
|
|
@@ -76,20 +76,20 @@ struct _version {
|
|
|
|
|
|
|
|
|
|
|
|
-typedef enum _chip_type{
|
|
|
- VT3253=1
|
|
|
+typedef enum _chip_type {
|
|
|
+ VT3253 = 1
|
|
|
} CHIP_TYPE, *PCHIP_TYPE;
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef VIAWET_DEBUG
|
|
|
-#define ASSERT(x) { \
|
|
|
- if (!(x)) { \
|
|
|
- printk(KERN_ERR "assertion %s failed: file %s line %d\n", #x,\
|
|
|
- __FUNCTION__, __LINE__);\
|
|
|
- *(int*) 0=0;\
|
|
|
- }\
|
|
|
-}
|
|
|
+#define ASSERT(x) { \
|
|
|
+ if (!(x)) { \
|
|
|
+ printk(KERN_ERR "assertion %s failed: file %s line %d\n", #x, \
|
|
|
+ __FUNCTION__, __LINE__); \
|
|
|
+ *(int *)0 = 0; \
|
|
|
+ } \
|
|
|
+ }
|
|
|
#define DBG_PORT80(value) outb(value, 0x80)
|
|
|
#else
|
|
|
#define ASSERT(x)
|