Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 1999 11:00:24 +0300
From:      Maxim Sobolev <sobomax@altavista.net>
To:        Soren Schmidt <sos@freebsd.dk>
Cc:        current@FreeBSD.ORG
Subject:   Re: UPDATE5: ATA/ATAPI driver new version available.
Message-ID:  <3701D617.F7F6253B@altavista.net>
References:  <199903301324.PAA60878@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3701D617.F7F6253B>