summaryrefslogtreecommitdiff
path: root/sys/dev/de
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-02-02 13:12:18 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-02-02 13:12:18 +0000
commit6398cf311391af65694520c14dd5fd802fda9806 (patch)
tree8d1b00d546148364ba291540f1d0241cc58fde5e /sys/dev/de
parent77e50733d821b6eaaece214ce20890dda262cf92 (diff)
Notes
Diffstat (limited to 'sys/dev/de')
-rw-r--r--sys/dev/de/if_de.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index 78840277c40e..c7887a23d7da 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_de.c,v 1.13 1994/12/22 23:42:25 davidg Exp $
+ * $Id: if_de.c,v 1.14 1995/02/02 12:36:15 davidg Exp $
*
*/
@@ -46,6 +46,8 @@
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/malloc.h>
+#include <sys/kernel.h>
+#include <machine/clock.h>
#include <net/if.h>
#include <net/if_types.h>
@@ -78,9 +80,9 @@
#include <pci.h>
#if NPCI > 0
-#include <pci/pcireg.h>
+#include <pci/pcivar.h>
#endif
-#include <i386/isa/icu.h>
+
#include <pci/dc21040.h>
/*
@@ -840,6 +842,8 @@ tulip_addr_filter(
}
}
+/*extern void arp_ifinit(struct arpcom *, struct ifaddr*);*/
+
static int
tulip_ioctl(
struct ifnet *ifp,
@@ -1041,12 +1045,15 @@ static char* tulip_pci_probe (pcici_t config_id, pcidi_t device_id);
static void tulip_pci_attach(pcici_t config_id, int unit);
static u_long tulip_count;
-struct pci_driver dedevice = {
+struct pci_device dedevice = {
+ "de",
tulip_pci_probe,
tulip_pci_attach,
&tulip_count,
};
+DATA_SET (pcidevice_set, dedevice);
+
#define PCI_CFID 0x00 /* Configuration ID */
#define PCI_CFCS 0x04 /* Configurtion Command/Status */
#define PCI_CFRV 0x08 /* Configuration Revision */