Skip to contentSkip to conversation

PCMCIA IDE flash problem found

PATCH Pavel Machek 1 participant 1 message May 8, 2001

lore
Share & tools
lore
#0 lore raw

Hi!

2.4.[123] changed name of ide-cs module, which means your pcmcia setup breaks... This is how to undo the damage. Works for me, do *not* apply into anything official.

Pavel

drivers/ide/ide-cs.c +4 -1
@@ -95,7 +96,7 @@
 static int ide_event(event_t event, int priority,
 		     event_callback_args_t *args);
 
-static dev_info_t dev_info = "ide-cs";
+static dev_info_t dev_info = "ide_cs";
 
 static dev_link_t *ide_attach(void);
 static void ide_detach(dev_link_t *);
@@ -388,9 +389,12 @@
 	MOD_DEC_USE_COUNT;
     }
 
+#if 0
     request_region(link->io.BasePort1, link->io.NumPorts1,"ide-cs");
     if (link->io.NumPorts2)
 	request_region(link->io.BasePort2, link->io.NumPorts2,"ide-cs");
+#endif
+    printk("Should call request_region\n");
     
     info->ndev = 0;
     link->dev = NULL;
Signature · 2 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]