summaryrefslogtreecommitdiffstats
path: root/loader2/pcmcia.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-08 17:29:13 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-08 17:29:13 +0000
commitc20def69e3ab9b3641144e493bc3b2dce9411850 (patch)
treec99393fef83a5891e81eb16e4ae65a80ce830f94 /loader2/pcmcia.c
parentf980ed074012d9e3cbdaa153cf0288e3ea2d5372 (diff)
downloadanaconda-c20def69e3ab9b3641144e493bc3b2dce9411850.tar.gz
anaconda-c20def69e3ab9b3641144e493bc3b2dce9411850.tar.xz
anaconda-c20def69e3ab9b3641144e493bc3b2dce9411850.zip
rename function to something more correct
Diffstat (limited to 'loader2/pcmcia.c')
-rw-r--r--loader2/pcmcia.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/loader2/pcmcia.c b/loader2/pcmcia.c
index d4efcbbb4..0ada1bb7b 100644
--- a/loader2/pcmcia.c
+++ b/loader2/pcmcia.c
@@ -60,8 +60,8 @@ char * getPcicController() {
}
}
-int cardbusControllerInitialize(moduleList modLoaded, moduleDeps modDeps,
- moduleInfoSet modInfo, int flags) {
+int initializePcmciaController(moduleList modLoaded, moduleDeps modDeps,
+ moduleInfoSet modInfo, int flags) {
char * pcic = NULL;
char * mods;
int i;
@@ -184,8 +184,10 @@ void startPcmciaDevices(moduleList modLoaded, int flags) {
return;
devices = probeDevices(CLASS_UNSPEC, BUS_PCMCIA, PROBE_ALL);
- if (!devices)
+ if (!devices) {
+ logMessage("no devices to activate\n");
return;
+ }
for (i = 0; devices[i]; i++) {
if (devices[i]->bus != BUS_PCMCIA)
@@ -196,7 +198,8 @@ void startPcmciaDevices(moduleList modLoaded, int flags) {
continue;
if (!mlModuleInList(devices[i]->driver, modLoaded))
continue;
-
+
+ logMessage("going to activate device using %s", devices[i]->driver);
activate_pcmcia_device((struct pcmciaDevice *)devices[i]);
}
}