Date: Sat, 15 Jan 2000 22:44:48 -0800 (PST) From: Tatsumi Hosokawa <hosokawa@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard cardinfo.h pccard.c src/usr.sbin/pccard/pccardd cardd.c Message-ID: <200001160644.WAA94268@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
hosokawa 2000/01/15 22:44:48 PST
Modified files:
sys/pccard cardinfo.h pccard.c
usr.sbin/pccard/pccardd cardd.c
Log:
This fixes a bug that /etc/pccard_ether did not work without DHCP.
For example, when /etc/pccard.conf had ed0 in config line, but kernel
refused this name and said
devclass_alloc_unit: ed0 already exists, using next availale unit
number
Kernel used ed1 as device name and it did not match with config and
insert/remove lines. Fortunately, dhclient was called without args,
and it works, but if we wanted to use static IP address for PC-card,
it did not work.
This modification makes pccardd to execute insert/remove lines with
the true device name that returns from kernel. (Last change to
etc/pccard.conf.sample eliminated all hardwired device name from
insert/remove lines in /etc/pccard.conf)
Revision Changes Path
1.16 +2 -2 src/sys/pccard/cardinfo.h
1.104 +3 -1 src/sys/pccard/pccard.c
1.43 +13 -2 src/usr.sbin/pccard/pccardd/cardd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001160644.WAA94268>
