From owner-freebsd-stable@FreeBSD.ORG Fri Jun 19 17:45:02 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44E9E106568A for ; Fri, 19 Jun 2009 17:45:02 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207]) by mx1.freebsd.org (Postfix) with ESMTP id ED1568FC1D for ; Fri, 19 Jun 2009 17:45:01 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by gxk3 with SMTP id 3so2730423gxk.19 for ; Fri, 19 Jun 2009 10:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=KJdSNXlq63d0FfEGFshL8LMiYPrZcgLDjCVC/PjbWpI=; b=fDKlnQtdRl5pAlVtyPlASE0zgtUb88Fnm96Wsiuxj7mDPXtSQUatekBPhsMMHqHoxH ytDaljH81Bowxpz8N+WXSKGJ/R0yDFJthWhGWUBWliiQo7HYFBcTE4l8t/a3XTZzk1UK F9v6ak+dkVna1N+XZEyXiq6GUEoGzfYiVsYQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=icZc9z/t7inj8iTg0x0JMm8yj0sW26Dcmaysx2niGxaPxB8lM7UMjer2DTC8m4H8pB 4iXdQcp/TGF+hq65cerKb6ADftFLc9RYPtP3+XU2ccB99XyDAnI9D9KsyfeTzVQ78U3e DxFRUMdEjIHJoAn82Kcu3nE+IML4PM8vp694E= MIME-Version: 1.0 Received: by 10.151.122.9 with SMTP id z9mr6202156ybm.188.1245433501110; Fri, 19 Jun 2009 10:45:01 -0700 (PDT) In-Reply-To: <20090619172429.GA5197@unix.csbsju.edu> References: <20090619172429.GA5197@unix.csbsju.edu> Date: Fri, 19 Jun 2009 10:45:00 -0700 Message-ID: From: Freddie Cash To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: kernel wants the wrong driver for my NIC X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 17:45:02 -0000 On Fri, Jun 19, 2009 at 10:24 AM, Michael Gass wrote: > I'm running 7.2-stable and I replaced an old ISA NIC with > a D-Link DFE-530TX+ card. According to the manual, the > correct driver for this card is rl driver. The kernel > insists on using the vr driver which is for the DFE-530TX. > >From what I can tell, the two cards have different chipsets > and so the drivers are not compatable. > > I can configure the vr driver, but the card does not work > with it - I cannot establish a connection even with ping. > > Is there a way for me to force the kernel to use the rl > driver? I am using a generic kernel, so all the needed > drivers are built-in. > "Simplest" method would be to compile a custom kernel with the rl driver and without the vr driver. Or to build a kernel without any networking drivers, so that they are all built as modules, and then use /boot/loader.conf to load just the if_rl module. One could probably also write a hints line in /boot/loader.conf to tell the vr driver to ignore that specific PCI slot or whatnot, although I've never actually done that. -- Freddie Cash fjwcash@gmail.com