move some printfs under bootverbose
Reviewed by: phk
This commit is contained in:
parent
df25606095
commit
f3a7208afa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103168
@ -55,9 +55,9 @@ init_AMD_Elan_sc520(void)
|
|||||||
u_int new;
|
u_int new;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
printf("Doing h0h0magic for AMD Elan sc520\n");
|
if (bootverbose)
|
||||||
|
printf("Doing h0h0magic for AMD Elan sc520\n");
|
||||||
elan_mmcr = pmap_mapdev(0xfffef000, 0x1000);
|
elan_mmcr = pmap_mapdev(0xfffef000, 0x1000);
|
||||||
printf("MMCR at %p\n", elan_mmcr);
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* The i8254 is driven with a nonstandard frequency which is
|
* The i8254 is driven with a nonstandard frequency which is
|
||||||
@ -71,7 +71,8 @@ init_AMD_Elan_sc520(void)
|
|||||||
NULL, 0,
|
NULL, 0,
|
||||||
&new, sizeof new,
|
&new, sizeof new,
|
||||||
NULL);
|
NULL);
|
||||||
printf("sysctl machdep.i8254_freq=%d returns %d\n", new, i);
|
if (bootverbose)
|
||||||
|
printf("sysctl machdep.i8254_freq=%d returns %d\n", new, i);
|
||||||
|
|
||||||
/* Start GP timer #2 and use it as timecounter, hz permitting */
|
/* Start GP timer #2 and use it as timecounter, hz permitting */
|
||||||
elan_mmcr[0xc82 / 2] = 0xc001;
|
elan_mmcr[0xc82 / 2] = 0xc001;
|
||||||
@ -137,7 +138,7 @@ elan_drvinit(void)
|
|||||||
|
|
||||||
if (elan_mmcr == NULL)
|
if (elan_mmcr == NULL)
|
||||||
return;
|
return;
|
||||||
printf("Elan-mmcr driver\n");
|
printf("Elan-mmcr driver: MMCR at %p\n", elan_mmcr);
|
||||||
make_dev(&elan_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "elan-mmcr");
|
make_dev(&elan_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "elan-mmcr");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user