Page MenuHomeFreeBSD

D5854.1795454152.diff
No OneTemporary

Authored By
Unknown
Size
523 B
Referenced Files
None
Subscribers
None

D5854.1795454152.diff

Index: head/sys/dev/vnic/thunder_bgx.c
===================================================================
--- head/sys/dev/vnic/thunder_bgx.c
+++ head/sys/dev/vnic/thunder_bgx.c
@@ -240,7 +240,7 @@
bgx_poll_reg(struct bgx *bgx, uint8_t lmac, uint64_t reg, uint64_t mask,
boolean_t zero)
{
- int timeout = 100;
+ int timeout = 10;
uint64_t reg_val;
while (timeout) {
@@ -250,7 +250,7 @@
if (!zero && (reg_val & mask))
return (0);
- DELAY(1000);
+ DELAY(100);
timeout--;
}
return (ETIMEDOUT);

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 23, 5:15 PM (16 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41935629
Default Alt Text
D5854.1795454152.diff (523 B)

Event Timeline