mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix from Bruce Evans:
Set npx_exists = 0 in the case of broken error reporting.
This commit is contained in:
parent
8c481329f7
commit
600f527fc6
3 changed files with 12 additions and 6 deletions
|
|
@ -321,10 +321,12 @@ npxattach(dvp)
|
|||
struct isa_device *dvp;
|
||||
{
|
||||
if (!npx_ex16 && !npx_irq13) {
|
||||
if (npx_exists)
|
||||
if (npx_exists) {
|
||||
printf("npx%d: Error reporting broken, using 387 emulator\n",dvp->id_unit);
|
||||
else
|
||||
npx_exists = 0;
|
||||
} else {
|
||||
printf("npx%d: 387 Emulator\n",dvp->id_unit);
|
||||
}
|
||||
}
|
||||
npxinit(__INITIAL_NPXCW__);
|
||||
return (1); /* XXX unused */
|
||||
|
|
|
|||
|
|
@ -321,10 +321,12 @@ npxattach(dvp)
|
|||
struct isa_device *dvp;
|
||||
{
|
||||
if (!npx_ex16 && !npx_irq13) {
|
||||
if (npx_exists)
|
||||
if (npx_exists) {
|
||||
printf("npx%d: Error reporting broken, using 387 emulator\n",dvp->id_unit);
|
||||
else
|
||||
npx_exists = 0;
|
||||
} else {
|
||||
printf("npx%d: 387 Emulator\n",dvp->id_unit);
|
||||
}
|
||||
}
|
||||
npxinit(__INITIAL_NPXCW__);
|
||||
return (1); /* XXX unused */
|
||||
|
|
|
|||
|
|
@ -321,10 +321,12 @@ npxattach(dvp)
|
|||
struct isa_device *dvp;
|
||||
{
|
||||
if (!npx_ex16 && !npx_irq13) {
|
||||
if (npx_exists)
|
||||
if (npx_exists) {
|
||||
printf("npx%d: Error reporting broken, using 387 emulator\n",dvp->id_unit);
|
||||
else
|
||||
npx_exists = 0;
|
||||
} else {
|
||||
printf("npx%d: 387 Emulator\n",dvp->id_unit);
|
||||
}
|
||||
}
|
||||
npxinit(__INITIAL_NPXCW__);
|
||||
return (1); /* XXX unused */
|
||||
|
|
|
|||
Loading…
Reference in a new issue