From: Joerg Sonnenberger Date: Thu, 12 Aug 2004 06:42:59 +0000 (+0000) Subject: The EISA attachment of vx does have a softc, export it's size correctly. X-Git-Tag: v2.0.1~10541 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/624179bbe2696ed43a6ff96e8ef50bc882dffa9e The EISA attachment of vx does have a softc, export it's size correctly. Obtained-from: FreeBSD --- diff --git a/sys/dev/netif/vx/if_vx_eisa.c b/sys/dev/netif/vx/if_vx_eisa.c index e5c2d96cec..fc118d107d 100644 --- a/sys/dev/netif/vx/if_vx_eisa.c +++ b/sys/dev/netif/vx/if_vx_eisa.c @@ -27,7 +27,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/vx/if_vx_eisa.c,v 1.14 2000/01/29 14:50:31 peter Exp $ - * $DragonFly: src/sys/dev/netif/vx/if_vx_eisa.c,v 1.6 2003/12/07 19:23:40 dillon Exp $ + * $DragonFly: src/sys/dev/netif/vx/if_vx_eisa.c,v 1.7 2004/08/12 06:42:59 joerg Exp $ */ #include @@ -188,7 +188,7 @@ static device_method_t vx_eisa_methods[] = { static driver_t vx_eisa_driver = { "vx", vx_eisa_methods, - 1, /* unused */ + sizeof(struct vx_softc) }; static devclass_t vx_devclass;