]> Joshua Wise's Git repositories - netwatch.git/commitdiff
rearrangements
authorJacob Potter <jdpotter@andrew.cmu.edu>
Thu, 2 Oct 2008 23:17:37 +0000 (19:17 -0400)
committerJacob Potter <jdpotter@andrew.cmu.edu>
Thu, 2 Oct 2008 23:17:37 +0000 (19:17 -0400)
aseg/Makefile
aseg/counter.c
aseg/firstrun.c
net/3c90x.c
net/net.c
net/net.h

index 3015bd7a4a48d951ec6e50a11af0f21d5827855e..dfedc2a203cbb0a1e8d8d9f837170bead92858ba 100644 (file)
@@ -3,7 +3,7 @@ CFLAGS=-I../include -I../include/raw -nostdlib -nostdinc -fno-builtin -D__RAW__
 
 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
 
index eaeec525e7ab11b006ba18c826d0726279791f8c..868ec459984ce8069f5f0d5e8ba2b53844cfaf07 100644 (file)
@@ -3,7 +3,7 @@
 #include <video_defines.h>
 #include <minilib.h>
 #include <smi.h>
-#include "3c905.h"
+#include "../net/net.h"
 #include "vga-overlay.h"
 #include "packet.h"
 
index d45bc813336b88bdf28a153c90e1a6b3569fee65..6df8d7da9dee4e38c1c33f870cc659ef972bd5f7 100644 (file)
@@ -5,7 +5,7 @@
 #include <output.h>
 #include "vga-overlay.h"
 #include <smram.h>
-#include "3c905.h"
+#include "../net/net.h"
 
 extern int _bss, _bssend;
 
index e7b95e950a0c2e39b3a081d1ad39b9775feb8257..37fd34d9cce4f4a29a2b0dc56c75ef639d2fba8e 100644 (file)
@@ -689,7 +689,6 @@ void a3c90x_disable(struct dev *dev)
  ***/
 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;
index b89abe2d2b0f56206aa4446121de9099a28d8a0c..7f1932f3ba848d9e119cda80662053a4804b6956 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -1,9 +1,11 @@
 #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)
index 708069b4bc8209a4ea4d1637a1251bf2db2340ff..f10e304ebaf09281464db300219d347acbc22731 100644 (file)
--- a/net/net.h
+++ b/net/net.h
@@ -1,6 +1,8 @@
 #ifndef _3C905_H
 #define _3C905_H
 
+#include "etherboot-compat.h"
+
 extern void eth_init();
 extern void eth_poll();
 
This page took 0.036574 seconds and 4 git commands to generate.