diff options
author | semenu <semenu@FreeBSD.org> | 1999-05-22 06:10:14 +0000 |
---|---|---|
committer | semenu <semenu@FreeBSD.org> | 1999-05-22 06:10:14 +0000 |
commit | 224728692829c01065d1a8a82b031cf4f1becb57 (patch) | |
tree | 9a1975cbc0b563f6fa3ea6e0e576a39860130514 /sys/dev/tx | |
parent | fa6608381daf558e78b67df7d84c4189c6e34147 (diff) | |
download | FreeBSD-src-224728692829c01065d1a8a82b031cf4f1becb57.zip FreeBSD-src-224728692829c01065d1a8a82b031cf4f1becb57.tar.gz |
Move arpcom structure be the first in softc structure. Needed
for ether_ioctl.
PR: pending/11754
Diffstat (limited to 'sys/dev/tx')
-rw-r--r-- | sys/dev/tx/if_txreg.h | 4 | ||||
-rw-r--r-- | sys/dev/tx/if_txvar.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/tx/if_txreg.h b/sys/dev/tx/if_txreg.h index 9d3f030..5d0d895 100644 --- a/sys/dev/tx/if_txreg.h +++ b/sys/dev/tx/if_txreg.h @@ -1,5 +1,5 @@ /* $OpenBSD: if_txvar.h,v 1.3 1998/10/10 04:30:09 jason Exp $ */ -/* $Id: if_txvar.h,v 1.1 1998/11/01 07:44:33 semenu Exp $ */ +/* $Id: if_txvar.h,v 1.2 1999/03/14 08:30:23 semenu Exp $ */ /*- * Copyright (c) 1997 Semen Ustimenko @@ -323,6 +323,7 @@ struct epic_tx_buffer { /* Driver status structure */ typedef struct { + struct arpcom arpcom; #if defined(__OpenBSD__) struct device sc_dev; void *sc_ih; @@ -338,7 +339,6 @@ typedef struct { #if !defined(EPIC_NOIFMEDIA) struct ifmedia ifmedia; #endif - struct arpcom arpcom; u_int32_t unit; struct epic_rx_buffer rx_buffer[RX_RING_SIZE]; struct epic_tx_buffer tx_buffer[TX_RING_SIZE]; diff --git a/sys/dev/tx/if_txvar.h b/sys/dev/tx/if_txvar.h index 9d3f030..5d0d895 100644 --- a/sys/dev/tx/if_txvar.h +++ b/sys/dev/tx/if_txvar.h @@ -1,5 +1,5 @@ /* $OpenBSD: if_txvar.h,v 1.3 1998/10/10 04:30:09 jason Exp $ */ -/* $Id: if_txvar.h,v 1.1 1998/11/01 07:44:33 semenu Exp $ */ +/* $Id: if_txvar.h,v 1.2 1999/03/14 08:30:23 semenu Exp $ */ /*- * Copyright (c) 1997 Semen Ustimenko @@ -323,6 +323,7 @@ struct epic_tx_buffer { /* Driver status structure */ typedef struct { + struct arpcom arpcom; #if defined(__OpenBSD__) struct device sc_dev; void *sc_ih; @@ -338,7 +339,6 @@ typedef struct { #if !defined(EPIC_NOIFMEDIA) struct ifmedia ifmedia; #endif - struct arpcom arpcom; u_int32_t unit; struct epic_rx_buffer rx_buffer[RX_RING_SIZE]; struct epic_tx_buffer tx_buffer[TX_RING_SIZE]; |