static int __init init_doc(void) { int i; if (doc_config_location) { printk(KERN_INFO "Using configured DiskOnChip probe address 0x%lx\n", doc_config_location); DoC_Probe(doc_config_location); } else { for (i=0; (doc_locations[i] != 0xffffffff); i++) { DoC_Probe(doc_locations[i]); } } if (!docfound) printk(KERN_INFO "No recognised DiskOnChip devices found\n"); return -EAGAIN; }
static int __init init_doc(void) { int i; if (doc_config_location) { printk(KERN_INFO "Using configured DiskOnChip probe address 0x%lx\n", doc_config_location); DoC_Probe(doc_config_location); } else { for (i=0; (doc_locations[i] != 0xffffffff); i++) { DoC_Probe(doc_locations[i]); } } /* No banner message any more. Print a message if no DiskOnChip found, so the user knows we at least tried. */ if (!docfound) printk(KERN_INFO "No recognised DiskOnChip devices found\n"); return -EAGAIN; }
int __init init_doc(void) { int i; if (doc_config_location) { printk(KERN_INFO "Using configured DiskOnChip probe address 0x%lx\n", doc_config_location); DoC_Probe(doc_config_location); } else { for (i=0; (doc_locations[i] != 0xffffffff); i++) { DoC_Probe(doc_locations[i]); } } /* No banner message any more. Print a message if no DiskOnChip found, so the user knows we at least tried. */ if (!docfound) printk(KERN_INFO "No recognised DiskOnChip devices found\n"); /* So it looks like we've been used and we get unloaded */ MOD_INC_USE_COUNT; MOD_DEC_USE_COUNT; return 0; }
int __init init_doc(void) { int i; printk(KERN_NOTICE "M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc.\n"); #ifdef PRERELEASE printk(KERN_INFO "$Id: docprobe.c,v 1.21 2000/12/03 19:32:34 dwmw2 Exp $\n"); #endif if (doc_config_location) { printk("Using configured probe address 0x%lx\n", doc_config_location); DoC_Probe(doc_config_location); } else { for (i=0; doc_locations[i]; i++) { DoC_Probe(doc_locations[i]); } } /* So it looks like we've been used and we get unloaded */ MOD_INC_USE_COUNT; MOD_DEC_USE_COUNT; return 0; }