Make the IPKDB code compile.
This commit is contained in:
parent
4096a1c345
commit
2f04b55c8c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: dp8390.c,v 1.61 2006/11/16 01:32:51 christos Exp $ */
|
||||
/* $NetBSD: dp8390.c,v 1.62 2007/01/13 19:46:21 cube Exp $ */
|
||||
|
||||
/*
|
||||
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
|
||||
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: dp8390.c,v 1.61 2006/11/16 01:32:51 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dp8390.c,v 1.62 2007/01/13 19:46:21 cube Exp $");
|
||||
|
||||
#include "opt_ipkdb.h"
|
||||
#include "opt_inet.h"
|
||||
|
@ -1577,7 +1577,7 @@ dp8390_ipkdb_send(kip, buf, l)
|
|||
|
||||
mb.m_next = NULL;
|
||||
mb.m_pkthdr.len = mb.m_len = l;
|
||||
mtod(&mb, u_char *) = buf;
|
||||
mb.m_data = buf;
|
||||
mb.m_flags = M_EXT | M_PKTHDR;
|
||||
mb.m_type = MT_DATA;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ne2000.c,v 1.52 2006/11/16 01:32:52 christos Exp $ */
|
||||
/* $NetBSD: ne2000.c,v 1.53 2007/01/13 19:46:21 cube Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -55,7 +55,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ne2000.c,v 1.52 2006/11/16 01:32:52 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ne2000.c,v 1.53 2007/01/13 19:46:21 cube Exp $");
|
||||
|
||||
#include "opt_ipkdb.h"
|
||||
|
||||
|
@ -896,6 +896,9 @@ ne2000_ipkdb_attach(kip)
|
|||
dp->mem_start = dp->mem_size = 8192 * 2;
|
||||
kip->name = "ax88190";
|
||||
break;
|
||||
default:
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
|
||||
if (dp8390_ipkdb_attach(kip))
|
||||
|
|
Loading…
Reference in New Issue