"Daniel O'Connor" <[EMAIL PROTECTED]> writes:
> On Tue, 22 Mar 2005 17:30, Andrew Robinson wrote:
> > thanks for the suggestion!  I tried that and it didn't seem to change
> > anything: the relevant output of pciconf -lv is still
> Try if_rl.ko/rl0

No, if_rl will not attach to 8169 cards.

Andrew, it seems you have a chip revision which isn't currently
supported.  Try applying the attached patch, and see if loading
if_re.ko results in something like this:

re_probe(): vid 10ec did 8169 hwrev 00800000

the first two numbers should be exactly as shown, but the last number
should be different; let me know what it is.

DES
-- 
Dag-Erling Sm�rgrav - [EMAIL PROTECTED]

Index: sys/dev/re/if_re.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v
retrieving revision 1.42
diff -u -p -r1.42 if_re.c
--- sys/dev/re/if_re.c	13 Mar 2005 01:54:41 -0000	1.42
+++ sys/dev/re/if_re.c	22 Mar 2005 18:09:34 -0000
@@ -819,6 +819,7 @@ re_probe(dev)
 	t = re_devs;
 	sc = device_get_softc(dev);
 
+	hwrev = 0;
 	while (t->rl_name != NULL) {
 		if ((pci_get_vendor(dev) == t->rl_vid) &&
 		    (pci_get_device(dev) == t->rl_did)) {
@@ -847,6 +848,9 @@ re_probe(dev)
 		}
 		t++;
 	}
+	if (hwrev != 0)
+		printf("%s(): vid %04x did %04x hwrev %08x\n", __func__,
+		    pci_get_vendor(dev), pci_get_device(dev), hwrev);
 
 	return (ENXIO);
 }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to