Author: kib
Date: Sun Feb 10 10:00:35 2013
New Revision: 246611
URL: http://svnweb.freebsd.org/changeset/base/246611

Log:
  MFC r245976:
  Fix reversed condition.

Modified:
  stable/9/sys/dev/agp/agp_i810.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/agp/agp_i810.c
==============================================================================
--- stable/9/sys/dev/agp/agp_i810.c     Sun Feb 10 07:36:23 2013        
(r246610)
+++ stable/9/sys/dev/agp/agp_i810.c     Sun Feb 10 10:00:35 2013        
(r246611)
@@ -2230,7 +2230,7 @@ agp_i830_chipset_flush(device_t dev)
        bus_write_4(sc->sc_res[0], AGP_I830_HIC, hic | (1 << 31));
        for (i = 0; i < 20000 /* 1 sec */; i++) {
                hic = bus_read_4(sc->sc_res[0], AGP_I830_HIC);
-               if ((hic & (1 << 31)) != 0)
+               if ((hic & (1 << 31)) == 0)
                        break;
                DELAY(50);
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to