Re: NFS in 2.4.8/9ac

Thomas Dodd (ted@cypress.com)
Thu, 30 Aug 2001 16:19:22 -0500


Alan Cox wrote:
>>2.4.7-ac10 worked fine.2.4.8-ac8 through 2.4.9-ac3
>>have trouble. I have not tested 2.4.8-ac[1..7] yet.
>>
>
> Ok can you transplant drivers/net/tulip from a working -ac into the
> current tree and see if that fixes it - that tells us if its a network
> driver bug or a kernel core bug.
this is the only diff I find in the tulip directory.
(2.4.8 and 2.4.9 have no diff)

--- linux-2.4.7-ac10/drivers/net/tulip/tulip_core.c
+++ linux-2.4.9-ac3/drivers/net/tulip/tulip_core.c
@@ -1409,6 +1409,10 @@
if (chip_idx == LC82C168)
csr0 &= ~0xfff10000; /* zero reserved bits 31:20, 16 */

+ /* DM9102A has troubles with MRM, clear bit 24 too. */
+ if (pdev->vendor == 0x1282 && pdev->device == 0x9102)
+ csr0 &= ~0x01200000;
+
/*
* And back to business
*/
@@ -1751,9 +1755,9 @@
kfree (tp->mtable);
#ifndef USE_IO_OPS
iounmap((void *)ioaddr);
-#endif

err_out_free_res:
+#endif
pci_release_regions (pdev);

err_out_free_netdev:

---------
the second hunk could be a problem.
I'll try moving the endif back tomorrow.

-Thomas

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/