Skip to contentSkip to conversation

2.4 <--> 2.6 request_firmware() compatibility ?

DISCUSSION Giuliano Pochini 2 participants 2 messages Nov 17, 2004

lore
Share & tools
lore
#0 lore raw

request_firmware() and struct pci_dev of linux 2.6 are not compatible with linux 2.4. Are there compatible wrappers of have I to write another bunch of ifdef's and macros in the driver ?

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

#1 lore raw

At Wed, 17 Nov 2004 10:55:02 +0100 (CET),

Quoted 5 lines · Giuliano Pochini

request_firmware() and struct pci_dev of linux 2.6 are not compatible with linux 2.4. Are there compatible wrappers of have I to write another bunch of ifdef's and macros in the driver ?

No compatible wrapper since there is no struct device in 2.4. ifdef (and a patch for the codes in alsa-kernel) would be the easiet solution, I think. If you create a center caller of request_firmware, you need only one ifdef :)

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8