extend error message if io port is out of range, now tell user that an

AVM B1 PCI card must be added by loading module b1pci.
This commit is contained in:
Carsten Paeth 1999-06-21 15:30:45 +00:00
parent 6d4e9294de
commit c4add0e38f
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,9 @@
* Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
*
* $Log$
* Revision 1.10 1998/07/15 15:08:20 calle
* port and irq check changed.
*
* Revision 1.9 1998/02/27 15:42:00 calle
* T1 running with slow link.
*
@ -295,6 +298,7 @@ static int checkportandirq(int cardtype, int port, int irq)
for (i = 1; validports[i]; i++)
fprintf(stderr, ", 0x%x", validports[i]);
fprintf(stderr, "\n");
fprintf(stderr, "%s: to install a B1 PCI card load module b1pci.o\n", cmd);
return -1;
}
for (i = 0; validirqs[i] && irq != validirqs[i]; i++);