summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i82365.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/i82365.c b/drivers/i82365.c
index c37383d..e20fd33 100644
--- a/drivers/i82365.c
+++ b/drivers/i82365.c
@@ -479,7 +479,6 @@ static int cb_set_power (socket_info_t * s, socket_state_t * state)
puts (" 12V card found: ");
} else if (state->Vpp == state->Vcc) {
reg |= I365_VPP1_5V;
- puts (" 5V card found: ");
} else {
puts (" power not found: ");
return -1;
@@ -870,6 +869,10 @@ int i82365_init (void)
printf ("i82365: Controller not found.\n");
return 1;
}
+ if((val & SS_DETECT) != SS_DETECT){
+ puts ("No card\n");
+ return 1;
+ }
#else /* !CONFIG_CPC45 */
if (val & SS_DETECT) {
if (val & SS_3VCARD) {