Date: Fri, 06 Oct 2006 12:28:06 -0400 From: Tim Allender <freebsd-net@goldenpath.org> To: freebsd-net@freebsd.org Subject: Re: D-Link DGE-530T Message-ID: <45268416.9000307@goldenpath.org> In-Reply-To: <20061003152034.GQ1491@codelabs.ru> References: <4520695C.9060302@goldenpath.org> <20061002125254.GC25883@codelabs.ru> <4522655B.90507@goldenpath.org> <20061003134415.GP1491@codelabs.ru> <45227AD4.8060506@goldenpath.org> <20061003152034.GQ1491@codelabs.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Eygene Ryabinkin wrote: >> I'm eyeing these lines from dmesg suspiciously: >> pci0: <display, VGA> at device 8.0 (no driver attached) >> pci0: <network, ethernet> at device 9.0 (no driver attached) >> > The last one is your NIC. > > >> I'm posting the entire results you requested below. >> > <...cleared all but relevant lines...> > >> # uname -r >> 6.1-RELEASE >> >> # pciconf -lv >> none1@pci0:9:0: class=0x020000 card=0x4b011186 chip=0x4b011186 rev=0x11 >> hdr=0x00 >> vendor = 'D-Link System Inc' >> class = network >> subclass = ethernet >> > This is the so-called revision-B1 chip, it is newer than the A1 that > is included to the 6.1-RELEASE. > > So you have two routes: > 1) upgrade to the RELENG-6 (currently it is 6.2-PRERELEASE), > or > 2) apply the patch given in the PR99903, > http://www.freebsd.org/cgi/query-pr.cgi?pr=99903 > > The latter patch is very simple, so probably it is the simplest thing > to do: it just adds the new PCI-ID for the chip, chip description and > 4 extra lines of code. Do you need directions how to apply the patch > or how to upgrade to RELENG-6? > Using that information, I've done the patch by hand to the files: /usr/src/sys/pci/if_sk.c /usr/src/sys/pci/if_skreg.h My previously attached "patch files" were just a diff between those and my backups of the original files. I rebuilt the kernel as follows: # make buildkernel KERNCONF=GENERIC # make installkernel KERNCONF=GENERIC Upon reboot, dmesg gives me this: skc0: <D-Link DGE-530T Gigabit Ethernet> port 0xdc00-0xdcff mem 0xdefec000-0xdefeffff irq 11 at device 9.0 on pci0 skc0: unknown media type: 0x31 device_attach: skc0 attach returned 6 # ifconfig skc0 ifconfig: interface skc0 does not exist I guess I'll try cvsuping and doing it again.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45268416.9000307>