]> Joshua Wise's Git repositories - netwatch.git/blobdiff - net/net.c
Open up TSEG so we can blast more packets out. Be a little less verbose.
[netwatch.git] / net / net.c
index 04eaff5f5c75b521d3f43444511553eb00524f28..01b4521cddcb523b572900c435c9e2d5552cb0c5 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -33,9 +33,7 @@ void eth_poll()
                case 4: test[i] = 'L'; break;
                }
        }
-       outputf("eth_poll: Attempting to tx");
        _nic->transmit("\x00\x03\x93\x87\x84\x8C", 0x1337, 1024, test);
-       outputf("eth_poll: tx complete");
 }
 
 int eth_register(struct nic *nic)
@@ -48,6 +46,7 @@ int eth_register(struct nic *nic)
 
 void eth_init()
 {
-       if (pci_probe_driver(a3c90x_driver))
-               outputf("found 3c90x, hopefully!");
+       /* Required for DMA to work. :( */
+       smram_tseg_set_state(SMRAM_TSEG_OPEN);
+       pci_probe_driver(a3c90x_driver);
 }
This page took 0.026151 seconds and 4 git commands to generate.