Dear Soren,

Following is small patch for your great ata driver which intended to
disable annoying "unwanted interrupt" console message on notebooks
(personally I have it every 1 minute of absent disk activity ;)? )

Sincerely,

Maxim Sobolev

*** ata-all.c.orig????? Wed Mar 31 10:28:05 1999
--- ata-all.c?? Wed Mar 31 10:29:39 1999
***************
*** 456,462 ****
--- 456,464 ----
????? default:
????? case ATA_IDLE:
??????? if (intcount++ < 10)
+?????? #ifndef SURPRESS_UNWANTED
??????????? printf("ata%d: unwanted interrupt %d\n", unit, intcount);
+?????? #endif
????????? inb(scp->ioaddr + ATA_STATUS);
??????? return;
????? }
?



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to