removed old debug messges, cleanup messages into init

This commit is contained in:
Anton Farygin 2004-04-14 18:23:20 +00:00
parent 7a4a1ac162
commit 40600f62fe
2 changed files with 4 additions and 7 deletions

7
init.c
View File

@ -382,7 +382,7 @@ int main(int argc, char **argv)
printf("*** TESTING MODE ***\n"); printf("*** TESTING MODE ***\n");
printf("\n\t\t\t\033[1;40mWelcome to \033[1;36mALT Linux\033[0;39m\n\n"); // printf("\n\t\t\t\033[1;40mWelcome to \033[1;36mALT Linux\033[0;39m\n\n");
if (!testing) { if (!testing) {
if (mount("/proc", "/proc", "proc", 0, NULL)) if (mount("/proc", "/proc", "proc", 0, NULL))
@ -437,10 +437,7 @@ int main(int argc, char **argv)
2) we receive a SIGHUP 2) we receive a SIGHUP
*/ */
printf("If more people were to meet doing raklets, this planet\n"); printf("Running stage1...\n");
printf("would be a safer place.\n");
printf("\n");
printf("Running install...\n");
if (!(installpid = fork())) { if (!(installpid = fork())) {
/* child */ /* child */

View File

@ -173,11 +173,11 @@ static void probe_that_type(enum driver_type type)
sscanf(buf, "%x %x", &garb, &vendor); sscanf(buf, "%x %x", &garb, &vendor);
device = vendor & 0xFFFF; /* because scanf from dietlibc does not support %4f */ device = vendor & 0xFFFF; /* because scanf from dietlibc does not support %4f */
vendor = (vendor >> 16) & 0xFFFF; vendor = (vendor >> 16) & 0xFFFF;
log_message("PCI-test: device %04x %04x\n", vendor, device); log_message("found pci device: %04x %04x", vendor, device);
for (i = 0; i < len; i++) { for (i = 0; i < len; i++) {
if (pcidb[i].vendor == vendor && pcidb[i].device == device) { if (pcidb[i].vendor == vendor && pcidb[i].device == device) {
log_message("PCI: device %04x %04x is \"%s\" (%s)", vendor, device, pcidb[i].name, pcidb[i].module); log_message("module is \"%s\" (%s)", pcidb[i].name, pcidb[i].module);
#ifndef DISABLE_MEDIAS #ifndef DISABLE_MEDIAS
if (type == SCSI_ADAPTERS) { if (type == SCSI_ADAPTERS) {
int wait_msg = 0; int wait_msg = 0;