Better error message when cardtype is not recognized

This commit is contained in:
Warner Losh 2001-11-13 06:46:19 +00:00
parent 7bfd54ac0f
commit 751a23649d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86315

View File

@ -883,7 +883,7 @@ static const char *
pcic_pci_cardtype(u_int32_t stat)
{
if (stat & CB_SS_NOTCARD)
return ("Cardtype unrecognized by bridge");
return ("unrecognized by bridge");
if ((stat & (CB_SS_16BIT | CB_SS_CB)) == (CB_SS_16BIT | CB_SS_CB))
return ("16-bit and 32-bit (can't happen)");
if (stat & CB_SS_16BIT)