Thread (1 message) 1 message, 1 author, 2004-06-03

Re: [PATCH 6/17 linux-2.6.7-rc2] prism54: Kernel compatibility

From: Margit Schubert-While <hidden>
Date: 2004-06-03 15:31:43

At 16:28 02.06.2004 -0400, you wrote:
Margit Schubert-While wrote:
quoted
At 16:03 02.06.2004 -0400, you wrote:
quoted
Margit Schubert-While wrote:
quoted
2004-03-20      Margit Schubert-While [off-list ref]
* isl_38xx.[ch], isl_ioctl.c, islpci_dev.[ch], islpci_eth.c
  islpci_hotplug.c, islpci_mgt.[ch], oid_mgt.c, prismcompat.h:
  Adopt new prism54 kernel compatibility.
  Remove remaining kernel version ifdefs.

quoted
@@ -325,11 +320,7 @@
        printk(KERN_DEBUG "%s: uploading firmware...\n", 
priv->ndev->name);

        rc = isl38xx_upload_firmware(priv->firmware,
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,75))
-               &priv->pdev->dev,
-#else
-               pci_name(priv->pdev),
-#endif

Rejected, both 2.4 and 2.6 should use pci_name() directly in the code

Please resend patches 6 through 17, after fixing patches 6, 12, and 14.

        Jeff
Absolutely not !
Parameter for 2.4 = char *, param for for 2.6 = struct dev *
LOL
Margit
[jgarzik@sata repo]$ grep -w pci_name linux-2.[46]/include/linux/pci.h
linux-2.4/include/linux/pci.h:static inline char *pci_name(struct pci_dev 
*pdev)
linux-2.6/include/linux/pci.h:static inline char *pci_name(struct pci_dev 
*pdev)
I was not talking about pci_name, I was talking about the 3rd param to
request_firmware which is char * in 2.4, struct dev * in 2.6.
Patch 16 cleans this area up.
If it makes it easier, I can put together patches 5 and 16. Your call.

Errm, what's wrong with patches 12 and 14 ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help