2 #include <pci-bother.h>
6 static struct nic *_nic = 0x0;
8 extern struct pci_driver a3c90x_driver;
10 static char test[1024] = {0};
25 for (i = 0; i < 1024; i++)
29 case 0: test[i] = 'H'; break;
30 case 1: test[i] = 'A'; break;
31 case 2: test[i] = 'R'; break;
32 case 3: test[i] = 'B'; break;
33 case 4: test[i] = 'L'; break;
36 outputf("eth_poll: Attempting to tx");
37 _nic->transmit("\x00\x03\x93\x87\x84\x8C", 0x1337, 1024, test);
38 outputf("eth_poll: tx complete");
41 int eth_register(struct nic *nic)
51 if (pci_probe_driver(a3c90x_driver))
52 outputf("found 3c90x, hopefully!");