diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/orinoco/orinoco-modules-0.15rc2/catch-up-with-kernel-changes.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/orinoco/orinoco-modules-0.15rc2/catch-up-with-kernel-changes.patch')
-rw-r--r-- | recipes/orinoco/orinoco-modules-0.15rc2/catch-up-with-kernel-changes.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes/orinoco/orinoco-modules-0.15rc2/catch-up-with-kernel-changes.patch b/recipes/orinoco/orinoco-modules-0.15rc2/catch-up-with-kernel-changes.patch new file mode 100644 index 0000000000..d2e8a5bc4c --- /dev/null +++ b/recipes/orinoco/orinoco-modules-0.15rc2/catch-up-with-kernel-changes.patch @@ -0,0 +1,48 @@ +diff -up orinoco-0.15rc2/orinoco_pci.c orinoco-0.15rc2-new/orinoco_pci.c +--- orinoco-0.15rc2/orinoco_pci.c 2004-07-28 08:06:45.000000000 +0200 ++++ orinoco-0.15rc2-new/orinoco_pci.c 2005-06-19 17:13:07.000000000 +0200 +@@ -327,7 +327,7 @@ static int orinoco_pci_suspend(struct pc + + orinoco_unlock(priv, &flags); + +- pci_save_state(pdev, card->pci_state); ++ pci_save_state(pdev); + pci_set_power_state(pdev, 3); + + return 0; +@@ -344,7 +344,7 @@ static int orinoco_pci_resume(struct pci + printk(KERN_DEBUG "%s: Orinoco-PCI waking up\n", dev->name); + + pci_set_power_state(pdev, 0); +- pci_restore_state(pdev, card->pci_state); ++ pci_restore_state(pdev); + + err = orinoco_reinit_firmware(dev); + if (err) { +diff -up orinoco-0.15rc2/spectrum_cs.c orinoco-0.15rc2-new/spectrum_cs.c +--- orinoco-0.15rc2/spectrum_cs.c 2004-07-28 08:06:45.000000000 +0200 ++++ orinoco-0.15rc2-new/spectrum_cs.c 2005-06-19 18:06:39.000000000 +0200 +@@ -579,12 +579,13 @@ static int + spectrum_dl_firmware(hermes_t *hw, dev_link_t *link) + { + int ret; ++ client_handle_t handle = link->handle; + + #ifndef SPECTRUM_FW_INCLUDED + const struct firmware *fw_entry; + + if (request_firmware(&fw_entry, primary_fw_name, +- spectrum_cs_device) == 0) { ++ &handle_to_dev(handle)) == 0) { + primsym = fw_entry->data; + } else { + printk(KERN_ERR PFX "Cannot find firmware: %s\n", +@@ -593,7 +594,7 @@ spectrum_dl_firmware(hermes_t *hw, dev_l + } + + if (request_firmware(&fw_entry, secondary_fw_name, +- spectrum_cs_device) == 0) { ++ &handle_to_dev(handle)) == 0) { + secsym = fw_entry->data; + } else { + printk(KERN_ERR PFX "Cannot find firmware: %s\n", |