FreeBSD Bugzilla – Attachment 224750 Details for
Bug 255465
Kernel panic with Intel Wireless 4965AGN chip
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] Adjust EEPROM read timeout for Intel 4965AGN M2
0001-iwn-adjust-EEPROM-read-timeout-for-Intel-4965AGN-M2.patch (text/plain), 1.13 KB, created by
Radosław Chmielarz
on 2021-05-07 13:29:01 UTC
(
hide
)
Description:
[PATCH] Adjust EEPROM read timeout for Intel 4965AGN M2
Filename:
MIME Type:
Creator:
Radosław Chmielarz
Created:
2021-05-07 13:29:01 UTC
Size:
1.13 KB
patch
obsolete
>From fcd7e5ef66206605965c96729b3c76acbbdd1e96 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Rados=C5=82aw=20Chmielarz?= <radoslaw.chmielarz@emersi.eu> >Date: Fri, 7 May 2021 15:20:48 +0200 >Subject: [PATCH] iwn: adjust EEPROM read timeout for Intel 4965AGN M2 > >Reading EEPROM from Intel 4965AGN M2 takes 60 us which was causing panic >on system startup. >--- > sys/dev/iwn/if_iwn.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c >index b07b52cbea7..4191fb340a0 100644 >--- a/sys/dev/iwn/if_iwn.c >+++ b/sys/dev/iwn/if_iwn.c >@@ -1688,13 +1688,13 @@ iwn_read_prom_data(struct iwn_softc *sc, uint32_t addr, void *data, int count) > addr += sc->prom_base; > for (; count > 0; count -= 2, addr++) { > IWN_WRITE(sc, IWN_EEPROM, addr << 2); >- for (ntries = 0; ntries < 10; ntries++) { >+ for (ntries = 0; ntries < 20; ntries++) { > val = IWN_READ(sc, IWN_EEPROM); > if (val & IWN_EEPROM_READ_VALID) > break; > DELAY(5); > } >- if (ntries == 10) { >+ if (ntries == 20) { > device_printf(sc->sc_dev, > "timeout reading ROM at 0x%x\n", addr); > return ETIMEDOUT; >-- >2.31.1.windows.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
radoslaw.chmielarz
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 255465
: 224750