summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1997-09-02 16:44:46 +0000
committerjhay <jhay@FreeBSD.org>1997-09-02 16:44:46 +0000
commitd1e9a240d37061d6bca1ef68d2d4afebea07b12f (patch)
tree6aeb93d36e303baca4f028c8402330201d9cf3a6 /sys/dev/vx
parentdcbdb06f71e3affdc57adb09afa6fe7115923d56 (diff)
downloadFreeBSD-src-d1e9a240d37061d6bca1ef68d2d4afebea07b12f.zip
FreeBSD-src-d1e9a240d37061d6bca1ef68d2d4afebea07b12f.tar.gz
Struct arpcom should be in the beginning of a softc struct for arp and
ether_ioctl() to work correctly. Tested by: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vxreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vx/if_vxreg.h b/sys/dev/vx/if_vxreg.h
index 89f70c6..4825f6e 100644
--- a/sys/dev/vx/if_vxreg.h
+++ b/sys/dev/vx/if_vxreg.h
@@ -49,8 +49,8 @@
* Ethernet software status per interface.
*/
struct vx_softc {
- int unit; /* unit number */
struct arpcom arpcom; /* Ethernet common part */
+ int unit; /* unit number */
u_int vx_io_addr; /* i/o bus address */
#define MAX_MBS 8 /* # of mbufs we keep around */
struct mbuf *mb[MAX_MBS]; /* spare mbuf storage. */
OpenPOWER on IntegriCloud