Hi,

seems Dell is using a previously unknown revision of that chip in their Mini 10v (1010) netbooks, so here's a patch to add support for that revision. This probably should also/instead go to FreeBSD kernel. I've built a pfSense iso with this patch and it now recognizes the re0 interface and works fine while previously it'd return a "re0: Unknown H/W revision: 0x24c00000".

re0: <RealTek 8101E/8102E/8102EL PCIe 10/100baseTX> port 0x2000-0x20ff mem 0xf0510000-0xf0510fff,0xf0500000-0xf050ffff irq 18 at device 0.0 on pci4
re0: Using 1 MSI messages
re0: Chip rev. 0x24800000
re0: MAC rev. 0x00400000


--- sys/pci/if_rlreg.h.orig     2009-07-24 11:28:44.000000000 +0100
+++ sys/pci/if_rlreg.h  2009-07-24 11:52:05.000000000 +0100
@@ -159,6 +159,7 @@
 #define RL_HWREV_8169_8110SB   0x10000000
 #define RL_HWREV_8169_8110SC   0x18000000
 #define RL_HWREV_8102EL                0x24800000
+#define RL_HWREV_8102EL_DELL   0x24C00000
 #define RL_HWREV_8168D         0x28000000
 #define RL_HWREV_8168_SPIN1    0x30000000
 #define RL_HWREV_8100E         0x30800000
--- sys/dev/re/if_re.c.orig     2009-07-24 11:52:24.000000000 +0100
+++ sys/dev/re/if_re.c  2009-07-24 11:53:08.000000000 +0100
@@ -211,6 +211,7 @@
        { RL_HWREV_8101E, RL_8169, "8101E"},
        { RL_HWREV_8102E, RL_8169, "8102E"},
        { RL_HWREV_8102EL, RL_8169, "8102EL"},
+       { RL_HWREV_8102EL_DELL, RL_8169, "8102EL Dell"},
        { RL_HWREV_8168_SPIN2, RL_8169, "8168"},
        { RL_HWREV_8168_SPIN3, RL_8169, "8168"},
        { RL_HWREV_8168C, RL_8169, "8168C/8111C"},
@@ -1261,6 +1262,7 @@
                break;
        case RL_HWREV_8102E:
        case RL_HWREV_8102EL:
+       case RL_HWREV_8102EL_DELL:
                sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_PHYWAKE |
                    RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT |
RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD;


--
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error, please let us know by replying to the
sender, and immediately delete this email from your system.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to