Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (41 commits) ACPICA: hw: Don't carry spinlock over suspend ACPICA: hw: remove use_lock flag from acpi_hw_register_{read, write} ACPI: cpuidle: port idle timer suspend/resume workaround to cpuidle ACPI: clean up acpi_enter_sleep_state_prep Hibernation: Make sure that ACPI is enabled in acpi_hibernation_finish ACPI: suppress uninitialized var warning cpuidle: consolidate 2.6.22 cpuidle branch into one patch ACPI: thinkpad-acpi: skip blanks before the data when parsing sysfs ACPI: AC: Add sysfs interface ACPI: SBS: Add sysfs alarm ACPI: SBS: Add ACPI_PROCFS around procfs handling code. ACPI: SBS: Add support for power_supply class (and sysfs) ACPI: SBS: Make SBS reads table-driven. ACPI: SBS: Simplify data structures in SBS ACPI: SBS: Split host controller (ACPI0001) from SBS driver (ACPI0002) ACPI: EC: Add new query handler to list head. ACPI: Add acpi_bus_generate_event4() function ACPI: Battery: add sysfs alarm ACPI: Battery: Add sysfs support ACPI: Battery: Misc clean-ups, no functional changes ... Fix up conflicts in drivers/misc/thinkpad_acpi.[ch] manually
This commit is contained in:
@@ -1858,14 +1858,6 @@ static void ipw2100_down(struct ipw2100_priv *priv)
|
||||
|
||||
modify_acceptable_latency("ipw2100", INFINITE_LATENCY);
|
||||
|
||||
#ifdef ACPI_CSTATE_LIMIT_DEFINED
|
||||
if (priv->config & CFG_C3_DISABLED) {
|
||||
IPW_DEBUG_INFO(": Resetting C3 transitions.\n");
|
||||
acpi_set_cstate_limit(priv->cstate_limit);
|
||||
priv->config &= ~CFG_C3_DISABLED;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* We have to signal any supplicant if we are disassociating */
|
||||
if (associated)
|
||||
wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL);
|
||||
@@ -2091,14 +2083,6 @@ static void isr_indicate_rf_kill(struct ipw2100_priv *priv, u32 status)
|
||||
/* RF_KILL is now enabled (else we wouldn't be here) */
|
||||
priv->status |= STATUS_RF_KILL_HW;
|
||||
|
||||
#ifdef ACPI_CSTATE_LIMIT_DEFINED
|
||||
if (priv->config & CFG_C3_DISABLED) {
|
||||
IPW_DEBUG_INFO(": Resetting C3 transitions.\n");
|
||||
acpi_set_cstate_limit(priv->cstate_limit);
|
||||
priv->config &= ~CFG_C3_DISABLED;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Make sure the RF Kill check timer is running */
|
||||
priv->stop_rf_kill = 0;
|
||||
cancel_delayed_work(&priv->rf_kill);
|
||||
@@ -2329,23 +2313,10 @@ static void ipw2100_corruption_detected(struct ipw2100_priv *priv, int i)
|
||||
u32 match, reg;
|
||||
int j;
|
||||
#endif
|
||||
#ifdef ACPI_CSTATE_LIMIT_DEFINED
|
||||
int limit;
|
||||
#endif
|
||||
|
||||
IPW_DEBUG_INFO(": PCI latency error detected at 0x%04zX.\n",
|
||||
i * sizeof(struct ipw2100_status));
|
||||
|
||||
#ifdef ACPI_CSTATE_LIMIT_DEFINED
|
||||
IPW_DEBUG_INFO(": Disabling C3 transitions.\n");
|
||||
limit = acpi_get_cstate_limit();
|
||||
if (limit > 2) {
|
||||
priv->cstate_limit = limit;
|
||||
acpi_set_cstate_limit(2);
|
||||
priv->config |= CFG_C3_DISABLED;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef IPW2100_DEBUG_C3
|
||||
/* Halt the fimrware so we can get a good image */
|
||||
write_register(priv->net_dev, IPW_REG_RESET_REG,
|
||||
|
@@ -479,7 +479,6 @@ enum {
|
||||
#define CFG_ASSOCIATE (1<<6)
|
||||
#define CFG_FIXED_RATE (1<<7)
|
||||
#define CFG_ADHOC_CREATE (1<<8)
|
||||
#define CFG_C3_DISABLED (1<<9)
|
||||
#define CFG_PASSIVE_SCAN (1<<10)
|
||||
#ifdef CONFIG_IPW2100_MONITOR
|
||||
#define CFG_CRC_CHECK (1<<11)
|
||||
@@ -508,7 +507,6 @@ struct ipw2100_priv {
|
||||
u8 bssid[ETH_ALEN];
|
||||
u8 channel;
|
||||
int last_mode;
|
||||
int cstate_limit;
|
||||
|
||||
unsigned long connect_start;
|
||||
unsigned long last_reset;
|
||||
|
Reference in New Issue
Block a user