Page MenuHomeFreeBSD

D39966.id123754.diff
No OneTemporary

D39966.id123754.diff

diff --git a/sys/dev/ichsmb/ichsmb.c b/sys/dev/ichsmb/ichsmb.c
--- a/sys/dev/ichsmb/ichsmb.c
+++ b/sys/dev/ichsmb/ichsmb.c
@@ -510,7 +510,8 @@
DBG("%d stat=0x%02x\n", count, status);
}
#endif
- status &= ~(ICH_HST_STA_INUSE_STS | ICH_HST_STA_HOST_BUSY);
+ status &= ~(ICH_HST_STA_INUSE_STS | ICH_HST_STA_HOST_BUSY |
+ ICH_HST_STA_SMBALERT_STS);
if (status == 0)
break;
@@ -531,18 +532,6 @@
continue;
}
- /* Handle SMBALERT interrupt */
- if (status & ICH_HST_STA_SMBALERT_STS) {
- static int smbalert_count = 16;
- if (smbalert_count > 0) {
- device_printf(dev, "SMBALERT# rec'd\n");
- if (--smbalert_count == 0) {
- device_printf(dev,
- "not logging anymore\n");
- }
- }
- }
-
/* Check for bus error */
if (status & ICH_HST_STA_BUS_ERR) {
sc->smb_error = SMB_ECOLLI; /* XXX SMB_EBUSERR? */

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 24, 3:35 PM (17 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35447524
Default Alt Text
D39966.id123754.diff (865 B)

Event Timeline