From 949836a663eb652702fee79fd44b9c3f6863f920 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 20 Jul 2017 10:24:27 +0200 Subject: added a virtual network driver interface, made the dummy RTL8139 driver a specialization of it (nothing is functional there yet) --- src/drivers/net/rtl8139.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers/net/rtl8139.h') diff --git a/src/drivers/net/rtl8139.h b/src/drivers/net/rtl8139.h index 1bb899c..a255d65 100644 --- a/src/drivers/net/rtl8139.h +++ b/src/drivers/net/rtl8139.h @@ -1,14 +1,14 @@ #ifndef RTL8139_H #define RTL8139_H -#include "driver.h" +#include "network.h" typedef struct { - driver_t base; + network_t base; } rtl8139_t; typedef struct { - driver_vtable_t base; + network_vtable_t base; } rtl8139_vtable_t; void rtl8139_init( rtl8139_t *rtl8139, interrupt_t *interrupt, void *context ); -- cgit v1.2.3-54-g00ecf