On Sat, Aug 22, 2015 at 07:21:28PM -0400, Ted Unangst wrote:
> The latest intel nuc (braswell model) has wired and wireless network, but
> neither appear supported.
> 
> The ethernet shows up as:
> re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x15: unknown ASIC (0x5400),
>  msi, address ff:ff:ff:ff:ff:ff
> 
> It seems it can send packets, but not receive. dhclient fails to receive an
> address, but when configured manually my router complains:
> arp info overwritten for 10.3.3.23 by fe:e1:ba:d0:33:56 on cnmac1
> 
> So it is sending something (with a fake mac). Almost there...

Try this:

Index: re.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/re.c,v
retrieving revision 1.179
diff -u -p -r1.179 re.c
--- re.c        24 Jun 2015 09:40:54 -0000      1.179
+++ re.c        23 Aug 2015 03:29:10 -0000
@@ -245,6 +245,7 @@ static const struct re_revision {
        { RL_HWREV_8168F,       "RTL8168F/8111F" },
        { RL_HWREV_8168G,       "RTL8168G/8111G" },
        { RL_HWREV_8168GU,      "RTL8168GU/8111GU" },
+       { RL_HWREV_8168H,       "RTL8168H/8111H" },
        { RL_HWREV_8105E,       "RTL8105E" },
        { RL_HWREV_8105E_SPIN1, "RTL8105E" },
        { RL_HWREV_8168D,       "RTL8168D/8111D" },
@@ -771,6 +772,7 @@ re_attach(struct rl_softc *sc, const cha
                break;
        case RL_HWREV_8168EP:
        case RL_HWREV_8168G:
+       case RL_HWREV_8168H:
        case RL_HWREV_8411B:
                sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR |
                    RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP |
Index: rtl81x9reg.h
===================================================================
RCS file: /cvs/src/sys/dev/ic/rtl81x9reg.h,v
retrieving revision 1.94
diff -u -p -r1.94 rtl81x9reg.h
--- rtl81x9reg.h        9 Apr 2015 02:08:55 -0000       1.94
+++ rtl81x9reg.h        23 Aug 2015 03:24:19 -0000
@@ -202,6 +202,7 @@
 #define RL_HWREV_8168G         0x4c000000
 #define RL_HWREV_8168EP                0x50000000
 #define RL_HWREV_8168GU                0x50800000
+#define RL_HWREV_8168H         0x54000000
 #define RL_HWREV_8411B         0x5c800000      
 #define RL_HWREV_8139          0x60000000
 #define RL_HWREV_8139A         0x70000000

Reply via email to