pccardd in 5.3

John Baldwin jhb at FreeBSD.org
Wed Jan 5 21:07:47 GMT 2005


On Saturday 01 January 2005 12:25 pm, Kevin Oberman wrote:
> > Date: Sat, 1 Jan 2005 13:32:28 +0300
> > From: Alex Povolotsky <tarkhil at webmail.sub.ru>
> > Sender: owner-freebsd-mobile at freebsd.org
> >
> > On Fri, 31 Dec 2004 11:38:30 -0500
> >
> > John Baldwin <jhb at 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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-mobile mailing list