diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-07-11 00:56:07 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-07-11 00:56:07 +0000 |
commit | ff415e0f87b382005cac0c206656a31494c599ff (patch) | |
tree | 6eee344832ddca29be6d90685c5b55ea2c10df08 /sys/pci/if_wbreg.h | |
parent | 597d0811137d509d1d970dd7a74461c0db396617 (diff) | |
download | FreeBSD-src-ff415e0f87b382005cac0c206656a31494c599ff.zip FreeBSD-src-ff415e0f87b382005cac0c206656a31494c599ff.tar.gz |
Make the Winbond ethernet driver work on FreeBSD/alpha. Also added
bridging support while I was in the area.
Diffstat (limited to 'sys/pci/if_wbreg.h')
-rw-r--r-- | sys/pci/if_wbreg.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/pci/if_wbreg.h b/sys/pci/if_wbreg.h index 85b0b75..38cac55 100644 --- a/sys/pci/if_wbreg.h +++ b/sys/pci/if_wbreg.h @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_wbreg.h,v 1.2 1999/01/16 06:25:59 wpaul Exp $ + * $Id: if_wbreg.h,v 1.3 1999/05/06 15:32:52 wpaul Exp $ */ /* @@ -269,6 +269,7 @@ struct wb_desc { #define WB_RX_LIST_CNT 64 #define WB_TX_LIST_CNT 128 #define WB_MIN_FRAMELEN 60 +#define ETHER_ALIGN 2 /* * A transmit 'super descriptor' is actually WB_MAXFRAGS regular @@ -581,3 +582,8 @@ struct wb_softc { #define PHY_BMSR_LINKSTAT 0x0004 #define PHY_BMSR_JABBER 0x0002 #define PHY_BMSR_EXTENDED 0x0001 + +#ifdef __alpha__ +#undef vtophys +#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va) +#endif |