patch-2.3.19 linux/drivers/char/saa5249.c
Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/random.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Wed Sep 29 15:32:15 1999
- Orig file:
v2.3.18/linux/drivers/char/saa5249.c
- Orig date:
Thu Jan 14 22:53:02 1999
diff -u --recursive --new-file v2.3.18/linux/drivers/char/saa5249.c linux/drivers/char/saa5249.c
@@ -79,9 +79,9 @@
-#define PAGE_WAIT 30 /* Time in jiffies between requesting page and */
+#define PAGE_WAIT (300*HZ/1000) /* Time between requesting page and */
/* checking status bits */
-#define PGBUF_EXPIRE 1500 /* Time in jiffies to wait before retransmitting */
+#define PGBUF_EXPIRE (15*HZ) /* Time to wait before retransmitting */
/* page regardless of infobits */
typedef struct {
u8 pgbuf[VTX_VIRTUALSIZE]; /* Page-buffer */
@@ -107,9 +107,9 @@
#define CCTWR 34 /* I²C write/read-address of vtx-chip */
#define CCTRD 35
#define NOACK_REPEAT 10 /* Retry access this many times on failure */
-#define CLEAR_DELAY 5 /* Time in jiffies required to clear a page */
-#define I2C_TIMEOUT 300 /* open/close/SDA-check timeout in jiffies */
-#define READY_TIMEOUT 3 /* Time in jiffies to wait for ready signal of I²C-bus interface */
+#define CLEAR_DELAY (HZ/20) /* Time required to clear a page */
+#define I2C_TIMEOUT (3*HZ) /* open/close/SDA-check timeout */
+#define READY_TIMEOUT (30*HZ/1000) /* Time to wait for ready signal of I²C-bus interface */
#define INIT_DELAY 500 /* Time in usec to wait at initialization of CEA interface */
#define START_DELAY 10 /* Time in usec to wait before starting write-cycle (CEA) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)