re(4): Add support for the 8105E found in the Acer Aspire One D257.
authorSascha Wildner <saw@online.de>
Sat, 12 May 2012 22:29:53 +0000 (00:29 +0200)
committerSascha Wildner <saw@online.de>
Sat, 12 May 2012 22:53:22 +0000 (00:53 +0200)
Submitted-by: Francis Gudin <fgudin@nerim.net>
share/man/man4/re.4
sys/dev/netif/re/if_re.c
sys/dev/netif/re/if_rereg.h

index e06b781..f25d324 100644 (file)
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $FreeBSD$
-.\" $DragonFly: src/share/man/man4/re.4,v 1.8 2008/10/09 13:45:16 sephe Exp $
 .\"
 .Dd November 2, 2006
 .Dt RE 4
 .Os
 .Sh NAME
 .Nm re
-.Nd "RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter driver"
+.Nd "RealTek 8139C+/8169/816xS/811xS/8101E/8105E PCI/PCIe Ethernet adapter driver"
 .Sh SYNOPSIS
 .Cd "device miibus"
 .Cd "device re"
@@ -210,7 +209,8 @@ it may not work reliably.
 The
 .Nm
 driver supports RealTek RTL8139C+, RTL8169, RTL816xS, RTL811xS,
-and RTL8101E based Fast Ethernet and Gigabit Ethernet adapters including:
+RTL8105E, and RTL8101E based Fast Ethernet and Gigabit Ethernet adapters
+including:
 .Pp
 .Bl -bullet -compact
 .It
index c3656cb..ed306fe 100644 (file)
@@ -269,6 +269,10 @@ static const struct re_hwrev re_hwrevs[] = {
          RE_C_HWCSUM | RE_C_MAC2 | RE_C_AUTOPAD | RE_C_STOP_RXTX |
          RE_C_FASTE },
 
+       { RE_HWREV_8105E,       RE_MACVER_UNKN,         ETHERMTU,
+         RE_C_HWCSUM | RE_C_MAC2 | RE_C_PHYPMGT | RE_C_AUTOPAD |
+         RE_C_STOP_RXTX | RE_C_FASTE },
+
        { RE_HWREV_NULL, 0, 0, 0 }
 };
 
index 11756eb..a962bf0 100644 (file)
@@ -33,7 +33,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/pci/if_rlreg.h,v 1.42 2004/05/24 19:39:23 jhb Exp $
- * $DragonFly: src/sys/dev/netif/re/if_rereg.h,v 1.24 2008/10/19 06:00:24 sephe Exp $
  */
 
 /*
 #define RE_HWREV_8168B2                0x38000000
 #define RE_HWREV_8168C         0x3C000000
 #define RE_HWREV_8168CP                0x3C800000
+#define RE_HWREV_8105E         0x40800000
 #define RE_HWREV_8139CPLUS     0x74800000
 #define RE_HWREV_8169SC2       0x98000000
 #define RE_HWREV_8101E2                0xB4000000