Boot verbosify printing the CIS, since we don't normally need to do that.

This commit is contained in:
Warner Losh 2002-02-09 21:34:06 +00:00
parent 344284854e
commit 5e0cb3e9d3
2 changed files with 2 additions and 8 deletions

View File

@ -66,12 +66,6 @@ int pccard_debug = 0;
#define DEVPRVERBOSE(arg) if (bootverbose) device_printf arg
#endif
#ifdef PCCARDVERBOSE
int pccard_verbose = 1;
#else
int pccard_verbose = 0;
#endif
static int pccard_ccr_read(struct pccard_function *pf, int ccr);
static void pccard_ccr_write(struct pccard_function *pf, int ccr, int val);
static int pccard_attach_card(device_t dev);
@ -168,7 +162,7 @@ pccard_attach_card(device_t dev)
return (1);
}
if (1)
if (bootverbose || pccard_debug)
pccard_print_cis(dev);
DEVPRINTF((dev, "functions scanning\n"));

View File

@ -231,7 +231,7 @@ void pccard_check_cis_quirks(device_t dev)
(strcmp(sc->card.cis1_info[1],
pccard_cis_quirks[i].cis1_info[1]) == 0)))) {
if (!wiped) {
if (pccard_verbose) {
if (bootverbose) {
device_printf(dev, "using CIS quirks for ");
for (j = 0; j < 4; j++) {
if (sc->card.cis1_info[j] == NULL)