--- 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/