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