<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 3/23/10 12:10 AM, repository service wrote:
<blockquote cite="mid:E1Ntqlp-0007Gq-Bl@ra.coresystems.de" type="cite">
<pre wrap="">+ /* Check to see whether it took */
+ reg32 = pci_read_config32(dev, GEN_CNTL);
+ val = reg32 >> 15;
+ val &= 0x7;
+
+ if ((val & 0x4) && (hpet == (val & 0x3))) {
+ printk_debug("HPET enabled at 0x%x\n", HPET_ADDR);
+ } else {
+ printk_err("HPET was not enabled correctly\n");
+ reg32 &= ~(1 << 17); /* Clear Enable */
+ pci_write_config32(dev, GEN_CNTL, reg32);
+ }
</pre>
</blockquote>
<font size="-1"><font face="Helvetica, Arial, sans-serif"><br>
What kind of errr condition does that check for?<br>
</font></font>
</body>
</html>