Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2005 16:03:05 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-mobile@FreeBSD.org
Cc:        Alex Povolotsky <tarkhil@webmail.sub.ru>
Subject:   Re: pccardd in 5.3
Message-ID:  <200501051603.06005.jhb@FreeBSD.org>
In-Reply-To: <20050101172544.9BB655D04@ptavv.es.net>
References:  <20050101172544.9BB655D04@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 01 January 2005 12:25 pm, Kevin Oberman wrote:
> > Date: Sat, 1 Jan 2005 13:32:28 +0300
> > From: Alex Povolotsky <tarkhil@webmail.sub.ru>
> > Sender: owner-freebsd-mobile@freebsd.org
> >
> > On Fri, 31 Dec 2004 11:38:30 -0500
> >
> > John Baldwin <jhb@FreeBSD.org> wrote:
> > > Is your network card already working?  (That is, does it probe and
> > > attach when you plug it in?)  If so, you don't need to use pccardd. 
> > > FreeBSD 5.x uses a completely different driver for all of the pccard
> > > stuff that supports most laptops.  Only some older non-cardbus laptops
> > > need the OLDCARD stuff that uses pccardd IIRC.
> >
> > Okay, thanks; but how can I automatically run ifconfig when I attach a
> > card?
>
> This is now handled by devd. See /etc/devd.conf for the attach and
> detach. Basically, it calls pccard_ether to startx the device and that
> does most of the work. Added, custom setup comes from start_if.int, just
> as is done in V4.

And devd should already be setup by default to setup your interface out of the 
box as long as you add an ifconfig_foo0 line to /etc/rc.conf.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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