From 6398cf311391af65694520c14dd5fd802fda9806 Mon Sep 17 00:00:00 2001 From: David Greenman Date: Thu, 2 Feb 1995 13:12:18 +0000 Subject: Reapplied all of Stefan's changes. What a mess - the files were modified and moved at the same time. This made it *very* difficult to fix the revision log lossage that happend when the files were moved. SIGH. --- sys/dev/de/if_de.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'sys/dev/de') 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 #include #include +#include +#include #include #include @@ -78,9 +80,9 @@ #include #if NPCI > 0 -#include +#include #endif -#include + #include /* @@ -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 */ -- cgit v1.3