Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6786
b: refs/heads/master
c: 771abed
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Benc authored and Jeff Garzik committed Aug 26, 2005
1 parent 03dfab4 commit 5588d6c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ce329cec29b788bd5d9aaa446fd7ecdd4df64fe
refs/heads/master: 771abed990d8642f289f733dc0fa8a395ab31ca1
8 changes: 0 additions & 8 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -6617,11 +6617,7 @@ static int ipw_setup_deferred_work(struct ipw_priv *priv)
{
int ret = 0;

#ifdef CONFIG_SOFTWARE_SUSPEND2
priv->workqueue = create_workqueue(DRV_NAME, 0);
#else
priv->workqueue = create_workqueue(DRV_NAME);
#endif
init_waitqueue_head(&priv->wait_command_queue);

INIT_WORK(&priv->adhoc_check, ipw_adhoc_check, priv);
Expand Down Expand Up @@ -7242,11 +7238,7 @@ static int ipw_pci_suspend(struct pci_dev *pdev, u32 state)
/* Remove the PRESENT state of the device */
netif_device_detach(dev);

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
pci_save_state(pdev, priv->pm_state);
#else
pci_save_state(pdev);
#endif
pci_disable_device(pdev);
pci_set_power_state(pdev, state);

Expand Down
20 changes: 0 additions & 20 deletions trunk/drivers/net/wireless/ipw2200.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,6 @@

#include <linux/workqueue.h>

#ifndef IRQ_NONE
typedef void irqreturn_t;
#define IRQ_NONE
#define IRQ_HANDLED
#define IRQ_RETVAL(x)
#endif

#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9) )
#define __iomem
#endif

#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,5) )
#define pci_dma_sync_single_for_cpu pci_dma_sync_single
#define pci_dma_sync_single_for_device pci_dma_sync_single
#endif

#ifndef HAVE_FREE_NETDEV
#define free_netdev(x) kfree(x)
#endif

/* Authentication and Association States */
enum connection_manager_assoc_states
{
Expand Down

0 comments on commit 5588d6c

Please sign in to comment.