PR/33761: dieter roelants: NetBSD doesn't recognize a RealTek 8168B nic

This commit is contained in:
christos 2006-06-18 21:32:24 +00:00
parent 50fd338dac
commit 8b28dc1494
3 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtl81x9reg.h,v 1.14 2005/12/25 19:55:40 rpaulo Exp $ */
/* $NetBSD: rtl81x9reg.h,v 1.15 2006/06/18 21:32:24 christos Exp $ */
/*
* Copyright (c) 1997, 1998
@ -160,6 +160,7 @@
#define RTK_HWREV_8139CPLUS 0x74800000
#define RTK_HWREV_8101 0x74c00000
#define RTK_HWREV_8100 0x78800000
#define RTK_HWREV_8168 0x30000000
#define RTK_TXDMA_16BYTES 0x00000000
#define RTK_TXDMA_32BYTES 0x00000100

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_re_pci.c,v 1.12 2005/12/25 19:55:41 rpaulo Exp $ */
/* $NetBSD: if_re_pci.c,v 1.13 2006/06/18 21:32:24 christos Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@ -102,6 +102,8 @@ static void re_pci_attach(struct device *, struct device *, void *);
static const struct rtk_type re_devs[] = {
{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8139, RTK_HWREV_8139CPLUS,
"RealTek 8139C+ 10/100BaseTX" },
{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8168, RTK_HWREV_8168,
"RealTek 8168B/8111B Gigabit Ethernet" },
{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8169,
"RealTek 8169 Gigabit Ethernet" },
{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8169S,
@ -130,6 +132,7 @@ static const struct rtk_hwrev re_hwrevs[] = {
{ RTK_HWREV_8139C, RTK_8139, "C" },
{ RTK_HWREV_8139D, RTK_8139, "8139D/8100B/8100C" },
{ RTK_HWREV_8139CPLUS, RTK_8139CPLUS, "C+"},
{ RTK_HWREV_8168, RTK_8169, "8168B/8111B"},
{ RTK_HWREV_8169, RTK_8169, "8169"},
{ RTK_HWREV_8169S, RTK_8169, "8169S"},
{ RTK_HWREV_8169SB, RTK_8169, "8169SB"},

View File

@ -1,4 +1,4 @@
$NetBSD: pcidevs,v 1.796 2006/06/18 10:33:12 xtraeme Exp $
$NetBSD: pcidevs,v 1.797 2006/06/18 21:32:24 christos Exp $
/*
* Copyright (c) 1995, 1996 Christopher G. Demetriou
@ -2768,6 +2768,7 @@ product REALTEK RT8129 0x8129 8129 10/100 Ethernet
product REALTEK RT8138 0x8138 8138 10/100 Ethernet
product REALTEK RT8139B 0x8138 8139B 10/100 Ethernet
product REALTEK RT8139 0x8139 8139 10/100 Ethernet
product REALTEK RT8168 0x8168 8168 10/100/1000 Ethernet
product REALTEK RT8169 0x8169 8169 10/100/1000 Ethernet
product REALTEK RT8180 0x8180 8180 802.11b