DragonFly users List (threaded) for 2007-08
DragonFly BSD
DragonFly users List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: RealTek 8168B/8111B, new revision

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 9 Aug 2007 20:47:19 -0700 (PDT)

:Device ID is the same as for previous revisions; only revision has
:changed to 0x38400000. According to grep, there aren't any quirks
:specific to this revision; it's handled just like what in NetBSD
:is called SPIN2, so I suppose it could work by adding the above
:revision code (or whatever such data is called) to the list of
:supported revisions in DF-re(4). In case it's not possible to
:cross-build DF so far, I would have to ask for a precompiled kernel
:(or kernel module? That's not so common in NetBSD world.) patched
:accordingly, I'm afraid.
:Dennis den Brok

    Ok, I constructed a patch.  I guess if you need an ISO the best
    thing for me to do is to commit it and for you to pick up a daily
    snapshot of Devel tomorrow or the day after.  I'm not sure how long
    it takes for changes to propogate to the daily devel snapshots.

    Another alternative that might work for playing around would be to
    get your box to boot from a USB hard drive and install DragonFly on
    that.  Newer BIOSes/machines can typically boot from USB hard drives.
    It might take some playing around and you have to be careful not to
    mess up your hard drive, though.

					Matthew Dillon 

Index: if_re.c
RCS file: /cvs/src/sys/dev/netif/re/if_re.c,v
retrieving revision 1.33
diff -u -p -r1.33 if_re.c
--- if_re.c	26 Jun 2007 07:47:28 -0000	1.33
+++ if_re.c	10 Aug 2007 03:42:06 -0000
 		"RealTek 8168/8111B PCIe Gigabit Ethernet" },
 		"RealTek 8168/8111B PCIe Gigabit Ethernet" },
+		"RealTek 8168B/8111B PCIe Gigabit Ethernet" },
 		"RealTek 8169 Gigabit Ethernet" },
@@ -193,6 +195,7 @@ 
 	{ RE_HWREV_8139CPLUS,	RE_8139CPLUS,	RE_F_HASMPC,	"C+" },
 	{ RE_HWREV_8168_SPIN1,	RE_8169,	RE_F_PCIE,	"8168" },
 	{ RE_HWREV_8168_SPIN2,	RE_8169,	RE_F_PCIE,	"8168" },
+	{ RE_HWREV_8168_SPIN3,	RE_8169,	RE_F_PCIE,	"8168" },
 	{ RE_HWREV_8169,	RE_8169,	RE_F_HASMPC,	"8169" },
 	{ RE_HWREV_8169S,	RE_8169,	RE_F_HASMPC,	"8169S" },
 	{ RE_HWREV_8110S,	RE_8169,	RE_F_HASMPC,	"8110S" },
Index: if_rereg.h
RCS file: /cvs/src/sys/dev/netif/re/if_rereg.h,v
retrieving revision 1.7
diff -u -p -r1.7 if_rereg.h
--- if_rereg.h	14 Nov 2006 13:35:49 -0000	1.7
+++ if_rereg.h	10 Aug 2007 03:41:15 -0000
@@ -148,6 +148,7 @@ #define RE_HWREV_8168_SPIN1	0x30000000
 #define RE_HWREV_8100E		0x30800000
 #define RE_HWREV_8101E		0x34000000
 #define RE_HWREV_8168_SPIN2	0x38000000
+#define RE_HWREV_8168_SPIN3	0x38400000
 #define RE_HWREV_8139CPLUS	0x74800000
 #define RE_TXDMA_16BYTES	0x00000000

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]