Date: Sat, 06 Sep 2003 03:24:16 -0500 From: Larry Rosenman <ler@lerctr.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-current@freebsd.org Subject: Re: devd *NOT* called on wi0 insert? Message-ID: <4570000.1062836656@lerlaptop.lerctr.org> In-Reply-To: <2740000.1062794477@lerlaptop.iadfw.net> References: <20030905.133003.52134645.imp@bsdimp.com> <3070000.1062790657@lerlaptop.iadfw.net> <3490000.1062792818@lerlaptop.iadfw.net> <20030905.143704.47002598.imp@bsdimp.com> <2740000.1062794477@lerlaptop.iadfw.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
--On Friday, September 05, 2003 15:41:22 -0500 Larry Rosenman
<ler@lerctr.org> wrote:
> Although I'd like to tell it NOT to config the onboard rl0 interface.
>> : >
>> : > Will ifconfig_rl0="NO" do that?
>> : In answer to my own question, the answer is NO.
>> :
>> : So, we still need a way to do that.
>>
>> You can use tell devd.conf to say that all attachemnts to the pci bus
>> do nothing.
> Could I impose on you to give me the magic? I'm confused and want to
> learn.
Again in answer to my own question:
$ diff -c /usr/src/etc/devd.conf /etc/devd.conf
*** /usr/src/etc/devd.conf Thu Aug 21 21:23:04 2003
--- /etc/devd.conf Sat Sep 6 03:16:09 2003
***************
*** 63,68 ****
--- 63,73 ----
action "camcontrol rescan all";
};
+ attach 20 {
+ device-name "rl0";
+ action "echo rl0 config skipped";
+ };
+
# Don't even try to second guess what to do about drivers that don't
# match here. Instead, pass it off to syslog. Commented out for the
# moment, as pnpinfo isn't set in devd yet
However, I still am not impressed with the devd.conf(5) man page. It could
be lots more helpful.
LER
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/WZmxrRNGhTxJvdYRAsYBAJ99kbDUgxjwHc+MOc5SqjIZCAShJACePPNI
f1cHHO3NwOc8KN91ofAx9hE=
=agaE
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4570000.1062836656>
