[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46961: Please support BCM57762 Ethernet arapter (Apple's ThunderboltEthernet Adapter)
The following reply was made to PR kern/46961; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
Cc: kern-bug-people%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/46961: Please support BCM57762 Ethernet arapter (Apple's
Date: Sun, 16 Sep 2012 19:51:45 +0900
> Doesn't your 57762 work without this (ETHER_MAX_DIX_LEN << 2) change?
> OpenBSD log says it was taken from Linux driver,
> but probably we should check specification of the
> BGE_RX_STD_RCB_MAXLEN_FLAGS register...
Okay, there is a Programmer's Guide of 57765/57762 in
Broadcom's "Ethernet NIC Open Source Developer Resources" page:
It says bits 15:2 in the "Receive Producer Length/Flags Register"
means "Maximum Ethernet Frame Length" and the description also says
"specifies the maximum size of an Ethernet frame plus VLAN tag"
>> rcb->bge_maxlen_flags = (BGE_RCB_MAXLEN_FLAGS(512,
>> ((ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN) << 2));
is enough, rather than indroducing unknown ETHER_MAX_DIX_LEN.
Main Index |
Thread Index |