From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 26 16:50:10 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37B7B16A408 for ; Mon, 26 Mar 2007 16:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id AACE913C483 for ; Mon, 26 Mar 2007 16:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2QGo9YL003942 for ; Mon, 26 Mar 2007 16:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2QGo959003941; Mon, 26 Mar 2007 16:50:09 GMT (envelope-from gnats) Date: Mon, 26 Mar 2007 16:50:09 GMT Message-Id: <200703261650.l2QGo959003941@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: linimon@lonesome.com (Mark Linimon) Cc: Subject: Re: kern/110804: re driver doesn't properly support RTL8110SC X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 16:50:10 -0000 The following reply was made to PR kern/110804; it has been noted by GNATS. From: linimon@lonesome.com (Mark Linimon) To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/110804: re driver doesn't properly support RTL8110SC Date: Mon, 26 Mar 2007 11:43:56 -0500 Forwarded from email to freebsd-bugs. On Mon, Mar 26, 2007 at 01:52:18PM +0200, Daan Vreeken [PA4DAN] wrote: > > I stumbled upon this two weeks ago while setting up a new (mini-ITX) server > for my company. The attached patch adds the correct ID's for the Realtek > chips on the Jetway triple-gigabit expansion card. > After patching the kernel all three devices are properly detected and work > like a charm. > > This tiny patch was sponsoren by : Vitsch Electronics > > pciconf, dmesg or any other information is available upon request. > > grtz, > -- > Daan > --- if_re.c~ Mon Jan 1 02:07:02 2007 > +++ if_re.c Mon Jan 1 02:11:38 2007 > @@ -182,6 +182,8 @@ > "RealTek 8169S Single-chip Gigabit Ethernet" }, > { RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169_8110SB, > "RealTek 8169SB/8110SB Single-chip Gigabit Ethernet" }, > + { RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169_8110SC, > + "RealTek 8169SC/8110SC Single-chip Gigabit Ethernet" }, > { RT_VENDORID, RT_DEVICEID_8169SC, RL_HWREV_8169_8110SC, > "RealTek 8169SC/8110SC Single-chip Gigabit Ethernet" }, > { RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8110S, > @@ -1219,7 +1221,9 @@ > * Allocate the parent bus DMA tag appropriate for PCI. > */ > #define RL_NSEG_NEW 32 > - error = bus_dma_tag_create(bus_get_dma_tag(dev), 1, 0, > +// DAAN Daan daan !! > +// error = bus_dma_tag_create(bus_get_dma_tag(dev), 1, 0, > + error = bus_dma_tag_create(NULL, 1, 0, > BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL, > MAXBSIZE, RL_NSEG_NEW, BUS_SPACE_MAXSIZE_32BIT, 0, > NULL, NULL, &sc->rl_parent_tag);