Switch the order of a two tests so that the error actually has to occur
for you to be told there was an error [during verbose boot]. I poked him for the fix, he poked me to get it committed. Submitted by: Jason Young <doogie@anet-stl.com>
This commit is contained in:
parent
3ea5059f1e
commit
2b832347ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51630
@ -195,8 +195,8 @@ ep_pccard_init(devi)
|
||||
|
||||
epb->cmd_off = 0;
|
||||
epb->prod_id = get_e(sc, EEPROM_PROD_ID);
|
||||
if (bootverbose) printf("ep%d: Pass 1 of 2 detection failed (nonfatal)\n", is->id_unit);
|
||||
if (!ep_pccard_identify(epb, is->id_unit)) {
|
||||
if (bootverbose) printf("ep%d: Pass 1 of 2 detection failed (nonfatal)\n", is->id_unit);
|
||||
epb->cmd_off = 2;
|
||||
epb->prod_id = get_e(sc, EEPROM_PROD_ID);
|
||||
if (!ep_pccard_identify(epb, is->id_unit)) {
|
||||
|
@ -195,8 +195,8 @@ ep_pccard_init(devi)
|
||||
|
||||
epb->cmd_off = 0;
|
||||
epb->prod_id = get_e(sc, EEPROM_PROD_ID);
|
||||
if (bootverbose) printf("ep%d: Pass 1 of 2 detection failed (nonfatal)\n", is->id_unit);
|
||||
if (!ep_pccard_identify(epb, is->id_unit)) {
|
||||
if (bootverbose) printf("ep%d: Pass 1 of 2 detection failed (nonfatal)\n", is->id_unit);
|
||||
epb->cmd_off = 2;
|
||||
epb->prod_id = get_e(sc, EEPROM_PROD_ID);
|
||||
if (!ep_pccard_identify(epb, is->id_unit)) {
|
||||
|
Loading…
Reference in New Issue
Block a user