| To: | davem@xxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 2.6.12-rc5 9/9] tg3: Fix bug in tg3_load_firmware_cpu |
| From: | "Michael Chan" <mchan@xxxxxxxxxxxx> |
| Date: | Thu, 26 May 2005 11:00:11 -0700 |
| Cc: | jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <1117128795.3744.22.camel@rh4> |
| References: | <1117128795.3744.22.camel@rh4> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Add tg3_nvram_lock() and tg3_nvram_unlock() calls around tg3_halt_cpu(). It is possible that the bootcode may be loading code from nvram during this call and stopping the cpu without getting the lock may cause uncompleted nvram data to be left in the nvram data register. Subsequent calls to read/write nvram data will fail. Signed-off-by: Michael Chan <mchan@xxxxxxxxxxxx>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.6.12-rc5 8/9] tg3: Add interrupt test, Michael Chan |
|---|---|
| Next by Date: | Re: [NEIGH] Remove unused fields in struct neigh_parms and neigh_table, Thomas Graf |
| Previous by Thread: | [PATCH 2.6.12-rc5 8/9] tg3: Add interrupt test, Michael Chan |
| Next by Thread: | Re: [PATCH 2.6.12-rc5 9/9] tg3: Fix bug in tg3_load_firmware_cpu, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |