summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwctdm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/wctdm.c b/wctdm.c
index cac3db3..d4df2b2 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -294,8 +294,8 @@ struct wctdm {
int freeregion;
int alt;
int curcard;
-/* int cards; */
int cardflag; /* Bit-map of present cards */
+ int proslic_power;
spinlock_t lock;
union {
@@ -1238,7 +1238,7 @@ static int wctdm_powerup_proslic(struct wctdm *wc, int card, int fast)
}
}
- if (vbat < 0xc0) {
+ if ((vbat < 0xc0) && !wc->proslic_power) {
printk("ProSLIC on module %d failed to powerup within %d ms (%d mV only)\n\n -- DID YOU REMEMBER TO PLUG IN THE HD POWER CABLE TO THE TDM400P??\n",
card, (int)(((jiffies - origjiffies) * 1000 / HZ)),
vbat * 375);
@@ -1247,6 +1247,7 @@ static int wctdm_powerup_proslic(struct wctdm *wc, int card, int fast)
printk("ProSLIC on module %d powered up to -%d volts (%02x) in %d ms\n",
card, vbat * 376 / 1000, vbat, (int)(((jiffies - origjiffies) * 1000 / HZ)));
}
+ wc->proslic_power = 1;
/* Proslic max allowed loop current, reg 71 LOOP_I_LIMIT */
/* If out of range, just set it to the default value */