Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 22:57:40 -0700 (PDT)
From:      Nomad Esst <noname.esst@yahoo.com>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>
Subject:   Re: Changing igb to foo in if_igb.c
Message-ID:  <1382939860.198.YahooMailNeo@web162706.mail.bf1.yahoo.com>
In-Reply-To: <20131027121300.GD58155@funkthat.com>
References:  <1382869003.10661.YahooMailBasic@web162706.mail.bf1.yahoo.com> <20131027121300.GD58155@funkthat.com>

index | next in thread | previous in thread | raw e-mail

>Why don't you use ifconfig igb0 name foo0 to do that?
>
>You can use rc.conf's ifconfig_igb0_name="foo0" to do that >automaticly
>on boot everytime.
>
>-- 
>John-Mark Gurney                Voice: +1 415 225 5579


Thank you. Because of two reasons, first I'm studying how to writing device drivers for FreeBSD and doing something like "Changing igb to foo in if_igb.c" could be very useful, second I want to change this name every where e.g. sysctl. Besides that doing this in rc.conf causes an extra boot time, and we are trying to decrease boot time. Please help about doing this job ...

From owner-freebsd-drivers@FreeBSD.ORG  Mon Oct 28 14:32:12 2013
Return-Path: <owner-freebsd-drivers@FreeBSD.ORG>
Delivered-To: freebsd-drivers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTP id B4EAFF56
 for <freebsd-drivers@freebsd.org>; Mon, 28 Oct 2013 14:32:12 +0000 (UTC)
 (envelope-from soumendraganguly@gmail.com)
Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com
 [IPv6:2a00:1450:400c:c05::22f])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 552702380
 for <freebsd-drivers@freebsd.org>; Mon, 28 Oct 2013 14:32:12 +0000 (UTC)
Received: by mail-wi0-f175.google.com with SMTP id hm4so3931755wib.14
 for <freebsd-drivers@freebsd.org>; Mon, 28 Oct 2013 07:32:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s 120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=9JPgW/lQmJ8O3K0pH1p4jAjn38LwXiBmxz66EFsQWZ8=;
 b=pJ7Orf7nY84gsWXUaCy4xbnGSM2fAfKdIU4Q8bxfcZxVkKgoW+5FudprEJNShs58DB
 ku+QZOVXhOR8swAX9pkXx/MgLTatwuegQhnzy0FiW/rZRQ3VX/IAG2z/bY4fl5BTrGND
 eFTwINE5dXEvVZuw5hnSAfktUsgVsBfh+k6kKJKIxGE/tcaYKmBuPo8aA8iOkTNQglU1
 4Vt8ZmaGWm/2QKc+j1nUTLrc7Tr4Cx2m8Ej4ilr07/yVfkMUD/jufUdVlYWpKMYQnkbz
 kIvhpgnAznTdX3QfDGm7izg9AhMS2bppJJ5Bz69QBjYX+HQqRK6+F82jrj9bnUcG7cZT
 GmXQ=MIME-Version: 1.0
X-Received: by 10.194.200.100 with SMTP id jr4mr2325492wjc.37.1382970730719;
 Mon, 28 Oct 2013 07:32:10 -0700 (PDT)
Received: by 10.216.245.73 with HTTP; Mon, 28 Oct 2013 07:32:10 -0700 (PDT)
Date: Mon, 28 Oct 2013 20:02:10 +0530
Message-ID: <CAOW54GWPPYEnxaqXtYJ5HoZ25Bj-KWqXSFENcbD0bpMm3teXLQ@mail.gmail.com>
Subject: Drivers for my PC
From: Soumendra Ganguly <soumendraganguly@gmail.com>
To: freebsd-drivers <freebsd-drivers@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1
X-BeenThere: freebsd-drivers@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Writing device drivers for FreeBSD <freebsd-drivers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-drivers>,
 <mailto:freebsd-drivers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-drivers>;
List-Post: <mailto:freebsd-drivers@freebsd.org>
List-Help: <mailto:freebsd-drivers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-drivers>,
 <mailto:freebsd-drivers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Oct 2013 14:32:12 -0000

Dear driver developers,
                                 I recently bought a notebook (hp
pavilion 15-e006tu) which came with FreeDOS. I installed FreeBSD 9.2
(amd64) on it (using dvd1.iso *), removing FreeDOS and later noticed
that the Wi-Fi is not working. Then I checked the list of hardwares
supported by FreeBSD 9.2 (which I should have done prior to installing
the OS) and found out that some of the components of my PC are not in
the list. For example the Wi-Fi adapter (RalinkTech VQF-RT3290), the
Bluetooth adapter (same model name as the Wi-Fi adapter, Ralink
VQF-RT3290), and I do not even know if the Ethernet interface is
supported. Later I realized that since the Wi-Fi adapter is not
recognized, the FreeBSD installation said something like - 'no
configurable NIC found' (or something similar, I hope you know what I
mean). I really want to use FreeBSD. My other computer has Windows and
Ubuntu on it. I want to port some of my code to FreeBSD. What to do?
Please help! I do not know how to write drivers (I would love to be
able to though) ! Help, please!

* I converted the iso to a usb installation medium to install FreeBSD.
I have created an image of the flash drive using dd(1) on ubuntu and
saved it to my external hard drive for future use.

Thank you. I will be really grateful if someone helps.


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1382939860.198.YahooMailNeo>