From owner-freebsd-current@FreeBSD.ORG Thu May 25 08:23:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC90216A41F; Thu, 25 May 2006 08:23:50 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87ED043D48; Thu, 25 May 2006 08:23:50 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp6-g19.free.fr (Postfix) with ESMTP id 9328C22591; Thu, 25 May 2006 10:23:49 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id k4P8NgHg000964; Thu, 25 May 2006 10:23:44 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Thu, 25 May 2006 10:23:32 +0200 User-Agent: KMail/1.9.1 References: <200605241556.44483.jhb@freebsd.org> In-Reply-To: <200605241556.44483.jhb@freebsd.org> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200605251023.34963.thierry@herbelot.com> Cc: Subject: Re: [PATCH] if_dc cleanups.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 08:23:51 -0000 Le Wednesday 24 May 2006 21:56, John Baldwin a écrit : > I've changed if_dc to use the full 32-bit device ID instead of just the > lower 16-bit device ID in dc_attach() so that it doesn't have to deal with > hacks like the FAKE device and to make it easier to add new device IDs that > have collisions in the future. I've compiled it but have no dc(4) hardware > to test with, so please test. Patch is available at: > > http://www.FreeBSD.org/~jhb/patches/if_dc.patch my dc is still probed and detected with your patch : dc0: <82c169 PNIC 10/100BaseTX> port 0x9400-0x94ff mem 0xd8000000-0xd80000ff irq 19 at device 9.0 on pci0 dc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x9400 miibus0: on dc0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: bpf attached dc0: Ethernet address: 00:02:e3:08:63:af dc0: [MPSAFE] the same dc is currently used to update the -current sources over NFS, without any visible side effects. Thanks TfH