diff options
author | jhb <jhb@FreeBSD.org> | 2011-03-29 12:38:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-03-29 12:38:13 +0000 |
commit | f226edd26ef4aee2980c4ad1fd43e105ecd09019 (patch) | |
tree | d6e9eaa530b45a363d86b7f01d57bdf71933f32e /sys/isa | |
parent | 8146b441dad67d3825aa2bcf182172176bd37fb5 (diff) | |
download | FreeBSD-src-f226edd26ef4aee2980c4ad1fd43e105ecd09019.zip FreeBSD-src-f226edd26ef4aee2980c4ad1fd43e105ecd09019.tar.gz |
- Enable an extra debugging bootverbose printf when probing ISA PNP cards
listing each card as it is found on non-PC98 (PC98 already had this).
- Increase the length of the DELAY() used before timing out while reading
PNP resource data.
Tested by: Steven Nikkel steven_nikkel ertyu org
MFC after: 1 week
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/pnp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isa/pnp.c b/sys/isa/pnp.c index 83ae10d..f2e5dfc 100644 --- a/sys/isa/pnp.c +++ b/sys/isa/pnp.c @@ -209,7 +209,7 @@ pnp_get_resource_info(u_char *buffer, int len) for (j = 0; j < 100; j++) { if ((inb((pnp_rd_port << 2) | 0x3)) & 0x1) break; - DELAY(1); + DELAY(10); } if (j == 100) { printf("PnP device failed to report resource data\n"); @@ -743,10 +743,10 @@ pnp_isolation_protocol(device_t parent) printf("A Normal-ISA-PnP card (%s).\n", pnp_eisaformat(id.vendor_id)); } +#endif if (bootverbose) printf("Reading PnP configuration for %s.\n", pnp_eisaformat(id.vendor_id)); -#endif error = pnp_read_resources(&resources, &space, &len); if (error) break; |