OBJS=counter.o firstrun.o ../pci/pci-raw.o ../lib/minilib.o ../lib/console.o \
../ich2/smram-ich2.o ../ich2/smi.o vga-overlay.o packet.o ../lib/sprintf.o \
- ../lib/doprnt.o ../pci/pci.o 3c905.o ../ich2/ich2-timer.o
+ ../lib/doprnt.o ../pci/pci.o ../net/net.o ../ich2/ich2-timer.o
all: aseg.elf
#include <video_defines.h>
#include <minilib.h>
#include <smi.h>
-#include "3c905.h"
+#include "../net/net.h"
#include "vga-overlay.h"
#include "packet.h"
#include <output.h>
#include "vga-overlay.h"
#include <smram.h>
-#include "3c905.h"
+#include "../net/net.h"
extern int _bss, _bssend;
***/
static int a3c90x_probe(struct pci_dev * pci, void * data)
{
- struct nic *nic = (struct nic *)data;
INF_3C90X.is3c556 = (pci->did == 0x6055);
int i, c;
#include <pci.h>
#include <output.h>
-#include "3c905.h"
+#include "net.h"
static int found = 0, _bus, _dev, _fn;
+struct nic nic;
+
static int bother_3c905(pci_dev_t *dev, void *nutrinus)
{
if (dev->vid == 0x10B7 || dev->did == 0x9200)
#ifndef _3C905_H
#define _3C905_H
+#include "etherboot-compat.h"
+
extern void eth_init();
extern void eth_poll();