diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 76c4ed1135f2..4fdeb5323248 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2369,18 +2369,4 @@ struct pci_device_id iwl3945_hw_card_ids[] = { | |||
2369 | {0} | 2369 | {0} |
2370 | }; | 2370 | }; |
2371 | 2371 | ||
2372 | /* | ||
2373 | * Clear the OWNER_MSK, to establish driver (instead of uCode running on | ||
2374 | * embedded controller) as EEPROM reader; each read is a series of pulses | ||
2375 | * to/from the EEPROM chip, not a single event, so even reads could conflict | ||
2376 | * if they weren't arbitrated by some ownership mechanism. Here, the driver | ||
2377 | * simply claims ownership, which should be safe when this function is called | ||
2378 | * (i.e. before loading uCode!). | ||
2379 | */ | ||
2380 | inline int iwl3945_eeprom_acquire_semaphore(struct iwl3945_priv *priv) | ||
2381 | { | ||
2382 | _iwl3945_clear_bit(priv, CSR_EEPROM_GP, CSR_EEPROM_GP_IF_OWNER_MSK); | ||
2383 | return 0; | ||
2384 | } | ||
2385 | |||
2386 | MODULE_DEVICE_TABLE(pci, iwl3945_hw_card_ids); | 2372 | MODULE_DEVICE_TABLE(pci, iwl3945_hw_card_ids); |