diff options
author | wpaul <wpaul@FreeBSD.org> | 1998-11-18 21:03:58 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1998-11-18 21:03:58 +0000 |
commit | bfffd9b00f78d62bef14b804ae483cdd5f9711bc (patch) | |
tree | 593f0ad688135d7e189d9d421e83420b7e9712fa /sys/pci/if_rlreg.h | |
parent | a160e8a6ea147a23b10f891a41b6ea9ac392d99e (diff) | |
download | FreeBSD-src-bfffd9b00f78d62bef14b804ae483cdd5f9711bc.zip FreeBSD-src-bfffd9b00f78d62bef14b804ae483cdd5f9711bc.tar.gz |
The Accton 1207D adapter uses a chip called the MXP 5030 (or 5038)
which is either a RealTek 8139 in disguise or a RealTek workalike.
This commit fixes the PCI vendor/device ID for this device
and updates the description string to reflect the actual identity
of the device.
I also changed the transmit encapsulation routine to always to
buffer copies on transmit. We end up doing this 99% of the time
anyway. I also tweaked the code that pads packets out to the minimum
length (60) bytes. I was fixing up the m_pkthdr.len value but not
m_len. I don't think this makes that much difference in the grand
scheme of things, but it makes me feel better.
Diffstat (limited to 'sys/pci/if_rlreg.h')
-rw-r--r-- | sys/pci/if_rlreg.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index 45956dd..1825dbc 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.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_rlreg.h,v 1.12 1998/10/07 22:52:34 wpaul Exp $ + * $Id: if_rlreg.h,v 1.13 1998/11/18 20:27:28 wpaul Exp $ */ /* @@ -387,14 +387,22 @@ struct rl_softc { * RealTek PCI vendor ID */ #define RT_VENDORID 0x10EC -#define RT_VENDORID_ALT 0x1211 + +/* + * Accton PCI vendor ID + */ +#define ACCTON_VENDORID 0x1113 /* * RealTek chip device IDs. */ #define RT_DEVICEID_8129 0x8129 #define RT_DEVICEID_8139 0x8139 -#define RT_DEVICEID_8139_ALT 0x1211 + +/* + * Accton MPX 5030/5038 device ID. + */ +#define ACCTON_DEVICEID_5030 0x1211 /* * Texas Instruments PHY identifiers |