]> Joshua Wise's Git repositories - netwatch.git/blame - net/net.c
changes to make it compile
[netwatch.git] / net / net.c
CommitLineData
3b3161a1 1#include <pci.h>
4d898e0b 2#include <pci-bother.h>
3b3161a1 3#include <output.h>
4d898e0b 4#include "net.h"
3b3161a1 5
3e6d6106
JP
6struct nic nic;
7
e9d467b3 8static int bother_3c905(pci_dev_t *dev, void *nutrinus)
3b3161a1
JW
9{
10 if (dev->vid == 0x10B7 || dev->did == 0x9200)
11 {
12 outputf("Found a 3c905 to bother");
13
4d898e0b 14 pci_bother_add(dev);
3b3161a1
JW
15 return 1;
16 }
17 return 0;
18}
19
20void eth_poll()
21{
4d898e0b 22 /* ... */
3b3161a1
JW
23}
24
25void eth_init()
26{
e9d467b3 27 pci_probe(bother_3c905, 0x0);
3b3161a1 28}
This page took 0.029733 seconds and 4 git commands to generate.