Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69795 - >net-wireless/ipw2200-0.8 build fails with >= 2.6.9 mm kernel "too many arguments to function `pci_save_state'
Summary: >net-wireless/ipw2200-0.8 build fails with >= 2.6.9 mm kernel "too many argum...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: http://ipw2200.sourceforge.net/#patches
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 21:57 UTC by William Dillon
Modified: 2004-11-01 22:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
This is the patch for the driver (ipw2200-0.12-pci-fix.patch,705 bytes, patch)
2004-11-01 21:59 UTC, William Dillon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Dillon 2004-11-01 21:57:54 UTC
from http://ipw2200.sourceforge.net/#patches (The ipw2200 sourceforge page)

The signature for the pci_save/restore_state changed in rc4-mm1. Until this change is in mainline, this patch can be applied to the driver to allow it to compile on 2.6.9-rc4-mm1.

Reproducible: Always
Steps to Reproduce:
1.build a system with a 2.6.9 mm kernel
2.attempt to emerge an ipw2200 driver
3.watch it fail

Actual Results:  
/var/tmp/portage/ipw2200-0.12/work/ipw2200-0.12/ipw2200.c:6579: error: too many
arguments to function `pci_save_state'
/var/tmp/portage/ipw2200-0.12/work/ipw2200-0.12/ipw2200.c: In function
`ipw_pci_resume':
/var/tmp/portage/ipw2200-0.12/work/ipw2200-0.12/ipw2200.c:6595: error: too many
arguments to function `pci_restore_state'
make[2]: *** [/var/tmp/portage/ipw2200-0.12/work/ipw2200-0.12/ipw2200.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/ipw2200-0.12/work/ipw2200-0.12] Error 2
make: *** [modules] Error 2

!!! ERROR: net-wireless/ipw2200-0.12 failed.
!!! Function src_compile, Line 93, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Successful build of driver

The ipw2200 sourceforge page has a patch.  It'd be nice if the ebuild could
include the patch if the user is using a 2.6.9-mm kernel.
Comment 1 William Dillon 2004-11-01 21:59:32 UTC
Created attachment 43128 [details, diff]
This is the patch for the driver

For convenince, here is the patch.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2004-11-01 22:30:54 UTC
As has been re-iterated over and over again: We can not and will not support every latest, greatest mm- sources change. We don't have the time, and it's not worth it, as whether those changes will hit mainline is always in question.

Unless you are using a supported kernel like development-sources or gentoo-dev-sources, please don't submit bugs like this. When a change like this hits mainline sources, and a release of ipw2100 or other doesn't follow quickly thereafter, then open a bug. Until then, it's just not feasible.

Sorry.